Clearing the secondary button design or the encrypted nsec backup
This commit is contained in:
+1
-7
@@ -312,7 +312,7 @@ private fun EncryptNSecCopyButton(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Button(
|
OutlinedButton(
|
||||||
modifier = Modifier.padding(horizontal = 3.dp),
|
modifier = Modifier.padding(horizontal = 3.dp),
|
||||||
onClick = {
|
onClick = {
|
||||||
authenticate(
|
authenticate(
|
||||||
@@ -324,15 +324,10 @@ private fun EncryptNSecCopyButton(
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
shape = ButtonBorder,
|
shape = ButtonBorder,
|
||||||
colors =
|
|
||||||
ButtonDefaults.buttonColors(
|
|
||||||
containerColor = MaterialTheme.colorScheme.primary,
|
|
||||||
),
|
|
||||||
contentPadding = ButtonPadding,
|
contentPadding = ButtonPadding,
|
||||||
enabled = password.value.text.isNotBlank(),
|
enabled = password.value.text.isNotBlank(),
|
||||||
) {
|
) {
|
||||||
Icon(
|
Icon(
|
||||||
tint = MaterialTheme.colorScheme.onPrimary,
|
|
||||||
imageVector = Icons.Default.Key,
|
imageVector = Icons.Default.Key,
|
||||||
contentDescription =
|
contentDescription =
|
||||||
stringResource(R.string.copies_the_nsec_id_your_password_to_the_clipboard_for_backup),
|
stringResource(R.string.copies_the_nsec_id_your_password_to_the_clipboard_for_backup),
|
||||||
@@ -340,7 +335,6 @@ private fun EncryptNSecCopyButton(
|
|||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
stringResource(id = R.string.encrypt_and_copy_my_secret_key),
|
stringResource(id = R.string.encrypt_and_copy_my_secret_key),
|
||||||
color = MaterialTheme.colorScheme.onPrimary,
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user