diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-15 22:00:47 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-15 22:00:47 +1000 |
| commit | d1ad000a8e5d0dad5fdfedc2558d6a3736a5bd63 (patch) | |
| tree | 68b1f191c154caffa90ead6b68a7e0de8711a7c3 /modules/bar | |
| parent | utilities/record: fix list expand anim (diff) | |
| download | caelestia-shell-d1ad000a8e5d0dad5fdfedc2558d6a3736a5bd63.tar.gz caelestia-shell-d1ad000a8e5d0dad5fdfedc2558d6a3736a5bd63.tar.bz2 caelestia-shell-d1ad000a8e5d0dad5fdfedc2558d6a3736a5bd63.zip | |
internal: fix null warnings
Diffstat (limited to 'modules/bar')
| -rw-r--r-- | modules/bar/components/StatusIcons.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/components/StatusIcons.qml b/modules/bar/components/StatusIcons.qml index 839a61a..c1ad697 100644 --- a/modules/bar/components/StatusIcons.qml +++ b/modules/bar/components/StatusIcons.qml @@ -187,12 +187,12 @@ StyledRect { required property BluetoothDevice modelData animate: true - text: Icons.getBluetoothIcon(modelData.icon) + text: Icons.getBluetoothIcon(modelData?.icon) color: root.colour fill: 1 SequentialAnimation on opacity { - running: device.modelData.state !== BluetoothDeviceState.Connected + running: device.modelData?.state !== BluetoothDeviceState.Connected alwaysRunToEnd: true loops: Animation.Infinite |