//static ILoginManager loginManger; //public static App Current; public App() { Current = this; var isLoggedIn = Properties.ContainsKey("IsLoggedIn")?(bool)Properties ["IsLoggedIn"]:false; //if (isLoggedIn) // MainPage = new MainTabbedPage(); // else MainPage = new LoginModalPage(this); }
//static ILoginManager loginManger; //public static App Current; public App() { Current = this; var isLoggedIn = Properties.ContainsKey("IsLoggedIn")?(bool)Properties ["IsLoggedIn"]:false; //if (isLoggedIn) // MainPage = new MainTabbedPage(); // else MainPage = new LoginModalPage(this); }
public void Logout() { Properties["IsLoggedIn"] = false; MainPage = new LoginModalPage(this); }
public void Logout() { Properties["IsLoggedIn"] = false; MainPage = new LoginModalPage(this); }