mirror of
https://github.com/abhay-raizada/PeerScribe.git
synced 2026-04-26 16:24:03 +00:00
Fix Text issue on dark mode
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 208 B |
Binary file not shown.
|
After Width: | Height: | Size: 186 B |
@@ -1,4 +1,4 @@
|
|||||||
import {Alert, Dimensions, Image, StyleSheet, Text, View} from 'react-native';
|
import {Alert, Appearance, Dimensions, Image, StyleSheet, Text, View} from 'react-native';
|
||||||
import {Colors} from 'react-native/Libraries/NewAppScreen';
|
import {Colors} from 'react-native/Libraries/NewAppScreen';
|
||||||
import {PropsWithChildren, useState} from 'react';
|
import {PropsWithChildren, useState} from 'react';
|
||||||
import {Button, Card, Modal} from '@ant-design/react-native';
|
import {Button, Card, Modal} from '@ant-design/react-native';
|
||||||
@@ -12,6 +12,8 @@ type SectionProps = PropsWithChildren<{
|
|||||||
title: string;
|
title: string;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
const colorScheme = Appearance.getColorScheme();
|
||||||
|
|
||||||
const backgroundStyle = {
|
const backgroundStyle = {
|
||||||
backgroundColor: Colors.darker,
|
backgroundColor: Colors.darker,
|
||||||
};
|
};
|
||||||
@@ -138,7 +140,7 @@ export const PrescriptionCreator = ({form} : {form: any}) => {
|
|||||||
<Section title="Choose a Pharmacy">
|
<Section title="Choose a Pharmacy">
|
||||||
<View style={{ width: width -40}}>
|
<View style={{ width: width -40}}>
|
||||||
<Dropdown data={locationData} labelField={'label'} valueField={'label'} onChange={handleLocationChange}
|
<Dropdown data={locationData} labelField={'label'} valueField={'label'} onChange={handleLocationChange}
|
||||||
renderItem={renderItem} style={{width: "100%"}}/>
|
renderItem={renderItem} style={{width: "100%"}} placeholderStyle={{color: "white"}} selectedTextStyle={{color: 'white'}}/>
|
||||||
</View>
|
</View>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user