Use Style.darkMode instead of Theme.darkMode
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 25 Nov 2024 08:42:39 +0000 (16:42 +0800)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 25 Nov 2024 09:31:46 +0000 (09:31 +0000)
commit91ffccb1a8454d9500f024dd3d35ab6c2246704a
tree218dfb98c900b08640f89102f52184fc9f286307
parentd76c6eaac0024a67aeed8e5b8ee3f842860edaf9
Use Style.darkMode instead of Theme.darkMode

This way we avoid the computation that happens in Theme::darkMode each
time the property is accessed

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/tray/ActivityItemContent.qml
src/gui/tray/CallNotificationDialog.qml
src/gui/tray/UnifiedSearchResultListItem.qml
src/gui/tray/UserLine.qml