Fix RGB filter sliders being disabled on start

This commit is contained in:
Jays2Kings 2021-04-05 21:52:58 -04:00
parent 8c6f3dc14e
commit 6edc15683e

View File

@ -80,6 +80,8 @@ class ReaderFilterView @JvmOverloads constructor(context: Context, attrs: Attrib
} }
) )
setColorFilterSeekBar(binding.switchColorFilter.isChecked)
binding.seekbarColorFilterRed.setOnSeekBarChangeListener( binding.seekbarColorFilterRed.setOnSeekBarChangeListener(
object : SimpleSeekBarListener() { object : SimpleSeekBarListener() {
override fun onProgressChanged(seekBar: SeekBar, value: Int, fromUser: Boolean) { override fun onProgressChanged(seekBar: SeekBar, value: Int, fromUser: Boolean) {