mirror of
				https://github.com/SimpleMobileTools/Simple-File-Manager.git
				synced 2025-06-05 22:09:15 +02:00 
			
		
		
		
	Update password strings on compression dialog
This commit is contained in:
		| @@ -64,7 +64,7 @@ android { | |||||||
| } | } | ||||||
|  |  | ||||||
| dependencies { | dependencies { | ||||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:f54d4f7606' |     implementation 'com.github.esensar:Simple-Commons:enter-password-dialog-improvements-SNAPSHOT' | ||||||
|     implementation 'com.github.tibbi:AndroidPdfViewer:e6a533125b' |     implementation 'com.github.tibbi:AndroidPdfViewer:e6a533125b' | ||||||
|     implementation 'com.github.Stericson:RootTools:df729dcb13' |     implementation 'com.github.Stericson:RootTools:df729dcb13' | ||||||
|     implementation 'com.github.Stericson:RootShell:1.6' |     implementation 'com.github.Stericson:RootShell:1.6' | ||||||
|   | |||||||
| @@ -46,7 +46,7 @@ class CompressAsDialog(val activity: BaseSimpleActivity, val path: String, val c | |||||||
|                         if (view.password_protect.isChecked) { |                         if (view.password_protect.isChecked) { | ||||||
|                             password = view.password.value |                             password = view.password.value | ||||||
|                             if (password.isEmpty()) { |                             if (password.isEmpty()) { | ||||||
|                                 activity.toast(R.string.empty_password) |                                 activity.toast(R.string.empty_password_new) | ||||||
|                                 return@OnClickListener |                                 return@OnClickListener | ||||||
|                             } |                             } | ||||||
|                         } |                         } | ||||||
|   | |||||||
| @@ -1,5 +1,6 @@ | |||||||
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||||
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||||
|  |     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||||
|     android:id="@+id/dialog_holder" |     android:id="@+id/dialog_holder" | ||||||
|     android:layout_width="match_parent" |     android:layout_width="match_parent" | ||||||
|     android:layout_height="match_parent" |     android:layout_height="match_parent" | ||||||
| @@ -27,7 +28,6 @@ | |||||||
|         android:layout_width="match_parent" |         android:layout_width="match_parent" | ||||||
|         android:layout_height="wrap_content" |         android:layout_height="wrap_content" | ||||||
|         android:layout_below="@+id/folder_hint" |         android:layout_below="@+id/folder_hint" | ||||||
|         android:layout_marginBottom="@dimen/activity_margin" |  | ||||||
|         android:hint="@string/filename_without_zip"> |         android:hint="@string/filename_without_zip"> | ||||||
|  |  | ||||||
|         <com.google.android.material.textfield.TextInputEditText |         <com.google.android.material.textfield.TextInputEditText | ||||||
| @@ -49,7 +49,7 @@ | |||||||
|         android:layout_marginTop="@dimen/small_margin" |         android:layout_marginTop="@dimen/small_margin" | ||||||
|         android:paddingTop="@dimen/normal_margin" |         android:paddingTop="@dimen/normal_margin" | ||||||
|         android:paddingBottom="@dimen/normal_margin" |         android:paddingBottom="@dimen/normal_margin" | ||||||
|         android:text="@string/password" /> |         android:text="@string/add_password" /> | ||||||
|  |  | ||||||
|     <com.simplemobiletools.commons.views.MyTextInputLayout |     <com.simplemobiletools.commons.views.MyTextInputLayout | ||||||
|         android:id="@+id/enter_password_hint" |         android:id="@+id/enter_password_hint" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user