Skip to content

Commit 2328f20

Browse files
committed
only apply pickerItem label color to iOS
1 parent 1d42509 commit 2328f20

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/filter/section-picker.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react'
2-
import {StyleSheet} from 'react-native'
2+
import {Platform, StyleSheet} from 'react-native'
33
import * as c from '@frogpond/colors'
44
import type {PickerType} from './types'
55
import {Section} from '@frogpond/tableview'
@@ -46,6 +46,10 @@ const styles = StyleSheet.create({
4646
backgroundColor: c.secondarySystemBackground,
4747
},
4848
pickerItem: {
49-
color: c.label,
49+
...Platform.select({
50+
ios: {
51+
color: c.label,
52+
},
53+
}),
5054
},
5155
})

0 commit comments

Comments
 (0)