mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-06-05 21:59:15 +02:00
Prevent crash due to missing drawable
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user