From 776a23c256199f80344e34ca9be5af5ec9d8f85a Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Mon, 8 Apr 2024 11:34:33 -0400 Subject: [PATCH] Clearing the secondary button design or the encrypted nsec backup --- .../amethyst/ui/screen/loggedIn/AccountBackupDialog.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountBackupDialog.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountBackupDialog.kt index 5faaeb570..7ce9782aa 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountBackupDialog.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountBackupDialog.kt @@ -312,7 +312,7 @@ private fun EncryptNSecCopyButton( } } - Button( + OutlinedButton( modifier = Modifier.padding(horizontal = 3.dp), onClick = { authenticate( @@ -324,15 +324,10 @@ private fun EncryptNSecCopyButton( ) }, shape = ButtonBorder, - colors = - ButtonDefaults.buttonColors( - containerColor = MaterialTheme.colorScheme.primary, - ), contentPadding = ButtonPadding, enabled = password.value.text.isNotBlank(), ) { Icon( - tint = MaterialTheme.colorScheme.onPrimary, imageVector = Icons.Default.Key, contentDescription = stringResource(R.string.copies_the_nsec_id_your_password_to_the_clipboard_for_backup), @@ -340,7 +335,6 @@ private fun EncryptNSecCopyButton( ) Text( stringResource(id = R.string.encrypt_and_copy_my_secret_key), - color = MaterialTheme.colorScheme.onPrimary, ) } }