Use Style.darkMode instead of Theme.darkMode
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 25 Nov 2024 08:42:39 +0000 (16:42 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 25 Nov 2024 08:42:39 +0000 (16:42 +0800)
commit84fb45a9365c6f5080a9c18fe871fd4d0b93ab71
tree4cdfb5bbd827c3a63752240907baea9ac098bb78
parentaceff3f52908869e2de113caf1cfa68507a75278
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