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

Hide the battery widget when the status is unknown #2319

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

rrrapha
Copy link
Contributor

@rrrapha rrrapha commented Oct 8, 2019

This was briefly discussed here: #2283 (comment)

The widget is hidden by default and only becomes visible once the status is known.
This means that the unknown-icons are never presented to the user.

(The status can be unknown if there is no battery present or if there are problems reading the status. I think in case of problems we should print/log errors instead of showing icons)

@daschuer
Copy link
Member

LGTM, thank you.

@daschuer daschuer merged commit 6bc55a5 into mixxxdj:master Oct 17, 2019
@rrrapha rrrapha deleted the battery-hide branch October 17, 2019 20:37
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.

2 participants