mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-18 07:22:26 +00:00
navigate to playlist screen after copying
Changelog: changed
This commit is contained in:
parent
dd1c04bea1
commit
389798457b
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ class PlaylistFragment : MainFragment() {
|
||||||
newName = "${playlist.name} (Copy $copyNumber)"
|
newName = "${playlist.name} (Copy $copyNumber)"
|
||||||
}
|
}
|
||||||
StatePlaylists.instance.playlistStore.save(playlist.makeCopy(newName))
|
StatePlaylists.instance.playlistStore.save(playlist.makeCopy(newName))
|
||||||
|
_fragment.navigate<PlaylistsFragment>(withHistory = false)
|
||||||
UIDialogs.toast("Playlist copied")
|
UIDialogs.toast("Playlist copied")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue