diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2021-08-17 19:52:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 19:52:28 +0200 |
commit | df29d6444ee41c442270f361da3c9795f03725db (patch) | |
tree | 82362c0fb6fd531c13bde0e67f0c9f82969928ea /app | |
parent | e532793597d5c416e2d9df32a817e861aaf77761 (diff) | |
parent | 97809d340c7fe4e044bf28ffadef41064a649f24 (diff) | |
download | AntennaPod-df29d6444ee41c442270f361da3c9795f03725db.zip |
Merge pull request #5348 from ByteHamster/fix-password
Fix entering new password protected feeds
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/AuthenticationDialog.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/AuthenticationDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/AuthenticationDialog.java index d7b2dc536..160afcf86 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/AuthenticationDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/AuthenticationDialog.java @@ -40,8 +40,7 @@ public abstract class AuthenticationDialog extends AlertDialog.Builder { }); setOnCancelListener(dialog -> onCancelled()); - setOnDismissListener(dialog -> onCancelled()); - setNegativeButton(R.string.cancel_label, null); + setNegativeButton(R.string.cancel_label, (dialog, which) -> onCancelled()); setPositiveButton(R.string.confirm_label, (dialog, which) -> onConfirmed(viewBinding.usernameEditText.getText().toString(), viewBinding.passwordEditText.getText().toString())); |