Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move requestWindowFeature before onCreate #249

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

notandyvee
Copy link
Collaborator

@notandyvee notandyvee commented Jul 5, 2024

What

When updating kotlin on simple note, it crashed due to the requestWindowFeature being called after onCreate. I don't fully understand the issue. But a quick google search pointed out that it should be called before onCreate.

Test

You can load the PR linked to see how it works. Before the app loading crashed immediately. No immediate crash means it's fixed.

@notandyvee notandyvee changed the title [DO NOT MERGE] Move requestWindowFeature before onCreate Move requestWindowFeature before onCreate Jul 8, 2024
@notandyvee notandyvee requested a review from danilo04 July 8, 2024 15:49
Copy link
Contributor

@danilo04 danilo04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @notandyvee, I tested your change on the simplenote PR and everything is working as expected.

@notandyvee notandyvee merged commit b77345e into trunk Jul 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants