Skip to content

Commit

Permalink
Merge pull request #6998 from brave/maxk-fix-wallet-page-toolbar
Browse files Browse the repository at this point in the history
Fixes navigation bar on the Wallet page.
  • Loading branch information
mkarolin authored Oct 30, 2020
2 parents f2f77a1 + db69524 commit 338e6ee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions browser/ui/webui/brave_wallet_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ void WalletDOMHandler::RegisterMessages() {
} // namespace

BraveWalletUI::BraveWalletUI(content::WebUI* web_ui, const std::string& name)
: BasicUI(web_ui, name, kBraveWalletGenerated,
kBraveWalletGeneratedSize, IDR_BRAVE_WALLET_HTML) {
: BasicUI(web_ui,
name,
kBraveWalletGenerated,
kBraveWalletGeneratedSize,
IDR_BRAVE_WALLET_HTML,
/*disable_trusted_types_csp=*/true) {
web_ui->AddMessageHandler(std::make_unique<WalletDOMHandler>());
}

Expand Down

0 comments on commit 338e6ee

Please sign in to comment.