mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Fix possible crash
This commit is contained in:
parent
3988e0ca9f
commit
53092e48cf
@ -166,7 +166,7 @@ extension PlayerModel {
|
||||
case .queue, .shuffle:
|
||||
return !queue.isEmpty
|
||||
case .related:
|
||||
return !autoplayItem.isNil
|
||||
return autoplayItem != nil
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user