Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
AccountTab: Show/Hide Account Functionality Added - alpha added
Browse files Browse the repository at this point in the history
  • Loading branch information
shamim-emon committed Nov 4, 2024
1 parent 88a8662 commit 2820e3e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import com.ivy.wallet.ui.theme.findContrastTextColor
import com.ivy.wallet.ui.theme.toComposeColor
import kotlinx.collections.immutable.ImmutableList

@Suppress("ModifierMissing")
@Suppress("ModifierMissing", "MagicNumber")
@SuppressLint("ComposeModifierMissing")
@Composable
fun BoxScope.HideAccountsModal(
Expand Down Expand Up @@ -126,9 +126,9 @@ private fun HideAccountsRow(
onClick: (AccountId, Boolean) -> Unit
) {
val contrastColor = findContrastTextColor(account.color.value.toComposeColor())
val alpha = if(account.isVisible) {
val alpha = if (account.isVisible) {
1.0f
}else {
} else {
0.6f
}
Row(
Expand Down

0 comments on commit 2820e3e

Please sign in to comment.