|
|
@ -4,7 +4,7 @@ import React from 'react';
|
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
import { FONT_SIZE } from 'config/variables';
|
|
|
|
import { FONT_SIZE } from 'config/variables';
|
|
|
|
|
|
|
|
|
|
|
|
import { Tooltip, Icon, icons as ICONS, colors, Switch, CoinLogo } from 'trezor-ui-components';
|
|
|
|
import { colors, Switch, CoinLogo } from 'trezor-ui-components';
|
|
|
|
import l10nMessages from '../../index.messages';
|
|
|
|
import l10nMessages from '../../index.messages';
|
|
|
|
|
|
|
|
|
|
|
|
const Wrapper = styled.div`
|
|
|
|
const Wrapper = styled.div`
|
|
|
@ -23,11 +23,6 @@ const Row = styled.div`
|
|
|
|
flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
const TooltipIcon = styled(Icon)`
|
|
|
|
|
|
|
|
margin-left: 6px;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const Content = styled.div`
|
|
|
|
const Content = styled.div`
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-top: 20px;
|
|
|
@ -72,13 +67,6 @@ const CoinsSettings = (props: Props) => (
|
|
|
|
<Row>
|
|
|
|
<Row>
|
|
|
|
<Label>
|
|
|
|
<Label>
|
|
|
|
<FormattedMessage {...l10nMessages.TR_VISIBLE_COINS} />
|
|
|
|
<FormattedMessage {...l10nMessages.TR_VISIBLE_COINS} />
|
|
|
|
<Tooltip
|
|
|
|
|
|
|
|
content={<FormattedMessage {...l10nMessages.TR_VISIBLE_COINS_EXPLAINED} />}
|
|
|
|
|
|
|
|
maxWidth={210}
|
|
|
|
|
|
|
|
placement="right"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<TooltipIcon icon={ICONS.HELP} color={colors.TEXT_SECONDARY} size={12} />
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
</Label>
|
|
|
|
</Label>
|
|
|
|
<Content>
|
|
|
|
<Content>
|
|
|
|
{props.networks
|
|
|
|
{props.networks
|
|
|
|