refactor: remove useless param

This commit is contained in:
Alex
2019-05-16 09:39:06 +02:00
parent 7e8eee0571
commit 963d4f68e4
3 changed files with 5 additions and 5 deletions

View File

@@ -130,7 +130,7 @@ auto waybar::modules::Battery::update() -> void {
}
std::transform(status.begin(), status.end(), status.begin(), ::tolower);
auto format = format_;
auto state = getState(capacity, true, true);
auto state = getState(capacity, true);
if (!old_status_.empty()) {
label_.get_style_context()->remove_class(old_status_);
}