diff --git a/CHANGES.rst b/CHANGES.rst index 13e713c53..90b2745c4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,9 @@ Changes in 0.7.2 (2018-08-) Improvements: * Upgrade MatrixKit version (v0.8.1). * Server Quota Notices in Riot (#1937). + + Bug fix: + * User defaults: the preset application language (if any) is ignored. Changes in 0.7.1 (2018-08-17) =============================================== diff --git a/Riot/AppDelegate.m b/Riot/AppDelegate.m index 5ca74f753..b31e9c60d 100644 --- a/Riot/AppDelegate.m +++ b/Riot/AppDelegate.m @@ -400,6 +400,8 @@ NSString *const kAppDelegateNetworkStatusDidChangeNotification = @"kAppDelegateN NSLog(@"MatrixSDK version: %@", MatrixSDKVersion); NSLog(@"Build: %@\n", build); NSLog(@"------------------------------\n"); + + [self setupUserDefaults]; // Set up runtime language and fallback by considering the userDefaults object shared within the application group. NSUserDefaults *sharedUserDefaults = [MXKAppSettings standardAppSettings].sharedUserDefaults; @@ -462,8 +464,6 @@ NSString *const kAppDelegateNetworkStatusDidChangeNotification = @"kAppDelegateN _isAppForeground = NO; - [self setupUserDefaults]; - // Configure our analytics. It will indeed start if the option is enabled [MXSDKOptions sharedInstance].analyticsDelegate = [Analytics sharedInstance]; [DecryptionFailureTracker sharedInstance].delegate = [Analytics sharedInstance];