MESSENGER_2910 buildfixes VII build successful

This commit is contained in:
Frank Rotermund
2022-05-03 16:45:58 +02:00
parent 7ba95405fa
commit 557848def2
9 changed files with 55 additions and 29 deletions
+1 -11
View File
@@ -2455,15 +2455,6 @@ TableViewSectionsDelegate>
cell.selectionStyle = UITableViewCellSelectionStyleDefault;
}
}
else if (section == SECTION_TAG_ADVANCED)
{
MXKTableViewCellWithTextView *configCell = [self textViewCellForTableView:tableView atIndexPath:indexPath];
configCell.mxkTextView.text = [NSString stringWithFormat:@"%@\n%@\n%@", [MatrixKitL10n settingsConfigUserId:account.mxCredentials.userId], [MatrixKitL10n settingsConfigHomeServer:account.mxCredentials.homeServer], [MatrixKitL10n settingsConfigIdentityServer:account.identityServerURL]];
configCell.mxkTextView.accessibilityIdentifier=@"SettingsVCConfigStaticText";
cell = configCell;
}
else if (section == SECTION_TAG_ABOUT)
{
if (row == ABOUT_VERSION_INDEX)
@@ -3819,13 +3810,12 @@ TableViewSectionsDelegate>
// Alert user
NSString *title = [error.userInfo valueForKey:NSLocalizedFailureReasonErrorKey];
NSString *msg = [error.userInfo valueForKey:NSLocalizedDescriptionKey];
if (!title)
{
title = [VectorL10n settingsFailToUpdateProfile];
msg = [NSBundle mxk_localizedStringForKey:@"settings_fail_to_update_profile_message"];
}
NSString *msg = [error.userInfo valueForKey:NSLocalizedDescriptionKey];
[currentAlert dismissViewControllerAnimated:NO completion:nil];