]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(dav): Use an icon with correct color for calendar user settings section 37526/head
authorThomas Citharel <tcit@tcit.fr>
Fri, 31 Mar 2023 18:22:03 +0000 (20:22 +0200)
committerThomas Citharel <tcit@tcit.fr>
Tue, 4 Apr 2023 08:07:37 +0000 (10:07 +0200)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
apps/dav/img/calendar.svg [new file with mode: 0644]
apps/settings/lib/Sections/Personal/Calendar.php

diff --git a/apps/dav/img/calendar.svg b/apps/dav/img/calendar.svg
new file mode 100644 (file)
index 0000000..fed0453
--- /dev/null
@@ -0,0 +1 @@
+<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg" version="1.1" viewbox="0 0 16 16"><path fill="#000" d="m4 1c-0.5 0-1 0.5-1 1v2c0 0.5 0.5 1 1 1s1-0.5 1-1v-2c0-0.5-0.5-1-1-1zm8 0c-0.5 0-1 0.5-1 1v2c0 0.5 0.5 1 1 1s1-0.5 1-1v-2c0-0.5-0.5-1-1-1zm-6.5 2v1c0 0.831-0.5 1.5-1.5 1.5s-1.5-0.5-1.5-1.5v-0.9375c-0.8841 0.227-1.5 1.0247-1.5 1.9375v8c0 1.108 0.892 2 2 2h10c1.108 0 2-0.892 2-2v-8c0-0.9128-0.61588-1.7105-1.5-1.9375v0.9375c0 0.831-0.5 1.5-1.5 1.5s-1.5-0.5-1.5-1.5v-1zm7.5 5v5h-10v-5z"/></svg>
index 3f4f100e121f06b1ffbbc508b6969ea5085788ca..a7689d0fe8d059df3ad7d60698bc368a3febd2f7 100644 (file)
@@ -38,7 +38,7 @@ class Calendar implements IIconSection {
        }
 
        public function getIcon(): string {
-               return $this->urlGenerator->imagePath('core', 'caldav/time.svg');
+               return $this->urlGenerator->imagePath('dav', 'calendar.svg');
        }
 
        public function getID(): string {