mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 15:21: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)
|
.title(R.string.icon_shape)
|
||||||
.negativeButton(android.R.string.cancel)
|
.negativeButton(android.R.string.cancel)
|
||||||
.listItemsSingleChoice (
|
.listItemsSingleChoice (
|
||||||
items = modes.map { activity?.getString(it) as CharSequence })
|
items = modes.map { activity?.getString(it) as CharSequence },
|
||||||
|
waitForPositiveButton = false)
|
||||||
{ _, i, _ ->
|
{ _, i, _ ->
|
||||||
(targetController as? MangaInfoController)?.createShortcutForShape(i)
|
(targetController as? MangaInfoController)?.createShortcutForShape(i)
|
||||||
|
dismissDialog()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user