mirror of
https://github.com/mihonapp/mihon.git
synced 2025-07-03 06:27:51 +02:00
Show "Start" in chapters FAB if nothing is read yet
This commit is contained in:
@ -284,6 +284,11 @@ class ChaptersController :
|
||||
}
|
||||
actionMode?.invalidate()
|
||||
}
|
||||
|
||||
val context = view?.context
|
||||
if (context != null && chapters.any { it.read }) {
|
||||
binding.fab.text = context.getString(R.string.action_resume)
|
||||
}
|
||||
}
|
||||
|
||||
private fun fetchChaptersFromSource(manualFetch: Boolean = false) {
|
||||
|
Reference in New Issue
Block a user