Commit 7b3a2d98 authored by wanglei's avatar wanglei

....

parent 2f4b3b2f
...@@ -66,9 +66,12 @@ class WhatsAppCleanerActivity : BaseActivity<ActivityWhatsAppCleanerBinding>() { ...@@ -66,9 +66,12 @@ class WhatsAppCleanerActivity : BaseActivity<ActivityWhatsAppCleanerBinding>() {
} }
private fun requestStoragePermissionWithDialog() { private fun requestStoragePermissionWithDialog() {
showGerPermission(null, deny = { showGerPermission(
desc = "This feature requires access to your storage to scan your files and clean up junk files and unused APK files. We will not transmit your data to any third-party service. Please grant permission so that we can provide you with better service.",
deny = {
finishToMain() finishToMain()
}, allow = { },
allow = {
requestStorePermission( requestStorePermission(
launcher, launcher,
result = { flag -> result = { flag ->
......
...@@ -9,11 +9,11 @@ public class WhatsappCleanerStringManager { ...@@ -9,11 +9,11 @@ public class WhatsappCleanerStringManager {
static { static {
// 初始化并添加文案到列表 // 初始化并添加文案到列表
documentRecoveryCopies.add("Lost a vital document? Our recovery service might be able to help."); documentRecoveryCopies.add("Running out of chat storage? Clean up with one tap for smoother conversations! Clean Now.");
documentRecoveryCopies.add("Can't find an important document? Try our recovery tool today."); documentRecoveryCopies.add("Is your chat slowing down? A quick cleanup will boost your WhatsApp speed! Tap Here.");
documentRecoveryCopies.add("Accidentally deleted a document? Recover it with ease using our service."); documentRecoveryCopies.add("Old files getting in the way? Clear them out to make room for new messages! Clean Up Now.");
documentRecoveryCopies.add("Don't panic over lost documents – our recovery feature is here to assist."); documentRecoveryCopies.add("Smart clean identifies and clears useless files, making your WhatsApp smarter! Experience Now.");
documentRecoveryCopies.add("Regain access to deleted documents with our simple recovery process."); documentRecoveryCopies.add("Keep your chats fresh and clean! One tap to clear away the mess and enjoy organized conversations! Act Now.");
} }
public static String getNextCleanerCopy() { public static String getNextCleanerCopy() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment