From 4ca23da8e139deaf4615a39e7e7ffbd7fbd3ab61 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 24 May 2025 13:47:45 +0800 Subject: internal: fix null errors --- modules/launcher/ContentList.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/launcher/ContentList.qml') diff --git a/modules/launcher/ContentList.qml b/modules/launcher/ContentList.qml index b15daa6..62d5305 100644 --- a/modules/launcher/ContentList.qml +++ b/modules/launcher/ContentList.qml @@ -124,8 +124,8 @@ Item { Item { id: empty - opacity: root.currentList.count === 0 ? 1 : 0 - scale: root.currentList.count === 0 ? 1 : 0.5 + opacity: root.currentList?.count === 0 ? 1 : 0 + scale: root.currentList?.count === 0 ? 1 : 0.5 implicitWidth: icon.width + text.width + Appearance.spacing.small implicitHeight: icon.height -- cgit v1.2.3-freya