Quellcode durchsuchen

Lock the password entry screen during reset flow

Vishnu Mohandas vor 4 Jahren
Ursprung
Commit
a8e70aa7d4
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      lib/ui/password_entry_page.dart

+ 2 - 0
lib/ui/password_entry_page.dart

@@ -52,6 +52,8 @@ class _PasswordEntryPageState extends State<PasswordEntryPage> {
     return Scaffold(
       appBar: AppBar(
         title: Text(title),
+        leading:
+            widget.mode == PasswordEntryMode.reset ? Icon(Icons.lock) : null,
       ),
       body: _getBody(title),
       resizeToAvoidBottomInset: false,