Skip to content

Commit

Permalink
Hide the lastUsedAccount unless idle
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Jul 18, 2024
1 parent a13428f commit 43e4093
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ private fun ColumnScope.LoginInput(
isError = state.loginState.isError(),
)

AnimatedVisibility(visible = state.lastUsedAccount != null) {
AnimatedVisibility(visible = state.lastUsedAccount != null && state.loginState is Idle) {
val token = state.lastUsedAccount?.value.orEmpty()
val accountTransformation = remember { accountNumberVisualTransformation() }
val transformedText =
Expand Down

0 comments on commit 43e4093

Please sign in to comment.