Skip to content

Commit

Permalink
Update ThemeAnimationHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Mar 19, 2023
1 parent 7af8b26 commit 9ccf1d0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
namespace HandyControl.Tools;
public static class ThemeAnimationHelper
{
public async static void AnimateTheme(UIElement element, SlideDirection slideDirection, double durationSeconds, double fromOpacity, double toOpacity)
public
#if !NET40
async
#endif
static void AnimateTheme(UIElement element, SlideDirection slideDirection, double durationSeconds, double fromOpacity, double toOpacity)
{
if (element != null)
{
Expand Down

0 comments on commit 9ccf1d0

Please sign in to comment.