move all icons into Commons, use the refreshed versions
@ -57,7 +57,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.simplemobiletools:commons:5.28.22'
|
implementation 'com.simplemobiletools:commons:5.28.23'
|
||||||
implementation 'com.facebook.stetho:stetho:1.5.0'
|
implementation 'com.facebook.stetho:stetho:1.5.0'
|
||||||
implementation 'androidx.multidex:multidex:2.0.1'
|
implementation 'androidx.multidex:multidex:2.0.1'
|
||||||
}
|
}
|
||||||
|
@ -6,21 +6,21 @@ 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.mipmap.ic_calculator
|
||||||
"com.simplemobiletools.calendar.pro" -> R.drawable.ic_launcher_calendar
|
"com.simplemobiletools.calendar.pro" -> R.mipmap.ic_calendar
|
||||||
"com.simplemobiletools.camera" -> R.drawable.ic_launcher_camera
|
"com.simplemobiletools.camera" -> R.mipmap.ic_camera
|
||||||
"com.simplemobiletools.clock" -> R.drawable.ic_launcher_clock
|
"com.simplemobiletools.clock" -> R.mipmap.ic_clock
|
||||||
"com.simplemobiletools.contacts.pro" -> R.drawable.ic_launcher_contacts
|
"com.simplemobiletools.contacts.pro" -> R.mipmap.ic_contacts
|
||||||
"com.simplemobiletools.dialer" -> R.drawable.ic_dialer
|
"com.simplemobiletools.dialer" -> R.mipmap.ic_dialer
|
||||||
"com.simplemobiletools.draw.pro" -> R.drawable.ic_launcher_draw
|
"com.simplemobiletools.draw.pro" -> R.mipmap.ic_draw
|
||||||
"com.simplemobiletools.filemanager.pro" -> R.drawable.ic_launcher_filemanager
|
"com.simplemobiletools.filemanager.pro" -> R.mipmap.ic_file_manager
|
||||||
"com.simplemobiletools.flashlight" -> R.drawable.ic_launcher_flashlight
|
"com.simplemobiletools.flashlight" -> R.mipmap.ic_flashlight
|
||||||
"com.simplemobiletools.gallery.pro" -> R.drawable.ic_launcher_gallery
|
"com.simplemobiletools.gallery.pro" -> R.mipmap.ic_gallery
|
||||||
"com.simplemobiletools.musicplayer" -> R.drawable.ic_launcher_musicplayer
|
"com.simplemobiletools.musicplayer" -> R.mipmap.ic_music_player
|
||||||
"com.simplemobiletools.notes.pro" -> R.drawable.ic_launcher_notes
|
"com.simplemobiletools.notes.pro" -> R.mipmap.ic_notes
|
||||||
"com.simplemobiletools.smsmessenger" -> R.drawable.ic_sms_messenger
|
"com.simplemobiletools.smsmessenger" -> R.mipmap.ic_sms_messenger
|
||||||
"com.simplemobiletools.thankyou" -> R.drawable.ic_launcher_thankyou
|
"com.simplemobiletools.thankyou" -> R.mipmap.ic_thank_you
|
||||||
"com.simplemobiletools.voicerecorder" -> R.drawable.ic_voice_recorder
|
"com.simplemobiletools.voicerecorder" -> R.mipmap.ic_voice_recorder
|
||||||
else -> throw RuntimeException("Invalid launcher package name $packageName")
|
else -> throw RuntimeException("Invalid launcher package name $packageName")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 16 KiB |