mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 11:11:51 +01:00
Fixed icon dialog for devices under Android O
This commit is contained in:
parent
3cad9405f9
commit
cc81b37f03
@ -603,9 +603,11 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
|
||||
.title(R.string.icon_shape)
|
||||
.negativeButton(android.R.string.cancel)
|
||||
.listItemsSingleChoice (
|
||||
items = modes.map { activity?.getString(it) as CharSequence })
|
||||
items = modes.map { activity?.getString(it) as CharSequence },
|
||||
waitForPositiveButton = false)
|
||||
{ _, i, _ ->
|
||||
(targetController as? MangaInfoController)?.createShortcutForShape(i)
|
||||
dismissDialog()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user