Skip to content

Commit

Permalink
version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ohuu committed Sep 30, 2024
1 parent 271e82b commit 1c5ce40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ async fn main() -> anyhow::Result<()> {
true => "--".bright_black(),
false => {
if trend > 0.0 {
format!("↓ {:.3}Wh", trend).green()
} else {
format!("↑ {:.3}Wh", trend.abs()).red()
} else {
format!("↓ {:.3}Wh", trend).green()
}
}
};
Expand Down

0 comments on commit 1c5ce40

Please sign in to comment.