Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[WEEX-419][android] weeks bugfix for weexcore appear
Browse files Browse the repository at this point in the history
  • Loading branch information
jianbai.gbj committed Jun 7, 2018
1 parent a1fb5a9 commit 0c8e485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weex_core/Source/core/render/node/render_appbar.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0c8e485

Please sign in to comment.