Skip to content

Commit f76aea9

Browse files
committed
fix(ui): unwanted background color
1 parent 36c6ada commit f76aea9

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/screens/Wallets/LNURLPay/Amount.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import React, {
66
useState,
77
} from 'react';
88
import { useTranslation } from 'react-i18next';
9-
import { StyleSheet, View } from 'react-native';
9+
import { StyleSheet, TouchableOpacity, View } from 'react-native';
1010

1111
import BottomSheetNavigationHeader from '../../../components/BottomSheetNavigationHeader';
1212
import GradientView from '../../../components/GradientView';
@@ -25,7 +25,6 @@ import {
2525
unitSelector,
2626
} from '../../../store/reselect/settings';
2727
import { IColors } from '../../../styles/colors';
28-
import { TouchableOpacity } from '../../../styles/components';
2928
import { Caption13Up } from '../../../styles/text';
3029
import { convertToSats } from '../../../utils/conversion';
3130
import { showToast } from '../../../utils/notifications';

src/screens/Wallets/LNURLWithdraw/Amount.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import React, {
77
useEffect,
88
} from 'react';
99
import { useTranslation } from 'react-i18next';
10-
import { StyleSheet, View } from 'react-native';
10+
import { StyleSheet, TouchableOpacity, View } from 'react-native';
1111

1212
import BottomSheetNavigationHeader from '../../../components/BottomSheetNavigationHeader';
1313
import GradientView from '../../../components/GradientView';
@@ -25,7 +25,6 @@ import {
2525
unitSelector,
2626
} from '../../../store/reselect/settings';
2727
import { IColors } from '../../../styles/colors';
28-
import { TouchableOpacity } from '../../../styles/components';
2928
import { Caption13Up } from '../../../styles/text';
3029
import { convertToSats } from '../../../utils/conversion';
3130
import { getNumberPadText } from '../../../utils/numberpad';

src/screens/Wallets/Send/Amount.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import React, {
88
useEffect,
99
} from 'react';
1010
import { useTranslation } from 'react-i18next';
11-
import { StyleSheet, View } from 'react-native';
11+
import { StyleSheet, TouchableOpacity, View } from 'react-native';
1212

1313
import BottomSheetNavigationHeader from '../../../components/BottomSheetNavigationHeader';
1414
import ContactImage from '../../../components/ContactImage';
@@ -42,7 +42,6 @@ import {
4242
utxosSelector,
4343
} from '../../../store/reselect/wallet';
4444
import { IColors } from '../../../styles/colors';
45-
import { TouchableOpacity } from '../../../styles/components';
4645
import { Caption13Up } from '../../../styles/text';
4746
import { convertToSats } from '../../../utils/conversion';
4847
import { showToast } from '../../../utils/notifications';
@@ -257,7 +256,7 @@ const Amount = ({ navigation }: SendScreenProps<'Amount'>): ReactElement => {
257256

258257
<View style={styles.numberPad} testID="SendAmountNumberPad">
259258
<View style={styles.actions}>
260-
<TouchableOpacity color="transparent" onPress={onMaxAmount}>
259+
<TouchableOpacity onPress={onMaxAmount}>
261260
<Caption13Up style={styles.availableAmountText} color="secondary">
262261
{t('send_available')}
263262
</Caption13Up>

0 commit comments

Comments
 (0)