Revert change in ReaderGeneralView

This commit is contained in:
Jays2Kings 2021-03-24 20:26:06 -04:00
parent 6fc845e303
commit fe066de262

View File

@ -24,7 +24,7 @@ class ReaderGeneralView @JvmOverloads constructor(context: Context, attrs: Attri
initPagerPreferences() initPagerPreferences()
} }
} }
viewer_series.setSelection((context as? ReaderActivity)?.presenter?.getMangaViewer() ?: 0) viewer_series.setSelection((context as? ReaderActivity)?.presenter?.manga?.viewer ?: 0)
rotation_mode.bindToPreference(preferences.rotation(), 1) rotation_mode.bindToPreference(preferences.rotation(), 1)
background_color.bindToPreference(preferences.readerTheme(), 0) background_color.bindToPreference(preferences.readerTheme(), 0)
show_page_number.bindToPreference(preferences.showPageNumber()) show_page_number.bindToPreference(preferences.showPageNumber())