From b628ee0c3e62f813e715c767df30036854d408c7 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 21 Sep 2025 10:31:10 +0200 Subject: [PATCH] fix hyprland xkb indicator cant unassign undefined warning --- .config/quickshell/ii/modules/bar/HyprlandXkbIndicator.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/ii/modules/bar/HyprlandXkbIndicator.qml b/.config/quickshell/ii/modules/bar/HyprlandXkbIndicator.qml index 0c33c98e8..3e85b829b 100644 --- a/.config/quickshell/ii/modules/bar/HyprlandXkbIndicator.qml +++ b/.config/quickshell/ii/modules/bar/HyprlandXkbIndicator.qml @@ -11,8 +11,9 @@ Loader { visible: active sourceComponent: Item { - implicitWidth: root.vertical ? undefined : layoutCodeText.implicitWidth - implicitHeight: root.vertical ? layoutCodeText.implicitHeight : undefined + implicitWidth: root.vertical ? null : layoutCodeText.implicitWidth + implicitHeight: root.vertical ? layoutCodeText.implicitHeight : null + StyledText { id: layoutCodeText anchors.centerIn: parent