From a4ebef75e94408d922e89896459ee9e43965b5c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Tue, 18 Aug 2020 20:31:03 +0200 Subject: [PATCH] Fix const visibility MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/dashboard/lib/Service/BackgroundService.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/lib/Service/BackgroundService.php b/apps/dashboard/lib/Service/BackgroundService.php index 4e154dd0170..da0de6117e6 100644 --- a/apps/dashboard/lib/Service/BackgroundService.php +++ b/apps/dashboard/lib/Service/BackgroundService.php @@ -36,10 +36,9 @@ use OCP\IConfig; class BackgroundService { - const THEMING_MODE_LIGHT = 'light'; - const THEMING_MODE_DARK = 'dark'; + public const THEMING_MODE_DARK = 'dark'; - const SHIPPED_BACKGROUNDS = [ + public const SHIPPED_BACKGROUNDS = [ 'anatoly-mikhaltsov-butterfly-wing-scale.jpg' => [ 'attribution' => 'Butterfly', 'attribution_url' => 'https://', -- 2.39.5