Fix undefined reference in Bubble

This tends to spam the logs while loading/unloading timelines.
This commit is contained in:
Joshua Goins
2026-02-12 20:44:36 -05:00
parent afa699381b
commit 318432d561

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;