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

dark/light toggle results in refreshing to stop #821

Open
marcelja opened this issue Mar 3, 2022 · 1 comment
Open

dark/light toggle results in refreshing to stop #821

marcelja opened this issue Mar 3, 2022 · 1 comment

Comments

@marcelja
Copy link

marcelja commented Mar 3, 2022

When I switch between dark/light mode, the bar does not refresh anymore.
Example:

❯ cat test.1s.sh               
#!/usr/bin/env bash
export PATH='/bin:/usr/local/bin:/usr/bin:$PATH'

date
Screen.Recording.2022-03-03.at.18.20.40.mov

macOS version 12.2.1
xbar v2.1.7-beta

@gustavoilhamorais
Copy link

Was it fixed? I'm currently facing a bug, that when you toggle from dark/light, it does not update the current state, so to toggle again I have to quit XBar and reopen it.

Detailed explanation of the bug:
Dark is on;
Click on extension icon;
Click on 'Deactivate Dark Mode' button;
Light is on;
The extension's text still is "Deactivate Dark Mode", while it should be "Activate Dark Mode";
Cause of that, user is not able to toggle once again;
Now, to use 'toggle' function, user has to kill XBar and relaunch it;
Refreshing extension has no effect;
It does not affect XBar neither other extensions.

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

No branches or pull requests

2 participants