[Android] Fix video tracks dialog initial focused view
Nicolas Pomepuy
git at videolan.org
Thu Dec 10 08:15:04 CET 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Dec 9 13:27:31 2020 +0100| [812c2585d2964e10c8e22934e4987fff9e5041cb] | committer: Nicolas Pomepuy
Fix video tracks dialog initial focused view
Fixes #1534
> https://code.videolan.org/videolan/vlc-android/commit/812c2585d2964e10c8e22934e4987fff9e5041cb
---
.../vlc-android/src/org/videolan/vlc/gui/dialogs/VideoTracksDialog.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/dialogs/VideoTracksDialog.kt b/application/vlc-android/src/org/videolan/vlc/gui/dialogs/VideoTracksDialog.kt
index 55bea3319..0a9bf1960 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/dialogs/VideoTracksDialog.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/dialogs/VideoTracksDialog.kt
@@ -55,7 +55,7 @@ class VideoTracksDialog : VLCBottomSheetDialogFragment() {
private val coroutineContextProvider: CoroutineContextProvider
- override fun initialFocusedView(): View = binding.subtitleTracks.trackMore
+ override fun initialFocusedView(): View = binding.subtitleTracks.emptyView
lateinit var menuItemListener:(Int) -> Unit
lateinit var trackSelectionListener:(Int, TrackType) -> Unit
More information about the Android
mailing list