]> source.dussan.org Git - nextcloud-server.git/commit
dashboard: Fix dark theme detection 33300/head
authorFerdinand Thiessen <rpm@fthiessen.de>
Wed, 20 Jul 2022 19:11:57 +0000 (21:11 +0200)
committernextcloud-command <nextcloud-command@users.noreply.github.com>
Tue, 26 Jul 2022 11:54:35 +0000 (11:54 +0000)
commit800f6b350ea9ec504c14761f5c9738493eb1d241
tree90f9fa66883a19d88ce22e1fceaad5e36bb3bc31
parent7615536977eda7f3bda5c29eaa780a323c97afc7
dashboard: Fix dark theme detection

When system default color theme is selected for theming,
the enabledThemes array is empty or just contains one entry 'default',
in this case the color theme has to be retrieved from the browser.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
apps/dashboard/src/helpers/getBackgroundUrl.js
dist/dashboard-main.js
dist/dashboard-main.js.map