aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/pixart')
-rw-r--r--src/main/java/de/pixart/messenger/ui/EditAccountActivity.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
index 530180fae..152dd8fc1 100644
--- a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
@@ -291,13 +291,9 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
}
};
- private final OnClickListener mCancelButtonClickListener = new OnClickListener() {
-
- @Override
- public void onClick(final View v) {
- deleteAccountAndReturnIfNecessary();
- finish();
- }
+ private final OnClickListener mCancelButtonClickListener = v -> {
+ deleteAccountAndReturnIfNecessary();
+ finish();
};
private Toast mFetchingMamPrefsToast;
private String mSavedInstanceAccount;