Invite Links Fixes

This commit is contained in:
Ilya Laktyushin
2021-02-14 19:08:01 +04:00
parent 656f4899c2
commit e6218f11f4
16 changed files with 3009 additions and 2765 deletions

View File

@@ -873,6 +873,12 @@ extension PresentationThemeDecoding {
} else if number === kCFBooleanFalse as NSNumber {
return false
}
} else if let string = value as? String {
if string.lowercased() == "true" {
return true
} else if string.lowercased() == "false" {
return false
}
}
throw PresentationThemeDecodingError.typeMismatch