1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 22:00:31 +05:30

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
}
}