mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-09-11 14:43:13 +02:00
Fix manga shortcuts saying "Manga"
This commit is contained in:
parent
a71bdc14c5
commit
b39225cac5
@ -68,8 +68,8 @@ class MangaShortcutManager(
|
||||
context,
|
||||
"Manga-${item.id?.toString() ?: item.title}"
|
||||
)
|
||||
.setShortLabel(item.title.takeUnless { it.isNotBlank() } ?: context.getString(R.string.manga))
|
||||
.setLongLabel(item.title.takeUnless { it.isNotBlank() } ?: context.getString(R.string.manga))
|
||||
.setShortLabel(item.title.takeUnless { it.isBlank() } ?: context.getString(R.string.manga))
|
||||
.setLongLabel(item.title.takeUnless { it.isBlank() } ?: context.getString(R.string.manga))
|
||||
.setIcon(
|
||||
if (bitmap != null) if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {
|
||||
Icon.createWithAdaptiveBitmap(bitmap.toSquare())
|
||||
|
Loading…
Reference in New Issue
Block a user