Commit 7b3a2d98 authored by wanglei's avatar wanglei

....

parent 2f4b3b2f
......@@ -66,20 +66,23 @@ class WhatsAppCleanerActivity : BaseActivity<ActivityWhatsAppCleanerBinding>() {
}
private fun requestStoragePermissionWithDialog() {
showGerPermission(null, deny = {
finishToMain()
}, allow = {
requestStorePermission(
launcher,
result = { flag ->
if (flag) {
initData()
} else {
finishToMain()
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()
},
allow = {
requestStorePermission(
launcher,
result = { flag ->
if (flag) {
initData()
} else {
finishToMain()
}
}
}
)
})
)
})
}
private fun navigateToWhatsAppMessageCleanActivity(item: WhatsAppCleanerBean) {
......
......@@ -9,11 +9,11 @@ public class WhatsappCleanerStringManager {
static {
// 初始化并添加文案到列表
documentRecoveryCopies.add("Lost a vital document? Our recovery service might be able to help.");
documentRecoveryCopies.add("Can't find an important document? Try our recovery tool today.");
documentRecoveryCopies.add("Accidentally deleted a document? Recover it with ease using our service.");
documentRecoveryCopies.add("Don't panic over lost documents – our recovery feature is here to assist.");
documentRecoveryCopies.add("Regain access to deleted documents with our simple recovery process.");
documentRecoveryCopies.add("Running out of chat storage? Clean up with one tap for smoother conversations! Clean Now.");
documentRecoveryCopies.add("Is your chat slowing down? A quick cleanup will boost your WhatsApp speed! Tap Here.");
documentRecoveryCopies.add("Old files getting in the way? Clear them out to make room for new messages! Clean Up Now.");
documentRecoveryCopies.add("Smart clean identifies and clears useless files, making your WhatsApp smarter! Experience Now.");
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() {
......
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