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

Battery table_gap patch #1458

Merged
merged 1 commit into from
May 5, 2024
Merged

Battery table_gap patch #1458

merged 1 commit into from
May 5, 2024

Conversation

TheSkyentist
Copy link
Contributor

@TheSkyentist TheSkyentist commented May 3, 2024

Description

This changes the behavior of the battery widget when paired with the skip_table_gap.

Issue

Closes: #1457

Testing

Tested with and without the skip_table_gap argument, both times works as expected. I only have access to a macOS laptop so I cannot test on Windows or Linux. I'm not proficient in Rust, so I'm open to feedback.

  • Windows
  • macOS
  • Linux

Checklist

If relevant, ensure the following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts

@ClementTsang ClementTsang self-assigned this May 3, 2024
Copy link
Owner

@ClementTsang ClementTsang left a comment

Choose a reason for hiding this comment

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

Seems to do what it should from testing as well, I'll merge this in a bit.

@ClementTsang
Copy link
Owner

Also tested on linux, works fine there.

@ClementTsang
Copy link
Owner

@all-contributors please add @TheSkyentist for code.

Copy link
Contributor

@ClementTsang

I've put up a pull request to add @TheSkyentist! 🎉

@ClementTsang ClementTsang merged commit 3ded6a6 into ClementTsang:main May 5, 2024
32 of 35 checks passed
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 when using --hide_table_gap with Battery Widget.
2 participants