mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Fix issue with creating quality profile
This commit is contained in:
parent
3e6ea2633e
commit
3be7a5a69f
@ -227,7 +227,7 @@ struct QualityProfileForm: View {
|
||||
}
|
||||
|
||||
func isFormatSelected(_ format: QualityProfile.Format) -> Bool {
|
||||
(initialized ? formats : qualityProfile.formats).contains(format)
|
||||
(initialized ? formats : (qualityProfile?.formats ?? [])).contains(format)
|
||||
}
|
||||
|
||||
func toggleFormat(_ format: QualityProfile.Format, value: Bool) {
|
||||
|
Loading…
Reference in New Issue
Block a user