[Android] SubDownload: fix language spinner always selected

Duncan McNamara git at videolan.org
Fri Feb 25 06:39:16 UTC 2022


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Tue Feb 15 17:21:18 2022 +0100| [1516c587697198a69b6ddbe87e6136b986d11905] | committer: Nicolas Pomepuy

SubDownload: fix language spinner always selected

The default view selected is now the movie title to the left of the
language spinner.

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

 .../org/videolan/vlc/gui/dialogs/SubtitleDownloaderDialogFragment.kt    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/dialogs/SubtitleDownloaderDialogFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/dialogs/SubtitleDownloaderDialogFragment.kt
index 7ae745fc5..e4a871497 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/dialogs/SubtitleDownloaderDialogFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/dialogs/SubtitleDownloaderDialogFragment.kt
@@ -38,7 +38,7 @@ class SubtitleDownloaderDialogFragment : VLCBottomSheetDialogFragment() {
 
     override fun needToManageOrientation(): Boolean = true
 
-    override fun initialFocusedView(): View = binding.languageListSpinner
+    override fun initialFocusedView(): View = binding.movieName
 
     private lateinit var downloadAdapter: SubtitlesAdapter
     private lateinit var historyAdapter: SubtitlesAdapter



More information about the Android mailing list