Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix composer SafeAreaView

+12 -3
+12 -3
src/view/com/composer/Composer.tsx
··· 10 10 TouchableWithoutFeedback, 11 11 View, 12 12 } from 'react-native' 13 - import {SafeAreaView} from 'react-native-safe-area-context' 13 + import {useSafeAreaInsets} from 'react-native-safe-area-context' 14 14 import LinearGradient from 'react-native-linear-gradient' 15 15 import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' 16 16 import {RichText} from '@atproto/api' ··· 74 74 () => new UserAutocompleteModel(store), 75 75 [store], 76 76 ) 77 + 78 + const insets = useSafeAreaInsets() 77 79 78 80 // HACK 79 81 // there's a bug with @mattermost/react-native-paste-input where if the input ··· 209 211 behavior={Platform.OS === 'ios' ? 'padding' : 'height'} 210 212 style={styles.outer}> 211 213 <TouchableWithoutFeedback onPressIn={onPressContainer}> 212 - <SafeAreaView style={[s.flex1]}> 214 + <View 215 + style={[ 216 + s.flex1, 217 + { 218 + paddingBottom: Platform.OS === 'android' ? insets.bottom : 0, 219 + paddingTop: Platform.OS === 'android' ? insets.top : 15, 220 + }, 221 + ]}> 213 222 <View style={styles.topbar}> 214 223 <TouchableOpacity 215 224 testID="composerCancelButton" ··· 339 348 <View style={s.flex1} /> 340 349 <CharProgress count={graphemeLength} /> 341 350 </View> 342 - </SafeAreaView> 351 + </View> 343 352 </TouchableWithoutFeedback> 344 353 </KeyboardAvoidingView> 345 354 )