make the cancel button clean the nickname in database

pull/510/head
Ryan ZHAO 3 years ago
parent 9afa0d5886
commit 51249d942d

@ -1361,6 +1361,8 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
homeButtonContainer.setOnClickListener(v -> onSupportNavigateUp());
cancelButtonContainer.setOnClickListener(v -> {
titleTextView.setText("");
SSKEnvironment.shared.getProfileManager().setDisplayName(this, getRecipient(), "");
titleTextView.clearFocus();
});
}

Loading…
Cancel
Save