Auto-commit before update (2026-04-03 19:20)
This commit is contained in:
parent
f39eaff281
commit
e0b2575e45
1 changed files with 2 additions and 2 deletions
|
|
@ -917,7 +917,7 @@ struct MyMusicView: View {
|
|||
private func playAlbumNext(_ album: Album) {
|
||||
Task {
|
||||
if let detail = try? await serverManager.client.getAlbum(id: album.id),
|
||||
let songs = detail?.song {
|
||||
let songs = detail.song {
|
||||
await MainActor.run {
|
||||
for song in songs.reversed() { audioPlayer.playNext(song) }
|
||||
}
|
||||
|
|
@ -928,7 +928,7 @@ struct MyMusicView: View {
|
|||
private func playAlbumLater(_ album: Album) {
|
||||
Task {
|
||||
if let detail = try? await serverManager.client.getAlbum(id: album.id),
|
||||
let songs = detail?.song {
|
||||
let songs = detail.song {
|
||||
await MainActor.run {
|
||||
for song in songs { audioPlayer.playLater(song) }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue