Skip to content

Commit

Permalink
Minor bug
Browse files Browse the repository at this point in the history
Fixed bug wit animations.
  • Loading branch information
FANMixco committed Aug 11, 2020
1 parent d0b6d68 commit 9527f9d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tk.supernovaic.MaterialSearchBar/MaterialSearchBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,10 @@ private void AnimateNavIcon(bool menuState)
NavIcon.SetImageResource(Resource.Drawable.ic_back_animated);
}
}
var mDrawable = NavIcon.Drawable;
((IAnimatable)mDrawable).Start();
if (NavIcon.Drawable is IAnimatable a)
{
a.Start();
}
}

private void AnimateSuggestions(int from, int to)
Expand Down

1 comment on commit 9527f9d

@FANMixco
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is working

Please sign in to comment.