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 11, 2024
1 parent c64351f commit 377bf03
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 377bf03

Please sign in to comment.