Fix hairline divider not visible (#11518)
This commit is contained in:
@@ -2,6 +2,7 @@ import {createContext, useContext, useMemo} from 'react'
|
|||||||
import {
|
import {
|
||||||
type GestureResponderEvent,
|
type GestureResponderEvent,
|
||||||
type StyleProp,
|
type StyleProp,
|
||||||
|
StyleSheet,
|
||||||
View,
|
View,
|
||||||
type ViewStyle,
|
type ViewStyle,
|
||||||
} from 'react-native'
|
} from 'react-native'
|
||||||
@@ -254,10 +255,10 @@ export function Divider({style}: ViewStyleProp) {
|
|||||||
return (
|
return (
|
||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
a.border_t,
|
|
||||||
t.atoms.border_contrast_low,
|
|
||||||
a.w_full,
|
a.w_full,
|
||||||
a.my_sm,
|
a.my_sm,
|
||||||
|
{height: StyleSheet.hairlineWidth},
|
||||||
|
t.atoms.bg_contrast_100,
|
||||||
style,
|
style,
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user