Skip to content

Commit

Permalink
Merge pull request #756 from brave/rewards-favicon
Browse files Browse the repository at this point in the history
Brave Rewards Favicon
  • Loading branch information
NejcZdovc authored Dec 4, 2018
2 parents f77acbe + c13c8db commit 98d0219
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions browser/ui/webui/brave_webui_source.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ void CustomizeWebUIHTMLSource(const std::string &name, content::WebUIDataSource*
}
}, {
std::string("rewards"), {
{ "favicon.ico", IDR_BRAVE_REWARDS_FAVICON },
{ "878e89ddb547d70019456c4792ce1a23.svg", IDR_BRAVE_REWARDS_IMG_ADS_DISABLED },
{ "6517b078dcd47a8540230a5453d53927.svg", IDR_BRAVE_REWARDS_IMG_CONTRIBUTE_DISABLED },
{ "21bfb482964742768c5020312af36224.svg", IDR_BRAVE_REWARDS_IMG_DONATE_DISABLED },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<include name="IDR_BRAVE_REWARDS_IMG_ETH" file="img/ETH.svg" type="BINDATA" />
<include name="IDR_BRAVE_REWARDS_IMG_LTC" file="img/LTC.svg" type="BINDATA" />
<include name="IDR_BRAVE_REWARDS_NICEWARE_LIST" file="../../../vendor/bat-native-ledger/niceware/wordlist" type="BINDATA" />
<include name="IDR_BRAVE_REWARDS_FAVICON" file="img/favicon.ico" type="BINDATA" />

<!-- WebUI donate resources -->
<include name="IDR_BRAVE_DONATE_BG_1" file="img/donate_bg_1.svg" type="BINDATA" />
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions components/brave_rewards/resources/ui/brave_rewards.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Rewards</title>
<link rel="shortcut icon" href="chrome://rewards/favicon.ico" type="image/x-icon">
<link rel="import" href="chrome://resources/html/cr.html">
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/load_time_data.js"></script>
Expand Down

0 comments on commit 98d0219

Please sign in to comment.