[Android] Settings: set show_hidden default value to false
Duncan McNamara
git at videolan.org
Mon Jan 9 07:12:38 UTC 2023
vlc-android | branch: 3.5.x | Duncan McNamara <dcn.mcnamara at gmail.com> | Tue Dec 20 10:11:06 2022 +0100| [8da51f1f54cad24d6b4d69c4a0fbb51bb6738719] | committer: Nicolas Pomepuy
Settings: set show_hidden default value to false
On AndroidTV there is no ui to change this setting, by default hidden
files should stay hidden.
Fixes #2802
(cherry picked from commit d97b90aedeb8f30c02e40f82f21f7aedd73820b1)
> https://code.videolan.org/videolan/vlc-android/commit/8da51f1f54cad24d6b4d69c4a0fbb51bb6738719
---
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 c21f25c6dc..09a7528a98 100644
--- a/application/tools/src/main/java/org/videolan/tools/Settings.kt
+++ b/application/tools/src/main/java/org/videolan/tools/Settings.kt
@@ -48,7 +48,7 @@ object Settings : SingletonHolder<SharedPreferences, Context>({ init(it.applicat
videoDoubleTapJumpDelay = prefs.getInt(KEY_VIDEO_DOUBLE_TAP_JUMP_DELAY, 10)
audioJumpDelay = prefs.getInt(KEY_AUDIO_JUMP_DELAY, 10)
audioLongJumpDelay = prefs.getInt(KEY_AUDIO_LONG_JUMP_DELAY, 20)
- showHiddenFiles = prefs.getBoolean(BROWSER_SHOW_HIDDEN_FILES, true)
+ showHiddenFiles = prefs.getBoolean(BROWSER_SHOW_HIDDEN_FILES, !tvUI)
showTrackNumber = prefs.getBoolean(ALBUMS_SHOW_TRACK_NUMBER, true)
tvFoldersFirst = prefs.getBoolean(TV_FOLDERS_FIRST, true)
return prefs
More information about the Android
mailing list