mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-19 19:51:55 +02:00
only show backup keys if account has a private key
This commit is contained in:
@@ -508,6 +508,7 @@ fun ListContent(
|
||||
route = Route.BlockedUsers.route
|
||||
)
|
||||
|
||||
accountViewModel.account.keyPair.privKey?.let {
|
||||
IconRow(
|
||||
title = stringResource(R.string.backup_keys),
|
||||
icon = R.drawable.ic_key,
|
||||
@@ -519,6 +520,7 @@ fun ListContent(
|
||||
backupDialogOpen = true
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
val textTorProxy = if (checked) stringResource(R.string.disconnect_from_your_orbot_setup) else stringResource(R.string.connect_via_tor_short)
|
||||
IconRow(
|
||||
|
Reference in New Issue
Block a user