private void Button_Clicked(object sender, EventArgs e) { if (string.IsNullOrWhiteSpace(Code)) { var LoginAuth = new LoginOauthView(@"https://www.reddit.com/login/", Mode.Login); Navigation.PushModalAsync(new NavigationPage(LoginAuth)); } }
private void cmdLogout_Clicked(object sender, EventArgs e) { var LoginAuth = new LoginOauthView(@"https://old.reddit.com/", Mode.Logout); Navigation.PushModalAsync(new NavigationPage(LoginAuth)); }