mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

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

Fix some overdraw (#6617)

authored by danabra.mov and committed by

GitHub 625459ad 391e0c4c

+5 -9
+2 -3
src/view/com/home/HomeHeaderLayoutMobile.tsx
··· 41 41 42 42 return ( 43 43 <Animated.View 44 - style={[pal.view, pal.border, styles.tabBar, headerMinimalShellTransform]} 44 + style={[pal.border, styles.tabBar, headerMinimalShellTransform]} 45 45 onLayout={e => { 46 46 headerHeight.set(e.nativeEvent.layout.height) 47 47 }}> 48 48 <View style={[pal.view, styles.topBar]}> 49 - <View style={[pal.view, {width: 100}]}> 49 + <View style={[{width: 100}]}> 50 50 <TouchableOpacity 51 51 testID="viewHeaderDrawerBtn" 52 52 onPress={onPressAvi} ··· 68 68 atoms.justify_end, 69 69 atoms.align_center, 70 70 atoms.gap_md, 71 - pal.view, 72 71 {width: 100}, 73 72 ]}> 74 73 {IS_DEV && (
+3 -6
src/view/shell/index.tsx
··· 1 1 import React from 'react' 2 2 import {BackHandler, StyleSheet, useWindowDimensions, View} from 'react-native' 3 3 import {Drawer} from 'react-native-drawer-layout' 4 - import Animated from 'react-native-reanimated' 5 4 import {useSafeAreaInsets} from 'react-native-safe-area-context' 6 5 import * as NavigationBar from 'expo-navigation-bar' 7 6 import {StatusBar} from 'expo-status-bar' ··· 10 9 import {useDedupe} from '#/lib/hooks/useDedupe' 11 10 import {useIntentHandler} from '#/lib/hooks/useIntentHandler' 12 11 import {useNotificationsHandler} from '#/lib/hooks/useNotificationHandler' 13 - import {usePalette} from '#/lib/hooks/usePalette' 14 12 import {useNotificationsRegistration} from '#/lib/notifications/notifications' 15 13 import {isStateAtTabRoot} from '#/lib/routes/helpers' 16 14 import {useTheme} from '#/lib/ThemeContext' ··· 95 93 96 94 return ( 97 95 <> 98 - <Animated.View style={[a.h_full]}> 96 + <View style={[a.h_full]}> 99 97 <ErrorBoundary 100 98 style={{paddingTop: insets.top, paddingBottom: insets.bottom}}> 101 99 <Drawer ··· 119 117 <TabsNavigator /> 120 118 </Drawer> 121 119 </ErrorBoundary> 122 - </Animated.View> 120 + </View> 123 121 <Composer winHeight={winDim.height} /> 124 122 <ModalsContainer /> 125 123 <MutedWordsDialog /> ··· 133 131 134 132 export const Shell: React.FC = function ShellImpl() { 135 133 const {fullyExpandedCount} = useDialogStateControlContext() 136 - const pal = usePalette('default') 137 134 const theme = useTheme() 138 135 useIntentHandler() 139 136 ··· 147 144 } 148 145 }, [theme]) 149 146 return ( 150 - <View testID="mobileShellView" style={[styles.outerContainer, pal.view]}> 147 + <View testID="mobileShellView" style={[styles.outerContainer]}> 151 148 <StatusBar 152 149 style={ 153 150 theme.colorScheme === 'dark' || (isIOS && fullyExpandedCount > 0)