mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix some warnings. (#3416)
This commit is contained in:
@@ -13,7 +13,7 @@ extension Dictionary {
|
||||
options: [.fragmentsAllowed, .sortedKeys]) else {
|
||||
return nil
|
||||
}
|
||||
return String(decoding: data, as: UTF8.self)
|
||||
return String(data: data, encoding: .utf8)
|
||||
}
|
||||
|
||||
/// Returns a dictionary containing the original values keyed by the results of mapping the given closure over its keys.
|
||||
|
||||
Reference in New Issue
Block a user