mirror of
https://gitlab.com/wheres-the-tp/ui-mobile.git
synced 2026-01-25 04:24:56 -06:00
Merge branch '106-bottom-nav-goes-off-screen' into 'master'
Resolve "bottom nav goes off screen for lower res screens" Closes #106 See merge request aretherecookies/ui-mobile!25
This commit is contained in:
commit
160c1f330f
1 changed files with 26 additions and 1 deletions
|
|
@ -34,30 +34,55 @@ const Nav = (props: Props) => {
|
|||
icon="local-pizza"
|
||||
label="Food"
|
||||
onPress={setRoute('/list/food')}
|
||||
style={{
|
||||
container: {
|
||||
minWidth: 40,
|
||||
},
|
||||
}}
|
||||
/>
|
||||
<BottomNavigation.Action
|
||||
key="places"
|
||||
icon="restaurant"
|
||||
label="Places"
|
||||
onPress={setRoute('/list/places')}
|
||||
style={{
|
||||
container: {
|
||||
minWidth: 40,
|
||||
},
|
||||
}}
|
||||
/>
|
||||
<BottomNavigation.Action
|
||||
key="add"
|
||||
icon="add-circle"
|
||||
label="Add"
|
||||
onPress={setRoute(`/createFoodItem?backto=${location.pathname}`)}
|
||||
style={{
|
||||
container: {
|
||||
minWidth: 40,
|
||||
},
|
||||
}}
|
||||
/>
|
||||
<BottomNavigation.Action
|
||||
key="fave"
|
||||
icon="favorite"
|
||||
label="Favorites"
|
||||
label="Faves"
|
||||
onPress={setRoute('/list/food')}
|
||||
style={{
|
||||
container: {
|
||||
minWidth: 40,
|
||||
},
|
||||
}}
|
||||
/>
|
||||
<BottomNavigation.Action
|
||||
key="profile"
|
||||
icon="person"
|
||||
label="Profile"
|
||||
onPress={setRoute('/list/profile')}
|
||||
style={{
|
||||
container: {
|
||||
minWidth: 40,
|
||||
},
|
||||
}}
|
||||
/>
|
||||
</BottomNavigation>
|
||||
</SafeAreaView>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue