mirror of https://github.com/polybar/polybar.git
fix(modules): Remove redundant if statement
This commit is contained in:
parent
3ce06585ab
commit
9da06c0ec2
|
@ -38,9 +38,7 @@ namespace modules {
|
||||||
builder->space(padding);
|
builder->space(padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!output.empty()) {
|
|
||||||
builder->append(move(output));
|
builder->append(move(output));
|
||||||
}
|
|
||||||
|
|
||||||
if (padding > 0) {
|
if (padding > 0) {
|
||||||
builder->space(padding);
|
builder->space(padding);
|
||||||
|
|
Loading…
Reference in New Issue