This commit is contained in:
Balazs Perlaki-Horvath 2024-02-20 09:40:25 +01:00
parent 7a73c17f29
commit 3651a4d98d

View File

@ -17,7 +17,7 @@ struct CategoriesToLanguages {
guard let languages = dictionary[category] else {
return false
}
return !languages.intersection(langCodes).isEmpty
return !languages.isDisjoint(with: langCodes)
}
static func save(_ dictionary: [Category: Set<String>]) {