Skip to content

Commit

Permalink
Fixes tap image not showing everytime
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Apr 14, 2020
1 parent 607e9f1 commit b6cf104
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
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 @@ -94,6 +94,7 @@ void CustomizeWebUIHTMLSource(const std::string &name,
{ "6dd79d472f9c73429b26dae4ef14575e.svg", IDR_BRAVE_REWARDS_IMG_WALLET_BG }, // NOLINT
{ "c9255cc2aa3d81ca6328e82d25a95766.png", IDR_BRAVE_REWARDS_IMG_CAPTCHA_BAT }, // NOLINT
{ "1bb9aa85741c6d1c077f043324aae835.svg", IDR_BRAVE_REWARDS_IMG_WELCOME_BG }, // NOLINT
{ "dcaf489409ca7908aef96547c9aad274.svg", IDR_BRAVE_REWARDS_IMG_TAP }, // NOLINT
}
}, {
std::string("tip"), {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<include name="IDR_BRAVE_REWARDS_IMG_WELCOME_BG" file="page/img/welcome_bg.svg" type="BINDATA" />
<include name="IDR_BRAVE_REWARDS_FAVICON" file="page/img/favicon.ico" type="BINDATA" />
<include name="IDR_BRAVE_REWARDS_NICEWARE_LIST" file="../../../vendor/bat-native-ledger/niceware/wordlist" type="BINDATA" />
<include name="IDR_BRAVE_REWARDS_IMG_TAP" file="page/promos/assets/tap_bg.svg" type="BINDATA" />

<!-- WebUI Brave Rewards Internals resources -->
<include name="IDR_BRAVE_REWARDS_INTERNALS_HTML" file="internals/brave_rewards_internals.html" type="BINDATA" />
Expand Down
2 changes: 1 addition & 1 deletion components/brave_rewards/resources/page/promos/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react'
import tapBg from './assets/tap-bg.svg'
import tapBg from './assets/tap_bg.svg'
import { StyledLink, StyledInfo } from '../../ui/components/sidebarPromo/style'

const openTapNetwork = () => {
Expand Down

0 comments on commit b6cf104

Please sign in to comment.