瀏覽代碼

changed 2 references to HIde and Show into hide and show

notd5a-alt 3 年之前
父節點
當前提交
838c85c5f2

+ 2 - 2
frontend/app_flowy/lib/user/presentation/sign_in_screen.dart

@@ -168,8 +168,8 @@ class PasswordTextField extends StatelessWidget {
         return RoundedInputField(
           obscureText: true,
           style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
-          obscureIcon: svg("home/Hide"),
-          obscureHideIcon: svg("home/Show"),
+          obscureIcon: svg("home/hide"),
+          obscureHideIcon: svg("home/show"),
           hintText: 'Password',
           normalBorderColor: theme.shader4,
           highlightBorderColor: theme.red,

+ 4 - 4
frontend/app_flowy/lib/user/presentation/sign_up_screen.dart

@@ -132,8 +132,8 @@ class PasswordTextField extends StatelessWidget {
       builder: (context, state) {
         return RoundedInputField(
           obscureText: true,
-          obscureIcon: svg("home/Hide"),
-          obscureHideIcon: svg("home/Show"),
+          obscureIcon: svg("home/hide"),
+          obscureHideIcon: svg("home/show"),
           style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
           hintText: "Password",
           normalBorderColor: theme.shader4,
@@ -160,8 +160,8 @@ class RepeatPasswordTextField extends StatelessWidget {
       builder: (context, state) {
         return RoundedInputField(
           obscureText: true,
-          obscureIcon: svg("home/Hide"),
-          obscureHideIcon: svg("home/Show"),
+          obscureIcon: svg("home/hide"),
+          obscureHideIcon: svg("home/show"),
           style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
           hintText: "Repeate password",
           normalBorderColor: theme.shader4,