Skip to content

Commit

Permalink
Remove long-press action in settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Apr 21, 2020
1 parent a471ffa commit 6b37675
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,6 @@ private void setHeader(@NonNull Recipient recipient) {
this.avatar.setBackgroundColor(recipient.getColor().toActionBarColor(this));
this.toolbarLayout.setTitle(recipient.toShortString(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
Expand Down

0 comments on commit 6b37675

Please sign in to comment.