mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
merged element 1.8.10
This commit is contained in:
@@ -383,12 +383,12 @@ enum {
|
||||
if (deviceInfo.trustLevel.isVerified)
|
||||
{
|
||||
cell.textLabel.text = [VectorL10n manageSessionTrusted];
|
||||
cell.imageView.image = [UIImage imageNamed:@"encryption_trusted"];
|
||||
cell.imageView.image = AssetImages.encryptionTrusted.image;
|
||||
}
|
||||
else
|
||||
{
|
||||
cell.textLabel.text = [VectorL10n manageSessionNotTrusted];
|
||||
cell.imageView.image = [UIImage imageNamed:@"encryption_warning"];
|
||||
cell.imageView.image = AssetImages.encryptionWarning.image;
|
||||
}
|
||||
|
||||
if (BuildSettings.bwiDisableSecuritySettingsUntrustedDevices && !deviceInfo.trustLevel.isVerified) {
|
||||
@@ -615,8 +615,8 @@ enum {
|
||||
[currentAlert dismissViewControllerAnimated:NO completion:nil];
|
||||
|
||||
MXWeakify(self);
|
||||
currentAlert = [UIAlertController alertControllerWithTitle:[MatrixKitL10n deviceDetailsRenamePromptTitle]
|
||||
message:[MatrixKitL10n deviceDetailsRenamePromptMessage]
|
||||
currentAlert = [UIAlertController alertControllerWithTitle:[VectorL10n deviceDetailsRenamePromptTitle]
|
||||
message:[VectorL10n deviceDetailsRenamePromptMessage]
|
||||
preferredStyle:UIAlertControllerStyleAlert];
|
||||
|
||||
[currentAlert addTextFieldWithConfigurationHandler:^(UITextField *textField) {
|
||||
@@ -627,7 +627,7 @@ enum {
|
||||
textField.text = self->device.displayName;
|
||||
}];
|
||||
|
||||
[currentAlert addAction:[UIAlertAction actionWithTitle:[MatrixKitL10n cancel]
|
||||
[currentAlert addAction:[UIAlertAction actionWithTitle:[VectorL10n cancel]
|
||||
style:UIAlertActionStyleDefault
|
||||
handler:^(UIAlertAction * action)
|
||||
{
|
||||
@@ -635,7 +635,7 @@ enum {
|
||||
self->currentAlert = nil;
|
||||
}]];
|
||||
|
||||
[currentAlert addAction:[UIAlertAction actionWithTitle:[MatrixKitL10n ok]
|
||||
[currentAlert addAction:[UIAlertAction actionWithTitle:[VectorL10n ok]
|
||||
style:UIAlertActionStyleDefault
|
||||
handler:^(UIAlertAction * action)
|
||||
{
|
||||
@@ -695,8 +695,8 @@ enum {
|
||||
self.reauthenticationCoordinatorBridgePresenter = nil;
|
||||
};
|
||||
|
||||
NSString *title = [MatrixKitL10n deviceDetailsDeletePromptTitle];
|
||||
NSString *message = [MatrixKitL10n deviceDetailsDeletePromptMessage];
|
||||
NSString *title = [VectorL10n deviceDetailsDeletePromptTitle];
|
||||
NSString *message = [VectorL10n deviceDetailsDeletePromptMessage];
|
||||
|
||||
AuthenticatedEndpointRequest *deleteDeviceRequest = [[AuthenticatedEndpointRequest alloc] initWithPath:[NSString stringWithFormat:@"%@/devices/%@", kMXAPIPrefixPathR0, [MXTools encodeURIComponent:device.deviceId]] httpMethod:@"DELETE"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user