mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
FIX: ListItem background color would fail under dark mode (#6089)
This commit is contained in:
parent
a61b3b327c
commit
197702582e
5 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|||
import { createDrawerNavigator } from '@react-navigation/drawer';
|
||||
import { Platform, useWindowDimensions, Dimensions, I18nManager } from 'react-native';
|
||||
|
||||
import Settings from './screen/settings/settings';
|
||||
import Settings from './screen/settings/Settings';
|
||||
import About from './screen/settings/about';
|
||||
import ReleaseNotes from './screen/settings/releasenotes';
|
||||
import Licensing from './screen/settings/licensing';
|
||||
|
|
|
@ -57,7 +57,7 @@ const ListItem: React.FC<ListItemProps> = React.memo(props => {
|
|||
fontSize: 14,
|
||||
},
|
||||
containerStyle: {
|
||||
backgroundColor: 'transparent',
|
||||
backgroundColor: colors.background,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ const Currency: React.FC = () => {
|
|||
<ListItem
|
||||
disabled={isSavingNewPreferredCurrency || selectedCurrency.endPointKey === item.endPointKey}
|
||||
title={`${item.endPointKey} (${item.symbol})`}
|
||||
containerStyle={{ height: ITEM_HEIGHT }}
|
||||
containerStyle={StyleSheet.flatten([styles.flex, { height: ITEM_HEIGHT }])}
|
||||
checkmark={selectedCurrency.endPointKey === item.endPointKey}
|
||||
onPress={async () => {
|
||||
setIsSavingNewPreferredCurrency(true);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import assert from 'assert';
|
||||
import React from 'react';
|
||||
import TestRenderer from 'react-test-renderer';
|
||||
import Settings from '../../screen/settings/settings';
|
||||
import Settings from '../../screen/settings/Settings';
|
||||
import Selftest from '../../screen/selftest';
|
||||
import { BlueHeaderDefaultSub } from '../../BlueComponents';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue