From 1a9d78fb488985633f803c525d65cfd398a64440 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 10 Jan 2026 11:35:05 +0100 Subject: [PATCH] sidebar: add empty page when only anime tab is closet-enabled --- .../ii/modules/ii/sidebarLeft/SidebarLeftContent.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/ii/sidebarLeft/SidebarLeftContent.qml b/dots/.config/quickshell/ii/modules/ii/sidebarLeft/SidebarLeftContent.qml index f9e7ec100..654b46dfc 100644 --- a/dots/.config/quickshell/ii/modules/ii/sidebarLeft/SidebarLeftContent.qml +++ b/dots/.config/quickshell/ii/modules/ii/sidebarLeft/SidebarLeftContent.qml @@ -86,8 +86,8 @@ Item { contentChildren: [ ...(root.aiChatEnabled ? [aiChat.createObject()] : []), ...(root.translatorEnabled ? [translator.createObject()] : []), + ...((root.tabButtonList.length === 0 || (!root.aiChatEnabled && !root.translatorEnabled && root.animeCloset)) ? [placeholder.createObject()] : []), ...(root.animeEnabled ? [anime.createObject()] : []), - ...(root.tabButtonList.length === 0 ? [placeholder.createObject()] : []) ] } } @@ -109,7 +109,7 @@ Item { Item { StyledText { anchors.centerIn: parent - text: Translation.tr("Enjoy your empty sidebar...") + text: root.animeCloset ? Translation.tr("Nothing") : Translation.tr("Enjoy your empty sidebar...") color: Appearance.colors.colSubtext } }