Merge pull request #5348 from ByteHamster/fix-password

Fix entering new password protected feeds
This commit is contained in:
ByteHamster 2021-08-17 19:52:28 +02:00 committed by GitHub
commit df29d6444e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()));