You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2018/08/29 00:01:57 UTC
[cordova-common] branch master updated: CB-13685 android: Update
ConfigParser for Adaptive Icons
This is an automated email from the ASF dual-hosted git repository.
dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-common.git
The following commit(s) were added to refs/heads/master by this push:
new 075e0ba CB-13685 android: Update ConfigParser for Adaptive Icons
075e0ba is described below
commit 075e0ba3d2766cd80109307fdac41d49c7940820
Author: エリス <el...@gmail.com>
AuthorDate: Tue Jun 5 16:40:13 2018 +0900
CB-13685 android: Update ConfigParser for Adaptive Icons
---
src/ConfigParser/ConfigParser.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/ConfigParser/ConfigParser.js b/src/ConfigParser/ConfigParser.js
index 910b2db..f0d26b5 100644
--- a/src/ConfigParser/ConfigParser.js
+++ b/src/ConfigParser/ConfigParser.js
@@ -207,6 +207,8 @@ ConfigParser.prototype = {
res.platform = elt.platform || null; // null means icon represents default icon (shared between platforms)
res.width = +elt.attrib.width || undefined;
res.height = +elt.attrib.height || undefined;
+ res.background = elt.attrib.background || undefined;
+ res.foreground = elt.attrib.foreground || undefined;
// default icon
if (!res.width && !res.height && !res.density) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org