add spaces to otr fingerprints copied to clipboard. fixes #2226

This commit is contained in:
Daniel Gultsch 2017-01-09 17:57:37 +01:00
parent b116926bb1
commit d192c529e0

View file

@ -907,7 +907,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
@Override
public void onClick(final View v) {
if (copyTextToClipboard(otrFingerprint, R.string.otr_fingerprint)) {
if (copyTextToClipboard(CryptoHelper.prettifyFingerprint(otrFingerprint), R.string.otr_fingerprint)) {
Toast.makeText(
EditAccountActivity.this,
R.string.toast_message_otr_fingerprint,