Revert "Added tickers in the reader page slider"

This reverts commit 51910dc65ae965b92d2cfe6a4d28df4ad27288a2.
This commit is contained in:
Tien Long Lam 2022-08-16 00:41:32 +10:00
parent 51910dc65a
commit e0162c5aa4
4 changed files with 0 additions and 10 deletions

View File

@ -153,8 +153,6 @@ class PreferencesHelper(val context: Context) {
fun showNavigationOverlayOnStart() = flowPrefs.getBoolean("reader_navigation_overlay_on_start", false)
fun showSliderTickers() = flowPrefs.getBoolean("reader_slider_tickers", false)
fun readerHideThreshold() = flowPrefs.getEnum("reader_hide_threshold", Values.ReaderHideThreshold.LOW)
fun portraitColumns() = flowPrefs.getInt("pref_library_columns_portrait_key", 0)

View File

@ -640,7 +640,6 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
binding.toolbar.title = manga.title
binding.pageSlider.isRTL = newViewer is R2LPagerViewer
binding.pageSlider.isTickVisible = preferences.showSliderTickers().get()
if (newViewer is R2LPagerViewer) {
binding.leftChapter.setTooltip(R.string.action_next_chapter)
binding.rightChapter.setTooltip(R.string.action_previous_chapter)

View File

@ -57,11 +57,6 @@ class SettingsReaderController : SettingsController() {
titleRes = R.string.pref_show_navigation_mode
summaryRes = R.string.pref_show_navigation_mode_summary
}
switchPreference {
bindTo(preferences.showSliderTickers())
titleRes = R.string.pref_show_slider_tickers
summaryRes = R.string.pref_show_slider_tickers_summary
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
switchPreference {
bindTo(preferences.trueColor())

View File

@ -293,8 +293,6 @@
<string name="pref_fullscreen">Fullscreen</string>
<string name="pref_show_navigation_mode">Show tap zones overlay</string>
<string name="pref_show_navigation_mode_summary">Briefly show when reader is opened</string>
<string name="pref_show_slider_tickers">Show slider tickers</string>
<string name="pref_show_slider_tickers_summary">Show tickers representing pages in the page slider</string>
<string name="pref_dual_page_split">Dual page split</string>
<string name="pref_dual_page_invert">Invert dual page split placement</string>
<string name="pref_dual_page_invert_summary">If the placement of the dual page split doesn\'t match reading direction</string>