mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 15:35:29 +03:00
Create adaptive icons for pinned games
This commit is contained in:
parent
da0100042b
commit
45b4811c5b
@ -81,7 +81,7 @@ class AppDialog(val item : AppItem? = null) : BottomSheetDialogFragment() {
|
||||
val info = ShortcutInfo.Builder(context, item.title)
|
||||
info.setShortLabel(item.meta.name)
|
||||
info.setActivity(ComponentName(context!!, EmulationActivity::class.java))
|
||||
info.setIcon(Icon.createWithBitmap(item.icon ?: missingIcon))
|
||||
info.setIcon(Icon.createWithAdaptiveBitmap(item.icon ?: missingIcon))
|
||||
|
||||
val intent = Intent(context, EmulationActivity::class.java)
|
||||
intent.data = item.uri
|
||||
|
Loading…
Reference in New Issue
Block a user