Skip to content

Commit

Permalink
configuration so that signup page is first
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanchi Shah committed Nov 6, 2018
1 parent bedca6c commit 4f86afd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Theta-Tau-App/Theta-Tau-App/Theta-Tau-App/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ public partial class App : Application
public App()
{
InitializeComponent();
MainPage = new MainPage();
/* !!! In order to look at current signup page, change line 15
* to MainPage = new SignupPage() */
MainPage = new NavigationPage(new SignupPage());
}

protected override void OnStart()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public SignupPage()
};

signupButton.Clicked += (object sender, EventArgs e) => {
// add logic here
// add logic here, or in another function
Navigation.PushAsync(new MainPage());
};

Content = new StackLayout
Expand All @@ -60,3 +61,4 @@ public SignupPage()
}
}


0 comments on commit 4f86afd

Please sign in to comment.