Skip to content

Commit

Permalink
Merge pull request #2241 from brave/bsc-remove-brave-pay-text-0.64.x
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 a51fc3e + a91eee8 commit e1a62bd
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/chrome/browser/resources/settings/autofill_page/payments_section.html b/chrome/browser/resources/settings/autofill_page/payments_section.html
index 2cb349b7cac108dc3b90c62cbe77a46258397ca6..cc5121a7873222df9fe00a63c920b0e77cec304a 100644
--- a/chrome/browser/resources/settings/autofill_page/payments_section.html
+++ b/chrome/browser/resources/settings/autofill_page/payments_section.html
@@ -54,10 +54,12 @@
</div>
</template>

+ <if expr="_google_chrome">
<div id="manageLink" class="settings-box first">
<!-- This span lays out the URL correctly, relative to the label. -->
<span>$i18nRaw{manageCreditCardsLabel}</span>
</div>
+ </if>

<div class="settings-box continuation">
<h2 class="start">$i18n{creditCards}</h2>

0 comments on commit e1a62bd

Please sign in to comment.