aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Collaboration
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-03-13 20:25:22 +0100
committerJulius Härtl <jus@bitgrid.net>2019-03-19 13:06:55 +0100
commit403b673b93b98b7158838c232581ad221aeccd09 (patch)
treea1ae79fa9ab7d91bf6fb6acc14da81a5b36aef8f /lib/public/Collaboration
parentff6f105ea6a37107e7c6e12bcace010490c93c58 (diff)
downloadnextcloud-server-403b673b93b98b7158838c232581ad221aeccd09.tar.gz
nextcloud-server-403b673b93b98b7158838c232581ad221aeccd09.zip
Replace the icon-class with an absolute link to an image
Otherwise the icon can not be displayed in mobile apps Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Collaboration')
-rw-r--r--lib/public/Collaboration/Resources/IProvider.php2
-rw-r--r--lib/public/Collaboration/Resources/IResource.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/Collaboration/Resources/IProvider.php b/lib/public/Collaboration/Resources/IProvider.php
index 376a816a5cb..16ab16c0d1b 100644
--- a/lib/public/Collaboration/Resources/IProvider.php
+++ b/lib/public/Collaboration/Resources/IProvider.php
@@ -53,7 +53,7 @@ interface IProvider {
* @return string
* @since 16.0.0
*/
- public function getIconClass(IResource $resource): string;
+ public function getIconLink(IResource $resource): string;
/**
* Get the link to a resource
diff --git a/lib/public/Collaboration/Resources/IResource.php b/lib/public/Collaboration/Resources/IResource.php
index 609a283c2d8..0a3e36a33ce 100644
--- a/lib/public/Collaboration/Resources/IResource.php
+++ b/lib/public/Collaboration/Resources/IResource.php
@@ -48,10 +48,11 @@ interface IResource {
public function getName(): string;
/**
+ * Absolute link to an icon to represent the resource
* @return string
* @since 16.0.0
*/
- public function getIconClass(): string;
+ public function getIconLink(): string;
/**
* @return string