mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fixes 1864 - Message forwarding room list filtering and pagination problems (#1867)
* Fixes 1864 - Message forwarding room list filtering and pagination problems * Fix SwiftFormat redundant closures body error * Prevent crashes when writing to the localization bundle cache from different threads * Fix unit tests * Fix unit tests * Address PR comments
This commit is contained in:
@@ -47,7 +47,10 @@ public extension Bundle {
|
||||
}
|
||||
|
||||
let bundle = Bundle(url: lprojURL)
|
||||
cachedLocalizationBundles[language] = bundle
|
||||
|
||||
DispatchQueue.main.async {
|
||||
cachedLocalizationBundles[language] = bundle
|
||||
}
|
||||
|
||||
return bundle
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user