adjust styling for feeds tab bar on mobile
parent
524f8b6abd
commit
db63442360
|
@ -54,7 +54,11 @@ export const FeedsTabBar = observer(
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
<View style={[pal.view]}>
|
<View style={[pal.view]}>
|
||||||
<Link href="/settings/saved-feeds">
|
<Link
|
||||||
|
href="/settings/saved-feeds"
|
||||||
|
accessibilityRole="button"
|
||||||
|
accessibilityLabel="Edit Saved Feeds"
|
||||||
|
accessibilityHint="Opens screen to edit Saved Feeds">
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
icon="satellite-dish"
|
icon="satellite-dish"
|
||||||
size={24}
|
size={24}
|
||||||
|
|
|
@ -125,14 +125,16 @@ const styles = isDesktopWeb
|
||||||
outer: {
|
outer: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
|
backgroundColor: 'transparent',
|
||||||
},
|
},
|
||||||
contentContainer: {
|
contentContainer: {
|
||||||
gap: 14,
|
columnGap: 14,
|
||||||
paddingHorizontal: 18,
|
marginLeft: 14,
|
||||||
|
backgroundColor: 'transparent',
|
||||||
},
|
},
|
||||||
item: {
|
item: {
|
||||||
paddingTop: 8,
|
paddingTop: 8,
|
||||||
paddingBottom: 12,
|
paddingBottom: 8,
|
||||||
borderBottomWidth: 3,
|
borderBottomWidth: 3,
|
||||||
borderBottomColor: 'transparent',
|
borderBottomColor: 'transparent',
|
||||||
},
|
},
|
||||||
|
|
|
@ -23,7 +23,7 @@ import {useAnalytics} from 'lib/analytics'
|
||||||
import {ComposeIcon2} from 'lib/icons'
|
import {ComposeIcon2} from 'lib/icons'
|
||||||
import {isDesktopWeb} from 'platform/detection'
|
import {isDesktopWeb} from 'platform/detection'
|
||||||
|
|
||||||
const HEADER_OFFSET = isDesktopWeb ? 50 : 74
|
const HEADER_OFFSET = isDesktopWeb ? 50 : 64
|
||||||
const POLL_FREQ = 30e3 // 30sec
|
const POLL_FREQ = 30e3 // 30sec
|
||||||
|
|
||||||
type Props = NativeStackScreenProps<HomeTabNavigatorParams, 'Home'>
|
type Props = NativeStackScreenProps<HomeTabNavigatorParams, 'Home'>
|
||||||
|
|
Loading…
Reference in New Issue