From 391ca239b1f3d1f0e85d0ad733085f00577595b6 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 30 Nov 2018 21:32:11 +0100 Subject: [PATCH] updating some apps urls to Pro --- .../applauncher/extensions/Resources.kt | 12 ++++++------ .../applauncher/helpers/Constants.kt | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/applauncher/extensions/Resources.kt b/app/src/main/kotlin/com/simplemobiletools/applauncher/extensions/Resources.kt index fe00836..3319e5b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/applauncher/extensions/Resources.kt +++ b/app/src/main/kotlin/com/simplemobiletools/applauncher/extensions/Resources.kt @@ -7,16 +7,16 @@ import com.simplemobiletools.applauncher.R fun Resources.getLauncherDrawable(packageName: String): Drawable { return getDrawable(when (packageName) { "com.simplemobiletools.calculator" -> R.drawable.ic_launcher_calculator - "com.simplemobiletools.calendar" -> R.drawable.ic_launcher_calendar + "com.simplemobiletools.calendar.pro" -> R.drawable.ic_launcher_calendar "com.simplemobiletools.camera" -> R.drawable.ic_launcher_camera "com.simplemobiletools.clock" -> R.drawable.ic_launcher_clock - "com.simplemobiletools.contacts" -> R.drawable.ic_launcher_contacts - "com.simplemobiletools.draw" -> R.drawable.ic_launcher_draw - "com.simplemobiletools.filemanager" -> R.drawable.ic_launcher_filemanager + "com.simplemobiletools.contacts.pro" -> R.drawable.ic_launcher_contacts + "com.simplemobiletools.draw.pro" -> R.drawable.ic_launcher_draw + "com.simplemobiletools.filemanager.pro" -> R.drawable.ic_launcher_filemanager "com.simplemobiletools.flashlight" -> R.drawable.ic_launcher_flashlight - "com.simplemobiletools.gallery" -> R.drawable.ic_launcher_gallery + "com.simplemobiletools.gallery.pro" -> R.drawable.ic_launcher_gallery "com.simplemobiletools.musicplayer" -> R.drawable.ic_launcher_musicplayer - "com.simplemobiletools.notes" -> R.drawable.ic_launcher_notes + "com.simplemobiletools.notes.pro" -> R.drawable.ic_launcher_notes "com.simplemobiletools.thankyou" -> R.drawable.ic_launcher_thankyou else -> throw RuntimeException("Invalid launcher package name $packageName") }) diff --git a/app/src/main/kotlin/com/simplemobiletools/applauncher/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/applauncher/helpers/Constants.kt index dcf3b82..10372e8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/applauncher/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/applauncher/helpers/Constants.kt @@ -5,15 +5,15 @@ const val CLOSE_APP = "close_app" val predefinedPackageNames = arrayListOf( "com.simplemobiletools.calculator", - "com.simplemobiletools.calendar", + "com.simplemobiletools.calendar.pro", "com.simplemobiletools.camera", "com.simplemobiletools.clock", - "com.simplemobiletools.contacts", - "com.simplemobiletools.draw", - "com.simplemobiletools.filemanager", + "com.simplemobiletools.contacts.pro", + "com.simplemobiletools.draw.pro", + "com.simplemobiletools.filemanager.pro", "com.simplemobiletools.flashlight", - "com.simplemobiletools.gallery", + "com.simplemobiletools.gallery.pro", "com.simplemobiletools.musicplayer", - "com.simplemobiletools.notes", + "com.simplemobiletools.notes.pro", "com.simplemobiletools.thankyou" )