more stripe only on web

This commit is contained in:
zeppi 2021-07-03 14:32:06 -04:00 committed by jessopb
parent 270049316e
commit 89576572f5
2 changed files with 5 additions and 2 deletions

View file

@ -205,7 +205,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
}}
className="card-stack"
>
{/* @if TARGET='web' */}
<Card
title={__('Add card to tip creators in USD')}
actions={
@ -219,6 +219,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
</div>
}
/>
{/* @endif */}
<Card title={__('Language')} actions={<SettingLanguage />} />
{homepages && Object.keys(homepages).length > 1 && (

View file

@ -9,7 +9,7 @@ import Spinner from 'component/spinner';
import YrblWalletEmpty from 'component/yrblWalletEmpty';
type Props = {
history: { action: string, push: string => void, replace: string => void },
history: { action: string, push: (string) => void, replace: (string) => void },
location: { search: string, pathname: string },
totalBalance: ?number,
};
@ -34,7 +34,9 @@ const WalletPage = (props: Props) => {
) : (
<div className="card-stack">
<WalletBalance />
{/* @if TARGET='web' */}
<StripeAccountConnection />
{/* @endif */}
<TxoList search={search} />
</div>
)}