This commit is contained in:
Bnyro 2022-06-02 18:10:35 +02:00
parent 349862aa55
commit 1892f52a1c

View File

@ -50,7 +50,10 @@ class VideoOptionsDialog(private val videoId: String, context: Context) : Dialog
}
// Add Video to Playlist Dialog
1 -> {
val sharedPref = context?.getSharedPreferences("token", Context.MODE_PRIVATE)
val sharedPref = context?.getSharedPreferences(
"token",
Context.MODE_PRIVATE
)
val token = sharedPref?.getString("token", "")
if (token != "") {
val newFragment = AddtoPlaylistDialog()