Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. Navigation.InsertPageBefore(new MainPage(), new NavigationPage(new
  2. PeppyMasterDetail()));
  3. await Navigation.PopAsync();
  4.  
  5. if (!string.IsNullOrWhiteSpace(Settings.AccessToken))
  6. {
  7. MainPage = new NavigationPage(new PeppyMasterDetail())
  8. {
  9.  
  10. };
  11. }
  12.  
  13. else if (string.IsNullOrWhiteSpace(Settings.UserName) && string.IsNullOrWhiteSpace(Settings.Password))
  14. {
  15. MainPage = new NavigationPage(new MainPage())
  16. {
  17. BarBackgroundColor = Color.Purple,
  18. BarTextColor = Color.White
  19. };
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement