Fix entering new password protected feeds
This commit is contained in:
parent
8b183915be
commit
97809d340c
|
@ -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()));
|
||||
|
|
Loading…
Reference in New Issue