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

feat: refactor net status view #222

Merged
merged 2 commits into from
Apr 27, 2023
Merged

feat: refactor net status view #222

merged 2 commits into from
Apr 27, 2023

Conversation

GeopJr
Copy link
Owner

@GeopJr GeopJr commented Apr 27, 2023

fix: #145 (again)

1/2 of #204

The network status / message view was messy since it had 3 different properties that had to change the view and keep track of the other widgets and sub-stacks (e.g. if the title was set, it had to change the sub-stack to "message" and check if there's a "message" (and whether it's empty) etc etc etc)

It's now a bit easier to maintain by setting status to StatusMessage?

(should probably be renamed from status to something else as it might conflict with fedi's statuses)

@GeopJr GeopJr marked this pull request as ready for review April 27, 2023 17:36
@GeopJr GeopJr merged commit 9f74fcb into main Apr 27, 2023
@GeopJr GeopJr deleted the feat/refactor-net-status-view branch April 27, 2023 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Constant CPU usage while idle
1 participant