Skip to content

Commit 30c7193

Browse files
authored
Fix/ modal bg color (#2058)
1 parent 674f222 commit 30c7193

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/components/modal/TopBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class TopBar extends Component<ModalTopBarProps> {
170170
{this.renderLeftButtons()}
171171
</View>
172172
<View row flex-3 bottom centerH centerV>
173-
<Text accessible={!!title} numberOfLines={1} text70 style={[styles.title, titleStyle]}>
173+
<Text $textDefault accessible={!!title} numberOfLines={1} text70 style={[styles.title, titleStyle]}>
174174
{title}
175175
</Text>
176176
</View>

src/components/modal/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {BlurViewPackage} from '../../optionalDependencies';
1414
import {Constants, asBaseComponent} from '../../commons/new';
1515
import TopBar, {ModalTopBarProps} from './TopBar';
1616
import View from '../../components/view';
17-
import Colors from '../../style/colors';
1817

1918
const BlurView = BlurViewPackage?.BlurView;
2019

@@ -144,8 +143,7 @@ const styles = StyleSheet.create({
144143
...StyleSheet.absoluteFillObject
145144
},
146145
fill: {
147-
flex: 1,
148-
backgroundColor: Colors.$backgroundDefault
146+
flex: 1
149147
},
150148
accessibleOverlayView: {
151149
height: 50,

src/components/picker/PickerItemsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const PickerItemsList = (props: PickerItemsListProps) => {
6060
[children]);
6161

6262
return (
63-
<View flex useSafeArea={useSafeArea}>
63+
<View bg-$backgroundDefault flex useSafeArea={useSafeArea}>
6464
<Modal.TopBar {...topBarProps}/>
6565
{renderSearchInput()}
6666

0 commit comments

Comments
 (0)