Skip to content

Commit

Permalink
Merge pull request #2227 from brave/bsc-remove-brave-pay-text
Browse files Browse the repository at this point in the history
Hide the `To add or manage payment methods` section
  • Loading branch information
bsclifton authored Apr 17, 2019
2 parents 9a78717 + 5836c49 commit 7498930
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions browser/resources/settings/brave_settings_overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,13 @@ BravePatching.RegisterPolymerTemplateModifications({
console.error('[Brave Settings Overrides] Could not find import item in people_page')
}
importItem.classList.add('first')
},
'settings-payments-section': (templateContent) => {
const manageLink = templateContent.querySelector('#manageLink')
if (!manageLink) {
console.error('[Brave Settings Overrides] Could not find manage payments link')
}
manageLink.remove()
}
})

Expand Down

0 comments on commit 7498930

Please sign in to comment.