fix android padding
This commit is contained in:
@@ -217,6 +217,7 @@ module.exports = function (_config) {
|
|||||||
compileSdkVersion: 35,
|
compileSdkVersion: 35,
|
||||||
targetSdkVersion: 35,
|
targetSdkVersion: 35,
|
||||||
buildToolsVersion: '35.0.0',
|
buildToolsVersion: '35.0.0',
|
||||||
|
newArchEnabled: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {
|
import {
|
||||||
AccessibilityProps,
|
type AccessibilityProps,
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
TextInput,
|
TextInput,
|
||||||
TextInputProps,
|
type TextInputProps,
|
||||||
TextStyle,
|
type TextStyle,
|
||||||
View,
|
View,
|
||||||
ViewStyle,
|
type ViewStyle,
|
||||||
} from 'react-native'
|
} from 'react-native'
|
||||||
|
|
||||||
import {HITSLOP_20} from '#/lib/constants'
|
import {HITSLOP_20} from '#/lib/constants'
|
||||||
@@ -16,13 +16,13 @@ import {
|
|||||||
applyFonts,
|
applyFonts,
|
||||||
atoms as a,
|
atoms as a,
|
||||||
ios,
|
ios,
|
||||||
TextStyleProp,
|
type TextStyleProp,
|
||||||
useAlf,
|
useAlf,
|
||||||
useTheme,
|
useTheme,
|
||||||
web,
|
web,
|
||||||
} from '#/alf'
|
} from '#/alf'
|
||||||
import {useInteractionState} from '#/components/hooks/useInteractionState'
|
import {useInteractionState} from '#/components/hooks/useInteractionState'
|
||||||
import {Props as SVGIconProps} from '#/components/icons/common'
|
import {type Props as SVGIconProps} from '#/components/icons/common'
|
||||||
import {Text} from '#/components/Typography'
|
import {Text} from '#/components/Typography'
|
||||||
|
|
||||||
const Context = React.createContext<{
|
const Context = React.createContext<{
|
||||||
@@ -196,7 +196,7 @@ export function createInput(Component: typeof TextInput) {
|
|||||||
minWidth: 0,
|
minWidth: 0,
|
||||||
},
|
},
|
||||||
ios({paddingTop: 12, paddingBottom: 13}),
|
ios({paddingTop: 12, paddingBottom: 13}),
|
||||||
android(a.py_sm),
|
android(a.py_md),
|
||||||
// fix for autofill styles covering border
|
// fix for autofill styles covering border
|
||||||
web({
|
web({
|
||||||
paddingTop: 10,
|
paddingTop: 10,
|
||||||
|
|||||||
Reference in New Issue
Block a user