mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 13:08:00 +01:00
properly initialize Autoplay setting
This commit is contained in:
parent
60739762b0
commit
b0413fd756
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ class SettingsActivity : SimpleActivity() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun setupAutoplayVideos() {
|
private fun setupAutoplayVideos() {
|
||||||
|
settings_autoplay_videos.isChecked = config.autoplayVideos
|
||||||
settings_autoplay_videos_holder.setOnClickListener {
|
settings_autoplay_videos_holder.setOnClickListener {
|
||||||
settings_autoplay_videos.toggle()
|
settings_autoplay_videos.toggle()
|
||||||
config.autoplayVideos = settings_autoplay_videos.isChecked
|
config.autoplayVideos = settings_autoplay_videos.isChecked
|
||||||
|
|
Loading…
Reference in a new issue