Fix undefined reference in Bubble

This tends to spam the logs while loading/unloading timelines.

(cherry picked from commit 318432d561)
This commit is contained in:
Joshua Goins
2026-02-12 20:44:36 -05:00
parent 9cadce88bb
commit c439fa7e45

View File

@@ -117,7 +117,7 @@ QQC2.Control {
visible: root.showBackground
Kirigami.Theme.colorSet: Kirigami.Theme.View
Kirigami.Theme.inherit: false
color: if (root.author.isLocalMember && !root.isThreaded) {
color: if ((root.author?.isLocalMember ?? false) && !root.isThreaded) {
return Kirigami.ColorUtils.tintWithAlpha(Kirigami.Theme.backgroundColor, Kirigami.Theme.highlightColor, 0.15);
} else if (root.showHighlight) {
return Kirigami.Theme.positiveBackgroundColor;