mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Inline CreatePlaylistDialog binding field.
This commit is contained in:
parent
43d82bb232
commit
3dbf49510a
@ -18,10 +18,8 @@ import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
|
||||
class CreatePlaylistDialog(
|
||||
private val onSuccess: () -> Unit = {}
|
||||
) : DialogFragment() {
|
||||
private lateinit var binding: DialogCreatePlaylistBinding
|
||||
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
binding = DialogCreatePlaylistBinding.inflate(layoutInflater)
|
||||
val binding = DialogCreatePlaylistBinding.inflate(layoutInflater)
|
||||
|
||||
binding.clonePlaylist.setOnClickListener {
|
||||
val playlistUrl = binding.playlistUrl.text.toString().toHttpUrlOrNull()
|
||||
|
Loading…
Reference in New Issue
Block a user