mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Bug report: add "locale", the device language and "app_language", the lang used within the app
This commit is contained in:
@@ -222,6 +222,10 @@
|
||||
{
|
||||
userInfo[@"device_id"] = mainAccount.mxSession.matrixRestClient.credentials.deviceId;
|
||||
}
|
||||
|
||||
userInfo[@"locale"] = [NSLocale preferredLanguages][0];
|
||||
userInfo[@"app_language"] = [[NSBundle mainBundle] preferredLocalizations][0];
|
||||
|
||||
bugReportRestClient.others = userInfo;
|
||||
|
||||
// Screenshot
|
||||
|
||||
Reference in New Issue
Block a user