Skip to content

Commit

Permalink
added OnAppearing to uldetails to fade undo button
Browse files Browse the repository at this point in the history
  • Loading branch information
Programming-With-Chris committed Aug 24, 2022
1 parent a26a321 commit 23d6c6a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ShoppingList/View/UserListDetails.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ public UserListDetails(UserListDetailViewModel userListDetailViewModel)

}

private void OnCheckboxClicked(object sender, CheckedChangedEventArgs e)
protected override void OnAppearing()
{
base.OnAppearing();
var undoButton = this.FindByName("UndoButton") as CircularButton;
undoButton.FadeTo(0, 500);

}

private void OnCheckboxClicked(object sender, CheckedChangedEventArgs e)
{

CheckBox thisCheckbox = sender as CheckBox;
Expand Down

0 comments on commit 23d6c6a

Please sign in to comment.