Parcourir la source

Minor change to string

Vishnu Mohandas il y a 4 ans
Parent
commit
fe2db8a622
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      lib/ui/password_entry_page.dart

+ 3 - 1
lib/ui/password_entry_page.dart

@@ -57,7 +57,9 @@ class _PasswordEntryPageState extends State<PasswordEntryPage> {
                 // ),
                 Padding(padding: EdgeInsets.all(12)),
                 Text(
-                  "enter a password we can use to encrypt your data",
+                  "enter a" +
+                      (widget.isUpdatePassword ? " new " : " ") +
+                      "password we can use to encrypt your data",
                   textAlign: TextAlign.center,
                   style: TextStyle(
                     height: 1.3,