Remove 32-bit color setting from reader sheet

(cherry picked from commit d7a89b0f8c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSettingsSheet.kt
#	app/src/main/res/layout/reader_settings_sheet.xml
This commit is contained in:
arkon
2020-07-11 18:58:04 -04:00
committed by Jobobby04
parent 9569f13190
commit eacdf4e161
2 changed files with 33 additions and 37 deletions
@@ -1,6 +1,5 @@
package eu.kanade.tachiyomi.ui.reader
import android.os.Build
import android.os.Bundle
import android.widget.CompoundButton
import android.widget.Spinner
@@ -31,7 +30,6 @@ import kotlinx.android.synthetic.main.reader_settings_sheet.rotation_mode
import kotlinx.android.synthetic.main.reader_settings_sheet.scale_type
import kotlinx.android.synthetic.main.reader_settings_sheet.show_page_number
import kotlinx.android.synthetic.main.reader_settings_sheet.tapping_inverted
import kotlinx.android.synthetic.main.reader_settings_sheet.true_color
import kotlinx.android.synthetic.main.reader_settings_sheet.viewer
import kotlinx.android.synthetic.main.reader_settings_sheet.webtoon_prefs_group
import kotlinx.android.synthetic.main.reader_settings_sheet.webtoon_side_padding
@@ -97,11 +95,6 @@ class ReaderSettingsSheet(private val activity: ReaderActivity) : BottomSheetDia
// SY -->
auto_webtoon_mode.bindToPreference(preferences.eh_useAutoWebtoon())
// SY <--
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
true_color.visible()
true_color.bindToPreference(preferences.trueColor())
}
}
/**