mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40:30 +05:30
Merge pull request #3377 from nayeemdv/libissue2
close the dialog if name matched
This commit is contained in:
commit
5e488fb692
@ -43,7 +43,10 @@ class RenamePlaylistDialog(
|
||||
.show()
|
||||
return@setOnClickListener
|
||||
}
|
||||
if (newPlaylistName == currentPlaylistName) return@setOnClickListener
|
||||
if (newPlaylistName == currentPlaylistName) {
|
||||
dismiss()
|
||||
return@setOnClickListener
|
||||
}
|
||||
val appContext = requireContext().applicationContext
|
||||
|
||||
lifecycleScope.launch {
|
||||
|
Loading…
Reference in New Issue
Block a user