Skip to content

Commit be9fa37

Browse files
committed
Flag Fix
1 parent 87c99cc commit be9fa37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const CountryCodeDropdownPicker: React.FC<CountryCodeProps> = ({
128128
<View style={[styles.row]}>
129129
<TouchableOpacity style={{ flexDirection: 'row' }} onPress={ () => {_setCountries(countries); slideDown()} }>
130130
<View style={[styles.selectedContainer, countryCodeContainerStyles]}>
131-
<Text style={{color: '#000', marginRight: 5}}>{_getFlag(selected)}</Text>
131+
<Text style={{color: '#000', marginRight: 5}}>{ selected?.flag }</Text>
132132
<Text style={[countryCodeTextStyles]}>{selected}</Text>
133133
</View>
134134
</TouchableOpacity>

0 commit comments

Comments
 (0)