list: make adding selection to playlist easier
Make adding selection information to a playlist signifigantly easier than prior.
This commit is contained in:
parent
b4394c3a4a
commit
b4ffffedfd
3 changed files with 12 additions and 7 deletions
|
@ -5,6 +5,9 @@
|
|||
#### What's New
|
||||
- Menus have been refreshed with a cleaner look
|
||||
|
||||
#### What's Improved
|
||||
- Made "Add to Playlist" action more prominent in selection toolbar
|
||||
|
||||
#### What's Fixed
|
||||
- Fixed issue where one could not navigate to settings after navigating elsewhere
|
||||
- Fixed the queue list being non-scrollable in certain cases
|
||||
|
|
|
@ -63,15 +63,15 @@ abstract class SelectionFragment<VB : ViewBinding> :
|
|||
requireContext().showToast(R.string.lng_queue_added)
|
||||
true
|
||||
}
|
||||
R.id.action_selection_playlist_add -> {
|
||||
musicModel.addToPlaylist(selectionModel.take())
|
||||
true
|
||||
}
|
||||
R.id.action_selection_queue_add -> {
|
||||
playbackModel.addToQueue(selectionModel.take())
|
||||
requireContext().showToast(R.string.lng_queue_added)
|
||||
true
|
||||
}
|
||||
R.id.action_selection_playlist_add -> {
|
||||
musicModel.addToPlaylist(selectionModel.take())
|
||||
true
|
||||
}
|
||||
R.id.action_selection_play -> {
|
||||
playbackModel.play(selectionModel.take())
|
||||
true
|
||||
|
|
|
@ -6,13 +6,15 @@
|
|||
android:title="@string/lbl_play_next"
|
||||
android:icon="@drawable/ic_play_next_24"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/action_selection_playlist_add"
|
||||
android:title="@string/lbl_playlist_add"
|
||||
android:icon="@drawable/ic_playlist_add_24"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/action_selection_queue_add"
|
||||
android:title="@string/lbl_queue_add"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_selection_playlist_add"
|
||||
android:title="@string/lbl_playlist_add" />
|
||||
<item
|
||||
android:id="@+id/action_selection_play"
|
||||
android:title="@string/lbl_play_selected"
|
||||
|
|
Loading…
Reference in a new issue