void Signin() { User temp = new User("", Input); if (ComparePIN(temp, reference)) { Navigation.PushModalAsync(new MasterDetail(temp.Username)); //Application.Current.MainPage = new NavigationPage(new MoneyPage()); } else { DisplayAlert("boo", "user not found", "not nice"); Input.clearPin(); digit1.Color = Constants.EmptyBubble; digit2.Color = Constants.EmptyBubble; digit3.Color = Constants.EmptyBubble; digit4.Color = Constants.EmptyBubble; } }
private void buttonClr_Clicked(object sender, EventArgs e) { Input.clearPin(); digit1.Text = string.Empty; digit1.Placeholder = "X"; digit2.Text = string.Empty; digit2.Placeholder = "X"; digit3.Text = string.Empty; digit3.Placeholder = "X"; digit4.Text = string.Empty; digit4.Placeholder = "X"; }