Prevent crash due to missing drawable

This commit is contained in:
Ensar Sarajčić 2023-09-21 12:28:44 +02:00
parent 924521c405
commit 4f5fda2c52
1 changed files with 1 additions and 1 deletions

View File

@ -1408,7 +1408,7 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel
val drawable = if (item.type == ITEM_TYPE_FOLDER) {
item.toFolder().generateDrawable()
} else {
item.drawable!!
item.drawable
}
if (item.docked) {