diff options
author | ByteHamster <info@bytehamster.com> | 2021-08-17 19:17:33 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-08-17 19:17:33 +0200 |
commit | 97809d340c7fe4e044bf28ffadef41064a649f24 (patch) | |
tree | a5a658ed779e0c3bba086d1caa3951585df46477 /app/src/main/java/de/danoeh/antennapod/dialog | |
parent | 8b183915bee1419a0577196b19414529fca75432 (diff) | |
download | AntennaPod-97809d340c7fe4e044bf28ffadef41064a649f24.zip |
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())); |