[Android] Fix Show missing setting not applied at startup

Sébastien Toque git at videolan.org
Fri Jul 9 09:16:51 UTC 2021


vlc-android | branch: master | Sébastien Toque <xilasz at gmail.com> | Mon Jul  5 09:44:46 2021 +0200| [d56af5c202aad9cc0680a4b2d352748f3b5f9707] | committer: Nicolas Pomepuy

Fix Show missing setting not applied at startup

> https://code.videolan.org/videolan/vlc-android/commit/d56af5c202aad9cc0680a4b2d352748f3b5f9707
---

 application/tools/src/main/java/org/videolan/tools/Settings.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/tools/src/main/java/org/videolan/tools/Settings.kt b/application/tools/src/main/java/org/videolan/tools/Settings.kt
index de7d51c90..3194af31d 100644
--- a/application/tools/src/main/java/org/videolan/tools/Settings.kt
+++ b/application/tools/src/main/java/org/videolan/tools/Settings.kt
@@ -33,7 +33,7 @@ object Settings : SingletonHolder<SharedPreferences, Context>({ init(it.applicat
         listTitleEllipsize = prefs.getString(LIST_TITLE_ELLIPSIZE, "0")?.toInt() ?: 0
         videoHudDelay = prefs.getString(VIDEO_HUD_TIMEOUT, "2")?.toInt() ?: 2
         device = DeviceInfo(context)
-        prefs.getBoolean(KEY_INCLUDE_MISSING, true)
+        includeMissing = prefs.getBoolean(KEY_INCLUDE_MISSING, true)
         return prefs
     }
 



More information about the Android mailing list