Skip to content

Commit

Permalink
Remove unnecessary styling
Browse files Browse the repository at this point in the history
  • Loading branch information
wachunei committed Nov 17, 2020
1 parent 24b5456 commit d552524
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/components/UI/Swaps/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import useModalHandler from '../../Base/hooks/useModalHandler';
import Device from '../../../util/Device';
import { renderFromTokenMinimalUnit, renderFromWei } from '../../../util/number';
import { strings } from '../../../../locales/i18n';
import { colors, fontStyles } from '../../../styles/common';
import { colors } from '../../../styles/common';

import { getSwapsAmountNavbar } from '../Navbar';
import Text from '../../Base/Text';
Expand Down Expand Up @@ -46,8 +46,6 @@ const styles = StyleSheet.create({
marginHorizontal: 25
},
amount: {
...fontStyles.light,
color: colors.black,
textAlignVertical: 'center',
fontSize: Device.isIphone5() ? 30 : 40,
height: Device.isIphone5() ? 40 : 50
Expand Down Expand Up @@ -220,7 +218,7 @@ function SwapsAmountView({ tokens, accounts, selectedAddress, balances }) {
/>
</View>
<View style={styles.amountContainer}>
<Text style={[styles.amount]} numberOfLines={1} adjustsFontSizeToFit allowFontScaling>
<Text primary style={styles.amount} numberOfLines={1} adjustsFontSizeToFit allowFontScaling>
{amount}
</Text>
{sourceToken && (hasInvalidDecimals || !hasEnoughBalance) ? (
Expand Down

0 comments on commit d552524

Please sign in to comment.