diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/send/SendContent.kt b/app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/send/SendContent.kt index 9baa6b9205f..36bff13307b 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/send/SendContent.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/send/SendContent.kt @@ -21,6 +21,8 @@ import com.x8bit.bitwarden.ui.platform.components.util.rememberVectorPainter import com.x8bit.bitwarden.ui.tools.feature.send.handlers.SendHandlers import kotlinx.collections.immutable.toImmutableList +private const val SEND_TYPES_COUNT: Int = 2 + /** * Content view for the [SendScreen]. */ @@ -48,6 +50,7 @@ fun SendContent( item { BitwardenListHeaderText( label = stringResource(id = R.string.types), + supportingLabel = SEND_TYPES_COUNT.toString(), modifier = Modifier .fillMaxWidth() .padding(horizontal = 16.dp), diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/vault/VaultContent.kt b/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/vault/VaultContent.kt index 54f2859db10..e08d409aeb6 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/vault/VaultContent.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/vault/VaultContent.kt @@ -22,6 +22,9 @@ import com.x8bit.bitwarden.ui.vault.feature.vault.handlers.VaultHandlers import kotlinx.collections.immutable.toImmutableList import kotlinx.collections.immutable.toPersistentList +private const val TOTP_TYPES_COUNT: Int = 1 +private const val TRASH_TYPES_COUNT: Int = 1 + /** * Content view for the [VaultScreen]. */ @@ -41,7 +44,7 @@ fun VaultContent( item { BitwardenListHeaderText( label = stringResource(id = R.string.totp), - supportingLabel = "1", + supportingLabel = TOTP_TYPES_COUNT.toString(), modifier = Modifier .fillMaxWidth() .padding(horizontal = 16.dp), @@ -341,7 +344,7 @@ fun VaultContent( item { BitwardenListHeaderText( label = stringResource(id = R.string.trash), - supportingLabel = "1", + supportingLabel = TRASH_TYPES_COUNT.toString(), modifier = Modifier .fillMaxWidth() .padding(horizontal = 16.dp),