only show backup keys if account has a private key

This commit is contained in:
greenart7c3
2023-09-23 12:24:17 -03:00
parent 35c67f692a
commit b3f39434ee

View File

@@ -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(