Merge branch 'main' into starter-packs

This commit is contained in:
Hailey
2024-06-06 22:50:40 -07:00
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -134,8 +134,8 @@ export const ComposePost = observer(function ComposePost({
// See https://github.com/bluesky-social/social-app/pull/4399
const {setEnabled} = useKeyboardContext()
React.useEffect(() => {
if (!isAndroid) return
setEnabled(false)
return () => {
setEnabled(true)
}
+7 -8
View File
@@ -1,11 +1,12 @@
import * as React from 'react'
import {FlatList, ScrollView, StyleSheet, View} from 'react-native'
import {useAnimatedRef} from 'react-native-reanimated'
import {Pager, PagerRef, RenderTabBarFnProps} from 'view/com/pager/Pager'
import {TabBar} from './TabBar'
import {usePalette} from '#/lib/hooks/usePalette'
import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries'
import {Pager, PagerRef, RenderTabBarFnProps} from 'view/com/pager/Pager'
import {ListMethods} from '../util/List'
import {TabBar} from './TabBar'
export interface PagerWithHeaderChildParams {
headerHeight: number
@@ -184,8 +185,7 @@ function PagerItem({
const styles = StyleSheet.create({
headerContainerDesktop: {
marginLeft: 'auto',
marginRight: 'auto',
marginHorizontal: 'auto',
width: 600,
borderLeftWidth: 1,
borderRightWidth: 1,
@@ -198,15 +198,14 @@ const styles = StyleSheet.create({
zIndex: 1,
},
tabBarContainerDesktop: {
marginLeft: 'auto',
marginRight: 'auto',
marginHorizontal: 'auto',
paddingHorizontal: 2,
width: 600,
borderLeftWidth: 1,
borderRightWidth: 1,
},
tabBarContainerMobile: {
paddingLeft: 14,
paddingRight: 14,
paddingHorizontal: 0,
},
loadingHeader: {
borderColor: 'transparent',
+1 -1
View File
@@ -191,7 +191,7 @@ const mobileStyles = StyleSheet.create({
},
contentContainer: {
backgroundColor: 'transparent',
paddingHorizontal: 8,
paddingHorizontal: 6,
},
item: {
paddingTop: 10,