summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-05-17 13:37:52 +0200
committerGitHub <noreply@github.com>2023-05-17 13:37:52 +0200
commitf341d631d1949276ed34370390d56bf9fba4684c (patch)
treea8d8228f8ae3f1809daa77e1f3406dfbe0bb7c7d
parent0c3439e1512c2f11e90105b3660dc113e35f9bd1 (diff)
parent1bf2ef208452d0ee7da9cb24e70f01001c92c0cc (diff)
downloadnextcloud-server-f341d631d1949276ed34370390d56bf9fba4684c.tar.gz
nextcloud-server-f341d631d1949276ed34370390d56bf9fba4684c.zip
Merge pull request #37601 from nextcloud/backport/37526/stable26
[stable26] fix(dav): Use an icon with correct color for calendar user settings section
-rw-r--r--apps/dav/img/calendar.svg1
-rw-r--r--apps/settings/lib/Sections/Personal/Calendar.php2
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 {