Add scrolling to menu

zio/stable
Paul Frazee 2023-01-03 14:35:33 -06:00
parent 429cc1abf1
commit 7215da135b
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
import React, {useEffect} from 'react' import React, {useEffect} from 'react'
import { import {
ScrollView,
StyleProp, StyleProp,
StyleSheet, StyleSheet,
TouchableOpacity, TouchableOpacity,
@ -97,7 +98,7 @@ export const Menu = observer(
) )
return ( return (
<View style={[styles.view, pal.view]}> <ScrollView style={[styles.view, pal.view]}>
<TouchableOpacity <TouchableOpacity
onPress={() => onNavigate(`/profile/${store.me.handle}`)} onPress={() => onNavigate(`/profile/${store.me.handle}`)}
style={styles.profileCard}> style={styles.profileCard}>
@ -207,7 +208,8 @@ export const Menu = observer(
{VersionNumber.buildVersion}) {VersionNumber.buildVersion})
</Text> </Text>
</View> </View>
</View> <View style={{height: 100}} />
</ScrollView>
) )
}, },
) )