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
|
#### What's New
|
||||||
- Menus have been refreshed with a cleaner look
|
- Menus have been refreshed with a cleaner look
|
||||||
|
|
||||||
|
#### What's Improved
|
||||||
|
- Made "Add to Playlist" action more prominent in selection toolbar
|
||||||
|
|
||||||
#### What's Fixed
|
#### What's Fixed
|
||||||
- Fixed issue where one could not navigate to settings after navigating elsewhere
|
- Fixed issue where one could not navigate to settings after navigating elsewhere
|
||||||
- Fixed the queue list being non-scrollable in certain cases
|
- 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)
|
requireContext().showToast(R.string.lng_queue_added)
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
R.id.action_selection_playlist_add -> {
|
||||||
|
musicModel.addToPlaylist(selectionModel.take())
|
||||||
|
true
|
||||||
|
}
|
||||||
R.id.action_selection_queue_add -> {
|
R.id.action_selection_queue_add -> {
|
||||||
playbackModel.addToQueue(selectionModel.take())
|
playbackModel.addToQueue(selectionModel.take())
|
||||||
requireContext().showToast(R.string.lng_queue_added)
|
requireContext().showToast(R.string.lng_queue_added)
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
R.id.action_selection_playlist_add -> {
|
|
||||||
musicModel.addToPlaylist(selectionModel.take())
|
|
||||||
true
|
|
||||||
}
|
|
||||||
R.id.action_selection_play -> {
|
R.id.action_selection_play -> {
|
||||||
playbackModel.play(selectionModel.take())
|
playbackModel.play(selectionModel.take())
|
||||||
true
|
true
|
||||||
|
|
|
@ -6,13 +6,15 @@
|
||||||
android:title="@string/lbl_play_next"
|
android:title="@string/lbl_play_next"
|
||||||
android:icon="@drawable/ic_play_next_24"
|
android:icon="@drawable/ic_play_next_24"
|
||||||
app:showAsAction="ifRoom"/>
|
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
|
<item
|
||||||
android:id="@+id/action_selection_queue_add"
|
android:id="@+id/action_selection_queue_add"
|
||||||
android:title="@string/lbl_queue_add"
|
android:title="@string/lbl_queue_add"
|
||||||
app:showAsAction="never" />
|
app:showAsAction="never" />
|
||||||
<item
|
|
||||||
android:id="@+id/action_selection_playlist_add"
|
|
||||||
android:title="@string/lbl_playlist_add" />
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_selection_play"
|
android:id="@+id/action_selection_play"
|
||||||
android:title="@string/lbl_play_selected"
|
android:title="@string/lbl_play_selected"
|
||||||
|
|
Loading…
Reference in a new issue