From 4b39eb2bc389910b022aa66dfa4fd4319a9f55c2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 18 Nov 2017 21:58:34 +0100 Subject: [PATCH] lets show the Donate dialog every 50 launches, down from 100 --- .../kotlin/com/simplemobiletools/commons/extensions/Activity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt index 02f550368..bac37a56d 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt @@ -70,7 +70,7 @@ fun Activity.storeStoragePaths() { }).start() baseConfig.appRunCount++ - if (!isThankYouInstalled() && (baseConfig.appRunCount % 100 == 0)) { + if (!isThankYouInstalled() && (baseConfig.appRunCount % 50 == 0)) { DonateDialog(this) } }