Manga chapters Fab will say start if no chapters are read
This commit is contained in:
parent
806759b8ea
commit
3c3f057dcc
@ -378,6 +378,10 @@ class MangaAllInOneController :
|
|||||||
}
|
}
|
||||||
actionMode?.invalidate()
|
actionMode?.invalidate()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!chapters.any { it.read }) {
|
||||||
|
binding.fab.text = activity!!.getString(R.string.action_start)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun openInWebView() {
|
override fun openInWebView() {
|
||||||
|
@ -297,6 +297,10 @@ class ChaptersController :
|
|||||||
}
|
}
|
||||||
actionMode?.invalidate()
|
actionMode?.invalidate()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!chapters.any { it.read }) {
|
||||||
|
binding.fab.text = activity!!.getString(R.string.action_start)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun fetchChaptersFromSource(manualFetch: Boolean = false) {
|
private fun fetchChaptersFromSource(manualFetch: Boolean = false) {
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
<string name="action_search_manually">Search manually</string>
|
<string name="action_search_manually">Search manually</string>
|
||||||
<string name="action_migrate_now">Migrate now</string>
|
<string name="action_migrate_now">Migrate now</string>
|
||||||
<string name="action_copy_now">Copy now</string>
|
<string name="action_copy_now">Copy now</string>
|
||||||
|
<string name="action_start">Start</string>
|
||||||
|
|
||||||
<!-- Preferences -->
|
<!-- Preferences -->
|
||||||
<!-- Filter -->
|
<!-- Filter -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user