mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
ktlint
This commit is contained in:
parent
349862aa55
commit
1892f52a1c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user