mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
Merge pull request #3767 from BlueWallet/color
FIX: Color for details button
This commit is contained in:
commit
f8a192b846
@ -45,12 +45,14 @@ const Confirm = () => {
|
||||
transactionAmountFiat: {
|
||||
color: colors.feeText,
|
||||
},
|
||||
|
||||
txDetails: {
|
||||
backgroundColor: colors.lightButton,
|
||||
},
|
||||
valueValue: {
|
||||
color: colors.alternativeTextColor2,
|
||||
},
|
||||
valueUnit: {
|
||||
color: colors.alternativeTextColor2,
|
||||
color: colors.buttonTextColor,
|
||||
},
|
||||
root: {
|
||||
backgroundColor: colors.elevated,
|
||||
@ -73,7 +75,7 @@ const Confirm = () => {
|
||||
<TouchableOpacity
|
||||
accessibilityRole="button"
|
||||
testID="TransactionDetailsButton"
|
||||
style={styles.txDetails}
|
||||
style={[styles.txDetails, stylesHook.txDetails]}
|
||||
onPress={async () => {
|
||||
if (isBiometricUseCapableAndEnabled) {
|
||||
if (!(await Biometric.unlockWithBiometrics())) {
|
||||
@ -341,7 +343,6 @@ const styles = StyleSheet.create({
|
||||
alignSelf: 'center',
|
||||
},
|
||||
txDetails: {
|
||||
backgroundColor: '#EEF0F4',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
marginRight: 16,
|
||||
|
@ -54,6 +54,12 @@ const TransactionsStatus = () => {
|
||||
iconRoot: {
|
||||
backgroundColor: colors.success,
|
||||
},
|
||||
detailsText: {
|
||||
color: colors.buttonTextColor,
|
||||
},
|
||||
details: {
|
||||
backgroundColor: colors.lightButton,
|
||||
},
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
@ -75,10 +81,10 @@ const TransactionsStatus = () => {
|
||||
<TouchableOpacity
|
||||
accessibilityRole="button"
|
||||
testID="TransactionDetailsButton"
|
||||
style={styles.details}
|
||||
style={[styles.details, stylesHook.details]}
|
||||
onPress={navigateToTransactionDetials}
|
||||
>
|
||||
<Text style={[styles.detailsText, stylesHook.valueUnit]}>{loc.send.create_details}</Text>
|
||||
<Text style={[styles.detailsText, stylesHook.detailsText]}>{loc.send.create_details}</Text>
|
||||
</TouchableOpacity>
|
||||
),
|
||||
});
|
||||
@ -539,7 +545,6 @@ const styles = StyleSheet.create({
|
||||
textAlign: 'center',
|
||||
},
|
||||
details: {
|
||||
backgroundColor: '#EEF0F4',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
marginRight: 16,
|
||||
|
Loading…
Reference in New Issue
Block a user