mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 15:22:39 +00:00
Use the app's language for accessibility.
This commit is contained in:
parent
ef4d85d6ca
commit
ed3a1b48e7
3 changed files with 3 additions and 0 deletions
|
@ -390,6 +390,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
|
|||
}
|
||||
[NSBundle mxk_setLanguage:language];
|
||||
[NSBundle mxk_setFallbackLanguage:@"en"];
|
||||
UIApplication.sharedApplication.accessibilityLanguage = language;
|
||||
|
||||
if (BuildSettings.disableRightToLeftLayout)
|
||||
{
|
||||
|
|
|
@ -4158,6 +4158,7 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
|
|||
|| (language == nil && [NSBundle mxk_language]))
|
||||
{
|
||||
[NSBundle mxk_setLanguage:language];
|
||||
UIApplication.sharedApplication.accessibilityLanguage = language;
|
||||
|
||||
// Store user settings
|
||||
NSUserDefaults *sharedUserDefaults = [MXKAppSettings standardAppSettings].sharedUserDefaults;
|
||||
|
|
1
changelog.d/pr-7493.bugfix
Normal file
1
changelog.d/pr-7493.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Make sure to use the chosen language for the VoiceOver voice too.
|
Loading…
Reference in a new issue