mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-03-06 04:17:36 +01:00
updating some apps urls to Pro
This commit is contained in:
parent
14c5032023
commit
391ca239b1
@ -7,16 +7,16 @@ import com.simplemobiletools.applauncher.R
|
|||||||
fun Resources.getLauncherDrawable(packageName: String): Drawable {
|
fun Resources.getLauncherDrawable(packageName: String): Drawable {
|
||||||
return getDrawable(when (packageName) {
|
return getDrawable(when (packageName) {
|
||||||
"com.simplemobiletools.calculator" -> R.drawable.ic_launcher_calculator
|
"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.camera" -> R.drawable.ic_launcher_camera
|
||||||
"com.simplemobiletools.clock" -> R.drawable.ic_launcher_clock
|
"com.simplemobiletools.clock" -> R.drawable.ic_launcher_clock
|
||||||
"com.simplemobiletools.contacts" -> R.drawable.ic_launcher_contacts
|
"com.simplemobiletools.contacts.pro" -> R.drawable.ic_launcher_contacts
|
||||||
"com.simplemobiletools.draw" -> R.drawable.ic_launcher_draw
|
"com.simplemobiletools.draw.pro" -> R.drawable.ic_launcher_draw
|
||||||
"com.simplemobiletools.filemanager" -> R.drawable.ic_launcher_filemanager
|
"com.simplemobiletools.filemanager.pro" -> R.drawable.ic_launcher_filemanager
|
||||||
"com.simplemobiletools.flashlight" -> R.drawable.ic_launcher_flashlight
|
"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.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
|
"com.simplemobiletools.thankyou" -> R.drawable.ic_launcher_thankyou
|
||||||
else -> throw RuntimeException("Invalid launcher package name $packageName")
|
else -> throw RuntimeException("Invalid launcher package name $packageName")
|
||||||
})
|
})
|
||||||
|
@ -5,15 +5,15 @@ const val CLOSE_APP = "close_app"
|
|||||||
|
|
||||||
val predefinedPackageNames = arrayListOf(
|
val predefinedPackageNames = arrayListOf(
|
||||||
"com.simplemobiletools.calculator",
|
"com.simplemobiletools.calculator",
|
||||||
"com.simplemobiletools.calendar",
|
"com.simplemobiletools.calendar.pro",
|
||||||
"com.simplemobiletools.camera",
|
"com.simplemobiletools.camera",
|
||||||
"com.simplemobiletools.clock",
|
"com.simplemobiletools.clock",
|
||||||
"com.simplemobiletools.contacts",
|
"com.simplemobiletools.contacts.pro",
|
||||||
"com.simplemobiletools.draw",
|
"com.simplemobiletools.draw.pro",
|
||||||
"com.simplemobiletools.filemanager",
|
"com.simplemobiletools.filemanager.pro",
|
||||||
"com.simplemobiletools.flashlight",
|
"com.simplemobiletools.flashlight",
|
||||||
"com.simplemobiletools.gallery",
|
"com.simplemobiletools.gallery.pro",
|
||||||
"com.simplemobiletools.musicplayer",
|
"com.simplemobiletools.musicplayer",
|
||||||
"com.simplemobiletools.notes",
|
"com.simplemobiletools.notes.pro",
|
||||||
"com.simplemobiletools.thankyou"
|
"com.simplemobiletools.thankyou"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user