Fix possible crash

This commit is contained in:
Arkadiusz Fal 2022-12-21 00:22:36 +01:00
parent 3988e0ca9f
commit 53092e48cf

View File

@ -166,7 +166,7 @@ extension PlayerModel {
case .queue, .shuffle:
return !queue.isEmpty
case .related:
return !autoplayItem.isNil
return autoplayItem != nil
}
}