Skip to content

Commit

Permalink
fixed crash on system messgaing
Browse files Browse the repository at this point in the history
  • Loading branch information
vickkie committed Aug 3, 2024
1 parent 7f07178 commit d2acfef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/bottomsheets/HomeMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,12 @@ const HomeMenu = forwardRef((props, ref) => {
</TouchableOpacity>
</View>
<View style={styles.listContainer}>
<TouchableOpacity onPress={() => handleNavigation("Message")}>
<TouchableOpacity
onPress={() => {
userLogin ? handleNavigation("Message") : handleNavigation("Login");
// handleNavigation("Message");
}}
>
<View style={styles.menuCombinelist}>
<Icon name="dialog" size={26} />
<Text style={styles.menuText}>Message Center</Text>
Expand Down

0 comments on commit d2acfef

Please sign in to comment.