diff --git a/shared/domain/src/main/java/com/ivy/domain/features/IvyFeatures.kt b/shared/domain/src/main/java/com/ivy/domain/features/IvyFeatures.kt index 91ba8d695b..b09f3b9618 100644 --- a/shared/domain/src/main/java/com/ivy/domain/features/IvyFeatures.kt +++ b/shared/domain/src/main/java/com/ivy/domain/features/IvyFeatures.kt @@ -71,7 +71,8 @@ class IvyFeatures @Inject constructor() : Features { key = "show_account_color", group = FeatureGroup.Other, name = "Show Account Color", - description = "Show account specific colors for accounts in transactions " + description = "Show account specific colors for accounts in transactions", + defaultValue = false ) override val allFeatures: List diff --git a/temp/legacy-code/src/main/java/com/ivy/legacy/ui/component/transaction/TransactionCard.kt b/temp/legacy-code/src/main/java/com/ivy/legacy/ui/component/transaction/TransactionCard.kt index d0c46f0cc1..51028297e9 100644 --- a/temp/legacy-code/src/main/java/com/ivy/legacy/ui/component/transaction/TransactionCard.kt +++ b/temp/legacy-code/src/main/java/com/ivy/legacy/ui/component/transaction/TransactionCard.kt @@ -344,14 +344,14 @@ private fun TransactionHeaderRow( ) val accountBackgroundColor = if (shouldShowAccountSpecificColorInTransactions) { - account?.color?.toComposeColor() + account?.color?.toComposeColor() ?: UI.colors.pure } else { UI.colors.pure } TransactionBadge( text = account?.name ?: stringResource(R.string.deleted), - backgroundColor = accountBackgroundColor ?: UI.colors.pure, + backgroundColor = accountBackgroundColor, icon = account?.icon, defaultIcon = R.drawable.ic_custom_account_s ) {