Browse Source

fix: password mask toggle in profile download wizard (#125)

![image](/attachments/540449a1-7f12-4194-881f-21d0787101b8)

Reviewed-on: https://gitea.angry.im/PeterCxy/OpenEUICC/pulls/125
Co-authored-by: septs <github@septs.pw>
Co-committed-by: septs <github@septs.pw>
septs 1 year ago
parent
commit
087c760010
1 changed files with 4 additions and 2 deletions
  1. 4 2
      app-common/src/main/res/layout/fragment_download_details.xml

+ 4 - 2
app-common/src/main/res/layout/fragment_download_details.xml

@@ -43,7 +43,8 @@
             android:id="@+id/profile_download_code"
             android:id="@+id/profile_download_code"
             android:layout_width="0dp"
             android:layout_width="0dp"
             android:layout_height="wrap_content"
             android:layout_height="wrap_content"
-            android:hint="@string/profile_download_code">
+            android:hint="@string/profile_download_code"
+            app:passwordToggleEnabled="true">
 
 
             <com.google.android.material.textfield.TextInputEditText
             <com.google.android.material.textfield.TextInputEditText
                 android:maxLines="1"
                 android:maxLines="1"
@@ -57,7 +58,8 @@
             android:id="@+id/profile_download_confirmation_code"
             android:id="@+id/profile_download_confirmation_code"
             android:layout_width="0dp"
             android:layout_width="0dp"
             android:layout_height="wrap_content"
             android:layout_height="wrap_content"
-            android:hint="@string/profile_download_confirmation_code">
+            android:hint="@string/profile_download_confirmation_code"
+            app:passwordToggleEnabled="true">
 
 
             <com.google.android.material.textfield.TextInputEditText
             <com.google.android.material.textfield.TextInputEditText
                 android:maxLines="1"
                 android:maxLines="1"