Ver Fonte

Lock the password entry screen during reset flow

Vishnu Mohandas há 4 anos atrás
pai
commit
a8e70aa7d4
1 ficheiros alterados com 2 adições e 0 exclusões
  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(
     return Scaffold(
       appBar: AppBar(
       appBar: AppBar(
         title: Text(title),
         title: Text(title),
+        leading:
+            widget.mode == PasswordEntryMode.reset ? Icon(Icons.lock) : null,
       ),
       ),
       body: _getBody(title),
       body: _getBody(title),
       resizeToAvoidBottomInset: false,
       resizeToAvoidBottomInset: false,