Tweaks to mobile onboard
This commit is contained in:
parent
5e765bf1cb
commit
b847917969
2 changed files with 7 additions and 6 deletions
|
@ -19,9 +19,9 @@ export const RecommendedFeeds = observer(({next}: Props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={[styles.container]} testID="recommendedFeedsScreen">
|
<View style={[styles.container]} testID="recommendedFeedsScreen">
|
||||||
<ViewHeader title="Recommended Feeds" canGoBack={true} />
|
<ViewHeader title="Recommended Feeds" showBackButton={false} />
|
||||||
<Text type="lg-medium" style={[pal.text, styles.header]}>
|
<Text type="lg-medium" style={[pal.text, styles.header]}>
|
||||||
Check out some recommended feeds. Click + to add them to your list of
|
Check out some recommended feeds. Tap + to add them to your list of
|
||||||
pinned feeds.
|
pinned feeds.
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
@ -72,14 +72,15 @@ const Item = ({item}: {item: ItemProps}) => {
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
marginHorizontal: 16,
|
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
},
|
},
|
||||||
header: {
|
header: {
|
||||||
marginBottom: 16,
|
marginBottom: 16,
|
||||||
|
marginHorizontal: 16,
|
||||||
},
|
},
|
||||||
button: {
|
button: {
|
||||||
marginBottom: 48,
|
marginBottom: 24,
|
||||||
|
marginHorizontal: 16,
|
||||||
marginTop: 16,
|
marginTop: 16,
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
|
|
|
@ -100,9 +100,9 @@ export const ViewHeader = observer(function ({
|
||||||
</View>
|
</View>
|
||||||
{renderButton ? (
|
{renderButton ? (
|
||||||
renderButton()
|
renderButton()
|
||||||
) : (
|
) : showBackButton ? (
|
||||||
<View style={canGoBack ? styles.backBtn : styles.backBtnWide} />
|
<View style={canGoBack ? styles.backBtn : styles.backBtnWide} />
|
||||||
)}
|
) : null}
|
||||||
</Container>
|
</Container>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue