Exporting now requires you to re-type the Keyguard password
This commit is contained in:
parent
56ff5565dc
commit
6d4dcdc2b7
|
@ -20,10 +20,6 @@ data class ExportRoute(
|
||||||
val args: Args,
|
val args: Args,
|
||||||
) : Route {
|
) : Route {
|
||||||
companion object {
|
companion object {
|
||||||
// TODO: Change it to true after the app stops asking
|
|
||||||
// biometrics twice.
|
|
||||||
private const val REQUIRE_ELEVATED_ACCESS = false
|
|
||||||
|
|
||||||
fun actionOrNull(
|
fun actionOrNull(
|
||||||
translator: TranslatorScope,
|
translator: TranslatorScope,
|
||||||
accountId: AccountId,
|
accountId: AccountId,
|
||||||
|
@ -98,11 +94,6 @@ data class ExportRoute(
|
||||||
intent: NavigationIntent,
|
intent: NavigationIntent,
|
||||||
navigate: (NavigationIntent) -> Unit,
|
navigate: (NavigationIntent) -> Unit,
|
||||||
) {
|
) {
|
||||||
if (!REQUIRE_ELEVATED_ACCESS) {
|
|
||||||
navigate(intent)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
val elevatedRoute = registerRouteResultReceiver(
|
val elevatedRoute = registerRouteResultReceiver(
|
||||||
route = ElevatedAccessRoute(),
|
route = ElevatedAccessRoute(),
|
||||||
) { result ->
|
) { result ->
|
||||||
|
|
Loading…
Reference in New Issue