disable autoplaying videos by default

This commit is contained in:
tibbi 2019-01-15 16:19:05 +01:00
parent 8cee888dc6
commit 7e7ef2063e

View file

@ -153,7 +153,7 @@ class Config(context: Context) : BaseConfig(context) {
set(includedFolders) = prefs.edit().remove(INCLUDED_FOLDERS).putStringSet(INCLUDED_FOLDERS, includedFolders).apply()
var autoplayVideos: Boolean
get() = prefs.getBoolean(AUTOPLAY_VIDEOS, true)
get() = prefs.getBoolean(AUTOPLAY_VIDEOS, false)
set(autoplay) = prefs.edit().putBoolean(AUTOPLAY_VIDEOS, autoplay).apply()
var animateGifs: Boolean