diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 13:47:45 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 13:47:45 +0800 |
| commit | 4ca23da8e139deaf4615a39e7e7ffbd7fbd3ab61 (patch) | |
| tree | f88ed87462a79518157cd829ade13eff24699b91 /modules/launcher/ContentList.qml | |
| parent | internal: remove padded rect (diff) | |
| download | caelestia-shell-4ca23da8e139deaf4615a39e7e7ffbd7fbd3ab61.tar.gz caelestia-shell-4ca23da8e139deaf4615a39e7e7ffbd7fbd3ab61.tar.bz2 caelestia-shell-4ca23da8e139deaf4615a39e7e7ffbd7fbd3ab61.zip | |
internal: fix null errors
Diffstat (limited to 'modules/launcher/ContentList.qml')
| -rw-r--r-- | modules/launcher/ContentList.qml | 4 |
1 files changed, 2 insertions, 2 deletions
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 |