From 21949ef028f3d33f624b3fa7eecf6888f556e3ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Sat, 15 Jul 2023 16:21:55 +0200 Subject: [PATCH] Update password strings on compression dialog --- app/build.gradle | 2 +- .../filemanager/pro/dialogs/CompressAsDialog.kt | 2 +- app/src/main/res/layout/dialog_compress_as.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 12820f5d..e4f8ddfe 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -64,7 +64,7 @@ android { } 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.Stericson:RootTools:df729dcb13' implementation 'com.github.Stericson:RootShell:1.6' diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/dialogs/CompressAsDialog.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/dialogs/CompressAsDialog.kt index a49febc4..e56aaca6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/dialogs/CompressAsDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/dialogs/CompressAsDialog.kt @@ -46,7 +46,7 @@ class CompressAsDialog(val activity: BaseSimpleActivity, val path: String, val c if (view.password_protect.isChecked) { password = view.password.value if (password.isEmpty()) { - activity.toast(R.string.empty_password) + activity.toast(R.string.empty_password_new) return@OnClickListener } } diff --git a/app/src/main/res/layout/dialog_compress_as.xml b/app/src/main/res/layout/dialog_compress_as.xml index 48b763d6..bdd6a8d2 100644 --- a/app/src/main/res/layout/dialog_compress_as.xml +++ b/app/src/main/res/layout/dialog_compress_as.xml @@ -1,5 +1,6 @@ + android:text="@string/add_password" />