From b12db1b494376dc6ae35c11d127b35f3a156a97e Mon Sep 17 00:00:00 2001 From: Julius Haertl Date: Fri, 9 Dec 2016 12:50:14 +0100 Subject: [PATCH] Show theming icons on external storage folders Signed-off-by: Julius Haertl --- apps/files_external/js/statusmanager.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index 4869e663a0..782b0b0828 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -539,7 +539,11 @@ OCA.External.StatusManager.Utils = { * of the tr matching the folder name */ getIconRoute: function (tr) { - var icon = OC.imagePath('core', 'filetypes/folder-external'); + if (OCA.Theming) { + var icon = OC.generateUrl('/apps/theming/img/core/filetypes/folder-external.svg?v=' + OCA.Theming.cacheBuster); + } else { + var icon = OC.imagePath('core', 'filetypes/folder-external'); + } var backend = null; if (tr instanceof $) {