Explorar el Código

Minor change to string

Vishnu Mohandas hace 4 años
padre
commit
fe2db8a622
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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,