forked from vergnet/application-amicale
Fixed post login screen when clicking on home header button login
This commit is contained in:
parent
98359dba7d
commit
629f0401bc
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class HomeScreen extends React.Component<Props, State> {
|
||||||
};
|
};
|
||||||
|
|
||||||
getHeaderButton = () => {
|
getHeaderButton = () => {
|
||||||
let onPressLog = () => this.props.navigation.navigate("login");
|
let onPressLog = () => this.props.navigation.navigate("login", {nextScreen: "profile"});
|
||||||
let logIcon = "login";
|
let logIcon = "login";
|
||||||
let logColor = this.props.theme.colors.primary;
|
let logColor = this.props.theme.colors.primary;
|
||||||
if (this.isLoggedIn) {
|
if (this.isLoggedIn) {
|
||||||
|
|
Loading…
Reference in a new issue