[Android] Remove useless settings from ml scanned folders selection
Nicolas Pomepuy
git at videolan.org
Wed Oct 21 09:02:42 CEST 2020
vlc-android | branch: 3.3.x | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Oct 19 13:14:15 2020 +0200| [3c5ec727f52e870222657eed6241a6463235f9aa] | committer: Nicolas Pomepuy
Remove useless settings from ml scanned folders selection
Fixes #1512
(cherry picked from commit 9db9053ca4877fd8f89d5404abe0a8e3d949a249)
> https://code.videolan.org/videolan/vlc-android/commit/3c5ec727f52e870222657eed6241a6463235f9aa
---
.../src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt
index 79f47f5fec..8a0d6e517c 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt
@@ -128,6 +128,9 @@ class StorageBrowserFragment : FileBrowserFragment(), EntryPointsEventsCb, Brows
super.onPrepareOptionsMenu(menu)
menu.findItem(R.id.ml_menu_custom_dir)?.isVisible = true
menu.findItem(R.id.ml_menu_refresh)?.isVisible = false
+ menu.findItem(R.id.browser_show_all_files)?.isVisible = false
+ menu.findItem(R.id.browser_show_hidden_files)?.isVisible = false
+ menu.findItem(R.id.ml_menu_add_playlist)?.isVisible = false
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {
More information about the Android
mailing list