@@ -26,7 +26,7 @@ val Context.config: Config get() = Config.newInstance(applicationContext)
2626internal fun Activity.startAboutActivity (
2727 appNameId : Int , licenseMask : Long , versionName : String , faqItems : ArrayList <FAQItem >, showFAQBeforeMail : Boolean ,
2828 getAppIconIDs : ArrayList <Int > = getAppIconIDs(),
29- getAppLauncherName : String = launcherName()
29+ getAppLauncherName : String = launcherName()
3030) {
3131 hideKeyboard()
3232 Intent (applicationContext, AboutActivity ::class .java).apply {
@@ -43,18 +43,8 @@ internal fun Activity.startAboutActivity(
4343
4444internal fun Activity.startCustomizationActivity (
4545 getAppIconIDs : ArrayList <Int > = getAppIconIDs(),
46- getAppLauncherName : String = launcherName()
46+ getAppLauncherName : String = launcherName()
4747) {
48- if (! packageName.contains(" slootelibomelpmis" .reversed(), true )) {
49- if (baseConfig.appRunCount > 100 ) {
50- val label = " You are using a fake version of the app. For your own safety download the original one from www.simplemobiletools.com. Thanks"
51- ConfirmationDialog (this , label, positive = R .string.ok, negative = 0 ) {
52- launchViewIntent(" https://play.google.com/store/apps/dev?id=9070296388022589266" )
53- }
54- return
55- }
56- }
57-
5848 Intent (applicationContext, CustomizationActivity ::class .java).apply {
5949 putExtra(APP_ICON_IDS , getAppIconIDs)
6050 putExtra(APP_LAUNCHER_NAME , getAppLauncherName)
@@ -75,22 +65,6 @@ internal fun Activity.launchChangeAppLanguageIntent() {
7565 }
7666}
7767
78- internal fun Activity.checkWhatsNew (releases : List <Release >, currVersion : Int ) {
79- if (baseConfig.lastVersion == 0 ) {
80- baseConfig.lastVersion = currVersion
81- return
82- }
83-
84- val newReleases = arrayListOf<Release >()
85- releases.filterTo(newReleases) { it.id > baseConfig.lastVersion }
86-
87- if (newReleases.isNotEmpty()) {
88- WhatsNewDialog (this , newReleases)
89- }
90-
91- baseConfig.lastVersion = currVersion
92- }
93-
9468private fun getAppIconIDs () = arrayListOf (
9569 R .mipmap.ic_launcher_red,
9670 R .mipmap.ic_launcher_pink,
0 commit comments