diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-03 14:35:33 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-03 14:35:33 -0600 |
commit | 7215da135bc434b689cc82d1c606da38b01775c4 (patch) | |
tree | 4422afd33abe3ef4ffcfa3fee3344f3ec8bb1701 /src | |
parent | 429cc1abf18d4e7d3d065db7243e86498bd0d3e4 (diff) | |
download | voidsky-7215da135bc434b689cc82d1c606da38b01775c4.tar.zst |
Add scrolling to menu
Diffstat (limited to 'src')
-rw-r--r-- | src/view/shell/mobile/Menu.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/view/shell/mobile/Menu.tsx b/src/view/shell/mobile/Menu.tsx index 81f2164da..99f2bdab6 100644 --- a/src/view/shell/mobile/Menu.tsx +++ b/src/view/shell/mobile/Menu.tsx @@ -1,5 +1,6 @@ import React, {useEffect} from 'react' import { + ScrollView, StyleProp, StyleSheet, TouchableOpacity, @@ -97,7 +98,7 @@ export const Menu = observer( ) return ( - <View style={[styles.view, pal.view]}> + <ScrollView style={[styles.view, pal.view]}> <TouchableOpacity onPress={() => onNavigate(`/profile/${store.me.handle}`)} style={styles.profileCard}> @@ -207,7 +208,8 @@ export const Menu = observer( {VersionNumber.buildVersion}) </Text> </View> - </View> + <View style={{height: 100}} /> + </ScrollView> ) }, ) |