Made data in cryptography info copyable.

This commit is contained in:
Dawid Raczka
2018-08-23 18:10:42 +01:00
parent a38ea5fd46
commit e4622fa40e
@@ -2132,12 +2132,15 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
{
if (row == CRYPTOGRAPHY_INFO_INDEX)
{
MXKTableViewCell *cryptoCell = [self getDefaultTableViewCell:tableView];
cryptoCell.textLabel.attributedText = [self cryptographyInformation];
cryptoCell.textLabel.numberOfLines = 0;
MXKTableViewCellWithTextView *cryptoCell = [tableView dequeueReusableCellWithIdentifier:[MXKTableViewCellWithTextView defaultReuseIdentifier]];
if (!cryptoCell)
{
cryptoCell = [[MXKTableViewCellWithTextView alloc] init];
}
cryptoCell.selectionStyle = UITableViewCellSelectionStyleNone;
cryptoCell.mxkTextView.attributedText = [self cryptographyInformation];
cryptoCell.mxkTextViewLeadingConstraint.constant = cell.separatorInset.left;
cryptoCell.mxkTextViewTrailingConstraint.constant = cell.separatorInset.right;
cell = cryptoCell;
}