diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt index 89e41b8a1..920b0ba93 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt @@ -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) { diff --git a/app/src/main/res/layout/chapters_controller.xml b/app/src/main/res/layout/chapters_controller.xml index fff20a791..6b3c1eed6 100644 --- a/app/src/main/res/layout/chapters_controller.xml +++ b/app/src/main/res/layout/chapters_controller.xml @@ -53,7 +53,7 @@ diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 21ae2caf6..f2b622f6d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -76,6 +76,7 @@ Next chapter Retry Remove + Start Resume Move Open in browser