Exporting now requires you to re-type the Keyguard password

This commit is contained in:
Artem Chepurnoy 2024-02-27 21:29:45 +02:00
parent 56ff5565dc
commit 6d4dcdc2b7
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 0 additions and 9 deletions

View File

@ -20,10 +20,6 @@ data class ExportRoute(
val args: Args,
) : Route {
companion object {
// TODO: Change it to true after the app stops asking
// biometrics twice.
private const val REQUIRE_ELEVATED_ACCESS = false
fun actionOrNull(
translator: TranslatorScope,
accountId: AccountId,
@ -98,11 +94,6 @@ data class ExportRoute(
intent: NavigationIntent,
navigate: (NavigationIntent) -> Unit,
) {
if (!REQUIRE_ELEVATED_ACCESS) {
navigate(intent)
return
}
val elevatedRoute = registerRouteResultReceiver(
route = ElevatedAccessRoute(),
) { result ->