rm stylesheet

This commit is contained in:
Samuel Newman
2025-11-03 11:12:23 +02:00
parent a5839f4016
commit 934d322f45
+1 -8
View File
@@ -3,7 +3,6 @@ import {
ScrollView,
type ScrollViewProps,
type StyleProp,
StyleSheet,
View,
type ViewProps,
type ViewStyle,
@@ -90,7 +89,7 @@ export const Content = memo(
automaticallyAdjustsScrollIndicatorInsets={false}
scrollIndicatorInsets={{bottom: footerHeight, top: 0, right: 1}}
indicatorStyle={t.scheme === 'dark' ? 'white' : 'black'}
style={[scrollViewStyles.common, style]}
style={[a.w_full, style]}
contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})}
contentContainerStyle={[
!IS_IOS && {paddingBottom: footerHeight},
@@ -109,12 +108,6 @@ export const Content = memo(
}),
)
const scrollViewStyles = StyleSheet.create({
common: {
width: '100%',
},
})
export type KeyboardAwareContentProps = KeyboardAwareScrollViewProps & {
children: React.ReactNode
contentContainerStyle?: StyleProp<ViewStyle>