[Android] Fix playlist tips always shown after app restart

Nicolas Pomepuy git at videolan.org
Wed Aug 11 06:23:28 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Aug 11 08:03:33 2021 +0200| [3bf58825ef0059f8c8d792386455a35029aab6b6] | committer: Nicolas Pomepuy

Fix playlist tips always shown after app restart

> https://code.videolan.org/videolan/vlc-android/commit/3bf58825ef0059f8c8d792386455a35029aab6b6
---

 .../src/org/videolan/vlc/gui/audio/AudioPlaylistTipsDelegate.kt         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistTipsDelegate.kt b/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistTipsDelegate.kt
index 405c07cc1..65400fac6 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistTipsDelegate.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistTipsDelegate.kt
@@ -302,7 +302,7 @@ class AudioPlaylistTipsDelegate(private val activity: AudioPlayerContainerActivi
     fun close() {
         clearAllAnimations()
         activity.audioPlaylistTips.setGone()
-        Settings.getInstance(activity).putSingle(PREF_AUDIOPLAYER_TIPS_SHOWN, true)
+        Settings.getInstance(activity).putSingle(PREF_PLAYLIST_TIPS_SHOWN, true)
         currentTip = null
         activity.audioPlayer.playlistModel.service?.play()
         activity.shownTips.add(R.id.audio_playlist_tips)



More information about the Android mailing list