You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2018/06/07 06:21:34 UTC
incubator-weex git commit: [WEEX-419][android] weeks bugfix for
weexcore appear
Repository: incubator-weex
Updated Branches:
refs/heads/master a1fb5a971 -> 0c8e48544
[WEEX-419][android] weeks bugfix for weexcore appear
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/0c8e4854
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/0c8e4854
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/0c8e4854
Branch: refs/heads/master
Commit: 0c8e48544ce5c28b8565dd3d96ccb9828e211f4e
Parents: a1fb5a9
Author: jianbai.gbj <ji...@alibaba-inc.com>
Authored: Thu Jun 7 14:08:47 2018 +0800
Committer: jianbai.gbj <ji...@alibaba-inc.com>
Committed: Thu Jun 7 14:08:47 2018 +0800
----------------------------------------------------------------------
weex_core/Source/core/render/node/render_appbar.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0c8e4854/weex_core/Source/core/render/node/render_appbar.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/core/render/node/render_appbar.h b/weex_core/Source/core/render/node/render_appbar.h
index ba58d3b..d0c85d3 100644
--- a/weex_core/Source/core/render/node/render_appbar.h
+++ b/weex_core/Source/core/render/node/render_appbar.h
@@ -43,9 +43,9 @@ namespace WeexCore {
style->insert(std::pair<std::string, std::string>(PADDING_LEFT, "0"));
style->insert(std::pair<std::string, std::string>(PADDING_RIGHT, "0"));
- if (!appbar_color.empty() && appbar_color != "" && !StyleExist(appbar_color))
+ if (!appbar_color.empty() && appbar_color != "" && !StyleExist(COLOR))
style->insert(std::pair<std::string, std::string>(COLOR, appbar_color));
- if (!appbar_background_color.empty() && appbar_background_color != "" && !StyleExist(appbar_background_color))
+ if (!appbar_background_color.empty() && appbar_background_color != "" && !StyleExist(BACKGROUND_COLOR))
style->insert(std::pair<std::string, std::string>(BACKGROUND_COLOR, appbar_background_color));
return style;
}