Commit 16bec17
committed
Make icon cache value non-nullable
The `iconCache` in `AppDrawerAdapter` has been updated to use non-nullable `Drawable` values. The map's value type was changed from `Drawable?` to `Drawable`.
This change improves type safety by ensuring that the cache will only store valid drawables.1 parent 7f67fda commit 16bec17
File tree
1 file changed
+2
-2
lines changed- app/src/main/java/com/github/codeworkscreativehub/mlauncher/ui/adapter
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
0 commit comments