Remove long-press action in settings.
This commit is contained in:
parent
a471ffa6d8
commit
6b37675a81
1 changed files with 0 additions and 7 deletions
|
@ -227,13 +227,6 @@ public class RecipientPreferenceActivity extends PassphraseRequiredActionBarActi
|
||||||
this.avatar.setBackgroundColor(recipient.getColor().toActionBarColor(this));
|
this.avatar.setBackgroundColor(recipient.getColor().toActionBarColor(this));
|
||||||
this.toolbarLayout.setTitle(recipient.toShortString(this));
|
this.toolbarLayout.setTitle(recipient.toShortString(this));
|
||||||
this.toolbarLayout.setContentScrimColor(recipient.getColor().toActionBarColor(this));
|
this.toolbarLayout.setContentScrimColor(recipient.getColor().toActionBarColor(this));
|
||||||
if (recipient.getUuid().isPresent()) {
|
|
||||||
toolbarLayout.setOnLongClickListener(v -> {
|
|
||||||
Util.copyToClipboard(this, recipient.getUuid().get().toString());
|
|
||||||
ServiceUtil.getVibrator(this).vibrate(200);
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue