Skip to content

Commit

Permalink
Fix unit
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Dec 30, 2020
1 parent c2231f9 commit 71ad6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/advanced_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ fn form_statistics<'a>(master: &mut ControlWidget<'a>, config: &Config) {
.battery_level
.map(|value| {
format!(
"{:.3}",
"{:.2}",
convert_cv_to_v(ConvertMode::WithDecimals, value as _)
)
})
Expand Down

0 comments on commit 71ad6f7

Please sign in to comment.