Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit efbf1ad

Browse files
committed
Fix fee picker styles on Android
1 parent 300cbb1 commit efbf1ad

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/component/field-mobile.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const pickerStyles = StyleSheet.create({
4545
lineHeight: font.lineHeightM + 3,
4646
height: font.lineHeightM + 2 * 12,
4747
color: color.blackText,
48-
opacity: 0.75,
48+
opacity: 0.5,
4949
padding: 0,
5050
},
5151
});
@@ -54,7 +54,12 @@ export const NamedFieldSelect = ({ name, style, ...props }) => (
5454
<View style={[namedSelectStyles.content, style]}>
5555
<Text style={namedSelectStyles.name}>{name}</Text>
5656
<View style={namedSelectStyles.wrapper}>
57-
<RNPickerSelect placeholder={{}} style={pickerStyles} {...props} />
57+
<RNPickerSelect
58+
placeholder={{}}
59+
style={pickerStyles}
60+
useNativeAndroidPickerStyle={false}
61+
{...props}
62+
/>
5863
<ArrowDownIcon height={22} width={22} stroke="#969596" />
5964
</View>
6065
</View>

0 commit comments

Comments
 (0)