From 6d4dcdc2b7024bad995599a61ea8be81058aaec7 Mon Sep 17 00:00:00 2001 From: Artem Chepurnoy Date: Tue, 27 Feb 2024 21:29:45 +0200 Subject: [PATCH] Exporting now requires you to re-type the Keyguard password --- .../com/artemchep/keyguard/feature/export/ExportRoute.kt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/export/ExportRoute.kt b/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/export/ExportRoute.kt index d8cf62d..0e59bb0 100644 --- a/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/export/ExportRoute.kt +++ b/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/export/ExportRoute.kt @@ -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 ->