Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

fix: preference dialog render on-demand #6

Merged
merged 1 commit into from
Apr 30, 2022

Conversation

breezewish
Copy link
Contributor

Fix #5

The ProgressView() was always rendered, causing high CPU usage. This PR avoid rendering it when not in loading state.

@vercel
Copy link

vercel bot commented Apr 30, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
paimon-menu-bar ✅ Ready (Inspect) Visit Preview Apr 30, 2022 at 4:25AM (UTC)

Copy link
Owner

@spencerwooo spencerwooo left a comment

Choose a reason for hiding this comment

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

Nice, thanks for the catch!

@spencerwooo spencerwooo merged commit 9266980 into spencerwooo:main Apr 30, 2022
@spencerwooo spencerwooo added the bug Something isn't working label Apr 30, 2022
@breezewish breezewish deleted the fix-preference-render branch May 1, 2022 14:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

High CPU usage after preference is opened
2 participants