[Android] Reset message on manualSearch check changes

Habib Kazemi git at videolan.org
Wed Dec 5 11:10:38 CET 2018


vlc-android | branch: master | Habib Kazemi <kazemihabib1996 at gmail.com> | Mon Nov 26 00:16:32 2018 +0330| [7a176c3133fa2d46b9c497ee480d7302e0ba3095] | committer: Geoffrey Métais

Reset message on manualSearch check changes

Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>

> https://code.videolan.org/videolan/vlc-android/commit/7a176c3133fa2d46b9c497ee480d7302e0ba3095
---

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

diff --git a/vlc-android/src/org/videolan/vlc/viewmodels/SubtitlesModel.kt b/vlc-android/src/org/videolan/vlc/viewmodels/SubtitlesModel.kt
index 04188cdf1..240bc1f42 100644
--- a/vlc-android/src/org/videolan/vlc/viewmodels/SubtitlesModel.kt
+++ b/vlc-android/src/org/videolan/vlc/viewmodels/SubtitlesModel.kt
@@ -103,6 +103,7 @@ class SubtitlesModel(private val context: Context, private val mediaPath: String
         apiResultLiveData.postValue(listOf())
         searchJob?.cancel()
 
+        observableMessage.set("")
         if (!isChecked) search(true)
     }
 



More information about the Android mailing list