Merge pull request #9760 from nextcloud/fix/passcode-cancel

PassCodeActivity: enable cancel button when re-created in confirmation step
This commit is contained in:
Álvaro Brey 2022-01-27 12:33:57 +01:00 committed by GitHub
commit 6ccd2f91de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,8 +141,8 @@ public class PassCodeActivity extends AppCompatActivity implements Injectable {
binding.header.setText(R.string.pass_code_configure_your_pass_code);
binding.explanation.setVisibility(View.VISIBLE);
setCancelButtonEnabled(true);
}
setCancelButtonEnabled(true);
} else if (ACTION_CHECK_WITH_RESULT.equals(getIntent().getAction())) {
// pass code preference has just been disabled in SettingsActivity;