Browse Source

Fixed post login screen when clicking on home header button login

Arnaud Vergnet 1 year ago
parent
commit
629f0401bc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/screens/Home/HomeScreen.js

+ 1
- 1
src/screens/Home/HomeScreen.js View File

@@ -164,7 +164,7 @@ class HomeScreen extends React.Component<Props, State> {
164 164
     };
165 165
 
166 166
     getHeaderButton = () => {
167
-        let onPressLog = () => this.props.navigation.navigate("login");
167
+        let onPressLog = () => this.props.navigation.navigate("login", {nextScreen: "profile"});
168 168
         let logIcon = "login";
169 169
         let logColor = this.props.theme.colors.primary;
170 170
         if (this.isLoggedIn) {

Loading…
Cancel
Save