style: Apply clang-format change

At least I hope I copy-pased it correctly
This commit is contained in:
Kiri 2024-04-24 08:56:24 +00:00 committed by GitHub
parent efa7dc7ba4
commit 54a85ea15f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -712,10 +712,10 @@ auto waybar::modules::Battery::update() -> void {
event_box_.show(); event_box_.show();
auto icons = std::vector<std::string>{status + "-" + state, status, state}; auto icons = std::vector<std::string>{status + "-" + state, status, state};
label_.set_markup( label_.set_markup(
fmt::format(fmt::runtime(format), fmt::arg("capacity", capacity), fmt::arg("power", power), label_.set_markup(fmt::format(
fmt::arg("icon", getIcon(capacity, icons)), fmt::runtime(format), fmt::arg("capacity", capacity), fmt::arg("power", power),
fmt::arg("time", time_remaining_formatted), fmt::arg("cycles", cycles), fmt::arg("icon", getIcon(capacity, icons)), fmt::arg("time", time_remaining_formatted),
fmt::arg("health", fmt::format("{:.3}", health)))); fmt::arg("cycles", cycles), fmt::arg("health", fmt::format("{:.3}", health))));
} }
// Call parent update // Call parent update
ALabel::update(); ALabel::update();