Wording for no local addresses

This commit is contained in:
ismailgulek
2020-09-25 13:44:39 +03:00
parent 94abc60380
commit cd67bf19f8
3 changed files with 13 additions and 1 deletions
@@ -2652,7 +2652,14 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
addressCell.accessoryView = nil;
addressCell.accessoryType = UITableViewCellAccessoryNone;
addressCell.selectionStyle = UITableViewCellSelectionStyleNone;
addressCell.textLabel.text = NSLocalizedStringFromTable(@"room_details_no_local_addresses", @"Vector", nil);
if (mxRoom.isDirect)
{
addressCell.textLabel.text = NSLocalizedStringFromTable(@"dm_room_details_no_local_addresses", @"Vector", nil);
}
else
{
addressCell.textLabel.text = NSLocalizedStringFromTable(@"room_details_no_local_addresses", @"Vector", nil);
}
cell = addressCell;
}