Skip to content

Commit 21949ef

Browse files
committed
Update password strings on compression dialog
1 parent 173efd1 commit 21949ef

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ android {
6464
}
6565

6666
dependencies {
67-
implementation 'com.github.SimpleMobileTools:Simple-Commons:f54d4f7606'
67+
implementation 'com.github.esensar:Simple-Commons:enter-password-dialog-improvements-SNAPSHOT'
6868
implementation 'com.github.tibbi:AndroidPdfViewer:e6a533125b'
6969
implementation 'com.github.Stericson:RootTools:df729dcb13'
7070
implementation 'com.github.Stericson:RootShell:1.6'

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/dialogs/CompressAsDialog.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class CompressAsDialog(val activity: BaseSimpleActivity, val path: String, val c
4646
if (view.password_protect.isChecked) {
4747
password = view.password.value
4848
if (password.isEmpty()) {
49-
activity.toast(R.string.empty_password)
49+
activity.toast(R.string.empty_password_new)
5050
return@OnClickListener
5151
}
5252
}

app/src/main/res/layout/dialog_compress_as.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:app="http://schemas.android.com/apk/res-auto"
34
android:id="@+id/dialog_holder"
45
android:layout_width="match_parent"
56
android:layout_height="match_parent"
@@ -27,7 +28,6 @@
2728
android:layout_width="match_parent"
2829
android:layout_height="wrap_content"
2930
android:layout_below="@+id/folder_hint"
30-
android:layout_marginBottom="@dimen/activity_margin"
3131
android:hint="@string/filename_without_zip">
3232

3333
<com.google.android.material.textfield.TextInputEditText
@@ -49,7 +49,7 @@
4949
android:layout_marginTop="@dimen/small_margin"
5050
android:paddingTop="@dimen/normal_margin"
5151
android:paddingBottom="@dimen/normal_margin"
52-
android:text="@string/password" />
52+
android:text="@string/add_password" />
5353

5454
<com.simplemobiletools.commons.views.MyTextInputLayout
5555
android:id="@+id/enter_password_hint"

0 commit comments

Comments
 (0)