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 01cd439 commit 7af8b26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public async static void AnimateTheme(UIElement element, SlideDirection slideDir

storyboard.Begin();
#if NET40
Thread.Sleep(TimeSpan.FromSeconds(durationSeconds));
System.Threading.Thread.Sleep(TimeSpan.FromSeconds(durationSeconds));
#else
await Task.Delay(TimeSpan.FromSeconds(durationSeconds)); // Wait for the fade out animation to finish
#endif
Expand Down

0 comments on commit 7af8b26

Please sign in to comment.