aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Activity
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-09-25 16:47:23 +0200
committerJoas Schilling <coding@schilljs.com>2024-09-25 16:47:23 +0200
commit1f188c30485fe9517bcc3350be86baa836d5526b (patch)
treee019c12ed8138698c3e7859552b0139352c47f01 /lib/public/Activity
parent6befdd6dd7cd20fe7f7036e4665bcfbb783d6803 (diff)
downloadnextcloud-server-1f188c30485fe9517bcc3350be86baa836d5526b.tar.gz
nextcloud-server-1f188c30485fe9517bcc3350be86baa836d5526b.zip
fix(icons): Document icon requirements for notifications and activitiesbugfix/noid/document-icon-requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Activity')
-rw-r--r--lib/public/Activity/IEvent.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Activity/IEvent.php b/lib/public/Activity/IEvent.php
index eba426c5ecf..6014b75123c 100644
--- a/lib/public/Activity/IEvent.php
+++ b/lib/public/Activity/IEvent.php
@@ -310,6 +310,10 @@ interface IEvent {
public function getLink(): string;
/**
+ * Set the absolute url for the icon (should be colored black or not have a color)
+ *
+ * It's automatically color inverted by clients when needed
+ *
* @param string $icon
* @return $this
* @throws InvalidValueException if the icon is invalid
@@ -319,6 +323,10 @@ interface IEvent {
public function setIcon(string $icon): self;
/**
+ * Get the absolute url for the icon (should be colored black or not have a color)
+ *
+ * It's automatically color inverted by clients when needed
+ *
* @return string
* @since 11.0.0
*/