mirror of
https://github.com/yattee/yattee.git
synced 2024-11-09 15:58:20 +00:00
Fix quality profile form
This commit is contained in:
parent
dd0a966a9f
commit
9a257ec897
@ -227,7 +227,7 @@ struct QualityProfileForm: View {
|
||||
}
|
||||
|
||||
func isFormatSelected(_ format: QualityProfile.Format) -> Bool {
|
||||
(initialized ? formats : (qualityProfile?.formats ?? [])).contains(format)
|
||||
(initialized || qualityProfile.isNil ? formats : qualityProfile.formats).contains(format)
|
||||
}
|
||||
|
||||
func toggleFormat(_ format: QualityProfile.Format, value: Bool) {
|
||||
|
Loading…
Reference in New Issue
Block a user