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

Update title upon refresh #93

Merged
merged 3 commits into from
May 13, 2024
Merged

Update title upon refresh #93

merged 3 commits into from
May 13, 2024

Conversation

LeStegii
Copy link
Collaborator

Improvements

This PR fixes an issue with not updating the application title upon calling refresh().

Before, the title only changed upon calling show() as this called prepareDisplay() internally, which then changed the title.
refresh() however doesn't call prepareDisplay() and therefore didn't change the title.
Now refresh() will change the title as well.

Other

Maybe refresh() could use prepareDisplay() as well, but this calls the onShow() event method which might not be wanted during refresh. Open for feedback on this though.

@LeStegii LeStegii requested a review from Clashsoft May 10, 2024 14:47
@LeStegii LeStegii requested a review from Clashsoft May 13, 2024 06:48
@Clashsoft Clashsoft merged commit 4e20f5a into master May 13, 2024
5 checks passed
@Clashsoft Clashsoft deleted the fix/refresh-title branch May 13, 2024 07:08
@Clashsoft Clashsoft added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants