diff options
author | ByteHamster <info@bytehamster.com> | 2021-08-17 19:17:33 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-08-17 19:54:23 +0200 |
commit | 4772959ebe018980c8eaa67ede75ad5a2d764ae3 (patch) | |
tree | 1eee86e5b8249f0e7ce085de27719659391468bd /app/src/main/java/de/danoeh/antennapod/dialog | |
parent | b80c26615c4ccc82a9ba1e5a3ce4beb6ce1d0f56 (diff) | |
download | AntennaPod-4772959ebe018980c8eaa67ede75ad5a2d764ae3.zip |
Backport: Fix entering new password protected feeds
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/dialog')
-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())); |