mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20: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