Chore desktop cleanup #6896
2 changed files with 3 additions and 3 deletions
|
@ -2090,7 +2090,6 @@
|
||||||
"Expand Comments": "Expand Comments",
|
"Expand Comments": "Expand Comments",
|
||||||
"Expand": "Expand",
|
"Expand": "Expand",
|
||||||
"Load More": "Load More",
|
"Load More": "Load More",
|
||||||
"You followed @Danheim!": "You followed @Danheim!",
|
|
||||||
"Collection": "Collection",
|
"Collection": "Collection",
|
||||||
"%channelName% isn't live right now, but the chat is! Check back later to watch the stream.": "%channelName% isn't live right now, but the chat is! Check back later to watch the stream.",
|
"%channelName% isn't live right now, but the chat is! Check back later to watch the stream.": "%channelName% isn't live right now, but the chat is! Check back later to watch the stream.",
|
||||||
"Show this channel your appreciation by sending a donation of Credits. ": "Show this channel your appreciation by sending a donation of Credits. ",
|
"Show this channel your appreciation by sending a donation of Credits. ": "Show this channel your appreciation by sending a donation of Credits. ",
|
||||||
|
|
|
@ -20,6 +20,7 @@ import { SIMPLE_SITE } from 'config';
|
||||||
import homepages from 'homepages';
|
import homepages from 'homepages';
|
||||||
import { Lbryio } from 'lbryinc';
|
import { Lbryio } from 'lbryinc';
|
||||||
import Yrbl from 'component/yrbl';
|
import Yrbl from 'component/yrbl';
|
||||||
|
import { getStripeEnvironment } from 'util/stripe';
|
||||||
|
|
||||||
type Price = {
|
type Price = {
|
||||||
currency: string,
|
currency: string,
|
||||||
|
@ -451,7 +452,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
{/* @endif */}
|
{/* @endif */}
|
||||||
|
|
||||||
{/* @if TARGET='web' */}
|
{/* @if TARGET='web' */}
|
||||||
{user && (
|
{user && getStripeEnvironment() && (
|
||||||
<Card
|
<Card
|
||||||
title={__('Bank Accounts')}
|
title={__('Bank Accounts')}
|
||||||
subtitle={__('Connect a bank account to receive tips and compensation in your local currency')}
|
subtitle={__('Connect a bank account to receive tips and compensation in your local currency')}
|
||||||
|
@ -470,7 +471,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
{/* @endif */}
|
{/* @endif */}
|
||||||
|
|
||||||
{/* @if TARGET='web' */}
|
{/* @if TARGET='web' */}
|
||||||
{isAuthenticated && (
|
{isAuthenticated && getStripeEnvironment() && (
|
||||||
<Card
|
<Card
|
||||||
title={__('Payment Methods')}
|
title={__('Payment Methods')}
|
||||||
subtitle={__('Add a credit card to tip creators in their local currency')}
|
subtitle={__('Add a credit card to tip creators in their local currency')}
|
||||||
|
|
Loading…
Reference in a new issue