Properly theme folder icons that are accessed though imagePath (#15875)
Properly theme folder icons that are accessed though imagePath
This commit is contained in:
commit
2cb0b9e56e
1 changed files with 3 additions and 0 deletions
|
@ -349,6 +349,9 @@ class ThemingDefaults extends \OC_Defaults {
|
|||
} catch (AppPathNotFoundException $e) {}
|
||||
return $this->urlGenerator->linkToRoute('theming.Theming.getManifest') . '?v=' . $cacheBusterValue;
|
||||
}
|
||||
if (strpos($image, 'filetypes/') === 0) {
|
||||
return $this->urlGenerator->linkToRoute('theming.Icon.getThemedIcon', ['app' => $app, 'image' => $image]);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue