summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/IconBuilder.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-03-28 01:37:47 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-29 18:23:23 +0200
commit9a75714c22b406ef13c985bec567b9d88ce7dc84 (patch)
tree7e95558e53586f52f5da70d4f514d857bc3733c2 /apps/theming/lib/IconBuilder.php
parent626d03e3d47994364500bd6cd5dd9a029b862fb7 (diff)
downloadnextcloud-server-9a75714c22b406ef13c985bec567b9d88ce7dc84.tar.gz
nextcloud-server-9a75714c22b406ef13c985bec567b9d88ce7dc84.zip
rename confusing getMailHeaderColor to getColorPrimary, ref #3491
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/theming/lib/IconBuilder.php')
-rw-r--r--apps/theming/lib/IconBuilder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/lib/IconBuilder.php b/apps/theming/lib/IconBuilder.php
index 39a7722f0a5..7db24c4a2b0 100644
--- a/apps/theming/lib/IconBuilder.php
+++ b/apps/theming/lib/IconBuilder.php
@@ -97,7 +97,7 @@ class IconBuilder {
return false;
}
- $color = $this->themingDefaults->getMailHeaderColor();
+ $color = $this->themingDefaults->getColorPrimary();
$mime = mime_content_type($appIcon);
// generate background image with rounded corners
@@ -178,7 +178,7 @@ class IconBuilder {
}
$svg = file_get_contents($imageFile);
if ($svg !== false && $svg !== "") {
- $color = $this->util->elementColor($this->themingDefaults->getMailHeaderColor());
+ $color = $this->util->elementColor($this->themingDefaults->getColorPrimary());
$svg = $this->util->colorizeSvg($svg, $color);
return $svg;
} else {