Fix entering new password protected feeds

This commit is contained in:
ByteHamster 2021-08-17 19:17:33 +02:00
parent 8b183915be
commit 97809d340c
1 changed files with 1 additions and 2 deletions

View File

@ -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()));