Revize d5dd3956
Přidáno uživatelem Michal Schwob před více než 1 rok
src/components/navigation/MenuComponent.tsx | ||
---|---|---|
49 | 49 |
<ChevronRightIcon/> |
50 | 50 |
</HStack> |
51 | 51 |
</Menu.Item> |
52 |
<Menu.Item |
|
53 |
onPress={ () => props.navigation.navigate("Plan", { placeId: undefined, roomId: undefined }) } |
|
54 |
_text={ { color: "primary.500" } } |
|
55 |
_pressed={ { bg: "secondary.500" } } |
|
56 |
bg={ route === "Plan" ? "secondary.500" : "white" } |
|
57 |
> |
|
58 |
<HStack justifyContent={ "space-between" } flex={ 1 }> |
|
59 |
<Text>Plan</Text> |
|
60 |
<ChevronRightIcon/> |
|
61 |
</HStack> |
|
62 |
</Menu.Item> |
|
52 | 63 |
<Menu.Item |
53 | 64 |
onPress={ () => props.navigation.navigate("Logout") } |
54 | 65 |
_text={ { color: "primary.500" } } |
Také k dispozici: Unified diff
FIX: rendering plan view fixed, plan view page added to navigation
re #10873