]> source.dussan.org Git - nextcloud-server.git/commit
files: Fix colormode detection for filelist 33299/head
authorFerdinand Thiessen <rpm@fthiessen.de>
Wed, 20 Jul 2022 17:21:32 +0000 (19:21 +0200)
committerFerdinand Thiessen <rpm@fthiessen.de>
Tue, 26 Jul 2022 10:19:42 +0000 (12:19 +0200)
commite4c825e58305481c4a13c17d18d33fb1267d9ea1
tree9d15f9b1055169c256facbae84a02a9786fe5f08
parent7615536977eda7f3bda5c29eaa780a323c97afc7
files: Fix colormode detection for filelist

When system default color theme is selected for theming, the `enabledThemes` array
is empty or just contains on entry `'default'`, in this case the color theme has
to be retrieved from the browser to ensure text like the modified date is readable.

This fixes #33298

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
apps/files/js/filelist.js