[Android] Update subtitle download limit when logging in

Nicolas Pomepuy git at videolan.org
Thu Nov 21 13:19:11 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Nov  7 13:51:28 2024 +0100| [765f008b243c9a432f1b446e367625583f2e971e] | committer: Duncan McNamara

Update subtitle download limit when logging in

> https://code.videolan.org/videolan/vlc-android/commit/765f008b243c9a432f1b446e367625583f2e971e
---

 .../vlc-android/src/org/videolan/vlc/viewmodels/SubtitlesModel.kt        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/application/vlc-android/src/org/videolan/vlc/viewmodels/SubtitlesModel.kt b/application/vlc-android/src/org/videolan/vlc/viewmodels/SubtitlesModel.kt
index f55c5144fe..db059eb021 100644
--- a/application/vlc-android/src/org/videolan/vlc/viewmodels/SubtitlesModel.kt
+++ b/application/vlc-android/src/org/videolan/vlc/viewmodels/SubtitlesModel.kt
@@ -300,6 +300,7 @@ class SubtitlesModel(private val context: Context, private val mediaUri: Uri, pr
                         val openSubtitlesUser = OpenSubtitlesUser(true, userResult, username = username)
                         OpenSubtitlesUtils.saveUser(settings, openSubtitlesUser)
                         observableUser.set(openSubtitlesUser)
+                        checkUserInfos(settings)
                         return at withContext
                     }
                 }



More information about the Android mailing list