properly initialize Autoplay setting

This commit is contained in:
tibbi 2016-12-26 22:36:27 +01:00
parent 60739762b0
commit b0413fd756

View file

@ -47,6 +47,7 @@ class SettingsActivity : SimpleActivity() {
}
private fun setupAutoplayVideos() {
settings_autoplay_videos.isChecked = config.autoplayVideos
settings_autoplay_videos_holder.setOnClickListener {
settings_autoplay_videos.toggle()
config.autoplayVideos = settings_autoplay_videos.isChecked