Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-03-13 22:25:22 +0300
committerJulius Härtl <jus@bitgrid.net>2019-03-19 15:06:55 +0300
commit403b673b93b98b7158838c232581ad221aeccd09 (patch)
treea1ae79fa9ab7d91bf6fb6acc14da81a5b36aef8f /core/Controller
parentff6f105ea6a37107e7c6e12bcace010490c93c58 (diff)
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 'core/Controller')
-rw-r--r--core/Controller/CollaborationResourcesController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/CollaborationResourcesController.php b/core/Controller/CollaborationResourcesController.php
index 4278334c2b9..3699746f735 100644
--- a/core/Controller/CollaborationResourcesController.php
+++ b/core/Controller/CollaborationResourcesController.php
@@ -245,7 +245,7 @@ class CollaborationResourcesController extends OCSController {
'type' => $resource->getType(),
'id' => $resource->getId(),
'name' => $resource->getName(),
- 'iconClass' => $resource->getIconClass(),
+ 'iconLink' => $resource->getIconLink(),
'link' => $resource->getLink(),
];
}