From ac3e79c15b333ccc64c9fed73be24cca8004d953 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 8 Apr 2018 19:15:07 +0200 Subject: [PATCH] comment out new app announcement --- .../com/simplemobiletools/gallery/activities/MainActivity.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt index b71404ecf..c47741bab 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -14,7 +14,6 @@ import android.view.ViewGroup import android.widget.FrameLayout import com.simplemobiletools.commons.dialogs.CreateNewFolderDialog import com.simplemobiletools.commons.dialogs.FilePickerDialog -import com.simplemobiletools.commons.dialogs.NewAppDialog import com.simplemobiletools.commons.dialogs.RadioGroupDialog import com.simplemobiletools.commons.extensions.* import com.simplemobiletools.commons.helpers.PERMISSION_READ_STORAGE @@ -102,10 +101,10 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener { setupLatestMediaId() // notify some users about the Clock app - if (System.currentTimeMillis() < 1523750400000 && !config.wasNewAppShown && config.appRunCount > 100 && config.appRunCount % 50 != 0 && !isPackageInstalled(NEW_APP_PACKAGE)) { + /*if (System.currentTimeMillis() < 1523750400000 && !config.wasNewAppShown && config.appRunCount > 100 && config.appRunCount % 50 != 0 && !isPackageInstalled(NEW_APP_PACKAGE)) { config.wasNewAppShown = true NewAppDialog(this, NEW_APP_PACKAGE, "Simple Clock") - } + }*/ } override fun onStart() {