mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(icons): Document icon requirements for notifications and activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
6befdd6dd7
commit
1f188c3048
2 changed files with 16 additions and 0 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -249,6 +249,10 @@ interface INotification {
|
|||
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
|
||||
|
|
@ -258,6 +262,10 @@ interface INotification {
|
|||
public function setIcon(string $icon): INotification;
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue