浏览代码

Minor change to string

Vishnu Mohandas 4 年之前
父节点
当前提交
fe2db8a622
共有 1 个文件被更改,包括 3 次插入1 次删除
  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)),
                 Padding(padding: EdgeInsets.all(12)),
                 Text(
                 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,
                   textAlign: TextAlign.center,
                   style: TextStyle(
                   style: TextStyle(
                     height: 1.3,
                     height: 1.3,