mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Language settings: Update comments
This commit is contained in:
parent
6ca647d55b
commit
d8c057dc07
1 changed files with 2 additions and 1 deletions
|
@ -3562,7 +3562,8 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
|
||||||
[[NSUserDefaults standardUserDefaults] setObject:language forKey:@"appLanguage"];
|
[[NSUserDefaults standardUserDefaults] setObject:language forKey:@"appLanguage"];
|
||||||
[[NSUserDefaults standardUserDefaults] synchronize];
|
[[NSUserDefaults standardUserDefaults] synchronize];
|
||||||
|
|
||||||
// Do a full sync to recompute matrix data (rooms data sources and summaries)
|
// Do a reload in order to recompute strings in the new language
|
||||||
|
// Note that "reloadMatrixSessions:NO" will reset room summaries
|
||||||
[self startActivityIndicator];
|
[self startActivityIndicator];
|
||||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.3 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.3 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue