aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/api/local.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/api/local.php')
-rw-r--r--apps/files_sharing/api/local.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/api/local.php b/apps/files_sharing/api/local.php
index 00509bcee69..03812800c17 100644
--- a/apps/files_sharing/api/local.php
+++ b/apps/files_sharing/api/local.php
@@ -68,6 +68,7 @@ class Local {
if (\OC::$server->getPreviewManager()->isMimeSupported($share['mimetype'])) {
$share['isPreviewAvailable'] = true;
}
+ $share['icon'] = substr(\OC_Helper::mimetypeIcon($share['mimetype']), 0, -3) . 'svg';
}
}
return new \OC_OCS_Result($shares);