[Android] Remove useless settings from ml scanned folders selection
Nicolas Pomepuy
git at videolan.org
Tue Oct 20 14:46:56 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Oct 19 13:14:15 2020 +0200| [9db9053ca4877fd8f89d5404abe0a8e3d949a249] | committer: Nicolas Pomepuy
Remove useless settings from ml scanned folders selection
Fixes #1512
> https://code.videolan.org/videolan/vlc-android/commit/9db9053ca4877fd8f89d5404abe0a8e3d949a249
---
.../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