Browse Source

Fixed post login screen when clicking on home header button login

Arnaud Vergnet 3 years 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
     };
164
     };
165
 
165
 
166
     getHeaderButton = () => {
166
     getHeaderButton = () => {
167
-        let onPressLog = () => this.props.navigation.navigate("login");
167
+        let onPressLog = () => this.props.navigation.navigate("login", {nextScreen: "profile"});
168
         let logIcon = "login";
168
         let logIcon = "login";
169
         let logColor = this.props.theme.colors.primary;
169
         let logColor = this.props.theme.colors.primary;
170
         if (this.isLoggedIn) {
170
         if (this.isLoggedIn) {

Loading…
Cancel
Save