Hide niri/language widget if formatted string is empty
This commit is contained in:
@@ -84,7 +84,7 @@ void Language::doUpdate() {
|
||||
|
||||
spdlog::debug("niri language formatted layout name {}", layoutName);
|
||||
|
||||
if (!format_.empty()) {
|
||||
if (!layoutName.empty()) {
|
||||
label_.show();
|
||||
label_.set_markup(layoutName);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user