diff options
author | Thomas Citharel <tcit@tcit.fr> | 2023-03-31 20:22:03 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-04-05 14:22:03 +0000 |
commit | 1bf2ef208452d0ee7da9cb24e70f01001c92c0cc (patch) | |
tree | 0250f70a02a675d6f0f84d5d2383feee96b9dab4 | |
parent | 89895effeec1f4f29a1a8196a6fd5c79702316d8 (diff) | |
download | nextcloud-server-1bf2ef208452d0ee7da9cb24e70f01001c92c0cc.tar.gz nextcloud-server-1bf2ef208452d0ee7da9cb24e70f01001c92c0cc.zip |
fix(dav): Use an icon with correct color for calendar user settings section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
-rw-r--r-- | apps/dav/img/calendar.svg | 1 | ||||
-rw-r--r-- | apps/settings/lib/Sections/Personal/Calendar.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/img/calendar.svg b/apps/dav/img/calendar.svg new file mode 100644 index 00000000000..fed04535dab --- /dev/null +++ b/apps/dav/img/calendar.svg @@ -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> diff --git a/apps/settings/lib/Sections/Personal/Calendar.php b/apps/settings/lib/Sections/Personal/Calendar.php index 3f4f100e121..a7689d0fe8d 100644 --- a/apps/settings/lib/Sections/Personal/Calendar.php +++ b/apps/settings/lib/Sections/Personal/Calendar.php @@ -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 { |