mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +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
|
// Add Video to Playlist Dialog
|
||||||
1 -> {
|
1 -> {
|
||||||
val sharedPref = context?.getSharedPreferences("token", Context.MODE_PRIVATE)
|
val sharedPref = context?.getSharedPreferences(
|
||||||
|
"token",
|
||||||
|
Context.MODE_PRIVATE
|
||||||
|
)
|
||||||
val token = sharedPref?.getString("token", "")
|
val token = sharedPref?.getString("token", "")
|
||||||
if (token != "") {
|
if (token != "") {
|
||||||
val newFragment = AddtoPlaylistDialog()
|
val newFragment = AddtoPlaylistDialog()
|
||||||
|
Loading…
Reference in New Issue
Block a user