Hide niri/language widget if formatted string is empty

This commit is contained in:
Aleksi Hannula
2025-10-03 09:16:02 +03:00
parent 18a9835b7c
commit 41c34b15d6
+1 -1
View File
@@ -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 {