-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fixes "Menu Bar Items Not Updating (#1684)" #1697
Conversation
I fix lint errors and I can review 👍 |
By the way, the SwiftLint error feels a bit overly constraining, especially considering it limits the class body to 250 lines and my code currently has 251; is there a way to perhaps silence the warning, or is that not recommended? |
Yeah I don't understand why it gives an error now on that file. The length of the class is way longer than 251 lines... |
@thecoolwinter bump? |
Yeah swiftlint errors can be annoying, especially when it's one line over the limit. But in this case we can just move some code to an extension. I believe all the toolbar code can be moved to a new file without modification (lines 141-238ish). Just a new file in the same dir named |
@thecoolwinter does this look good? |
Looks good, thanks for your patience! |
@allcontributors add @danielzsh for bug |
I've put up a pull request to add @danielzsh! 🎉 |
Description
The issue is described in detail in #1684.
I tried to resolve a related issue, #1696, but it was harder than I anticipated since the state of the Utility Area is stored separate to the other panes for some reason. Any ideas to resolve this slight issue would be welcome :)EDIT: I think I fixed it!
Related Issues
Checklist
Screenshots
Screen.Recording.2024-05-01.at.9.08.19.AM.mov