mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 02:49:18 +01:00
Display correct string on FAB
This commit is contained in:
parent
f5c6e80dbb
commit
319e4360c8
@ -382,6 +382,8 @@ class MangaController :
|
|||||||
val fab = actionFab ?: return
|
val fab = actionFab ?: return
|
||||||
if (adapter.items.any { it.read }) {
|
if (adapter.items.any { it.read }) {
|
||||||
fab.text = context.getString(R.string.action_resume)
|
fab.text = context.getString(R.string.action_resume)
|
||||||
|
} else {
|
||||||
|
fab.text = context.getString(R.string.action_start)
|
||||||
}
|
}
|
||||||
if (adapter.items.any { !it.read }) {
|
if (adapter.items.any { !it.read }) {
|
||||||
fab.show()
|
fab.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user