renaming the shortcut icon drawable

This commit is contained in:
tibbi 2019-03-07 20:15:50 +01:00
parent 60c3529b6c
commit 10ec6efe7c
2 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
if (isNougatMR1Plus() && config.lastHandledShortcutColor != appIconColor) {
val newEvent = getString(R.string.new_event)
val manager = getSystemService(ShortcutManager::class.java)
val drawable = resources.getDrawable(R.drawable.shortcut_plus_orange)
val drawable = resources.getDrawable(R.drawable.shortcut_plus)
(drawable as LayerDrawable).findDrawableByLayerId(R.id.shortcut_plus_background).applyColorFilter(appIconColor)
val bmp = drawable.convertToBitmap()