From 7af8b263b6c456afe3b19f6ca3ef2c525c6d4398 Mon Sep 17 00:00:00 2001 From: Mahdi Hosseini Date: Sun, 19 Mar 2023 21:39:12 +0330 Subject: [PATCH] Update ThemeAnimationHelper.cs --- .../HandyControls/Tools/Helper/ThemeAnimationHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shared/HandyControl_Shared/HandyControls/Tools/Helper/ThemeAnimationHelper.cs b/src/Shared/HandyControl_Shared/HandyControls/Tools/Helper/ThemeAnimationHelper.cs index a1aadb4e..0f659b97 100644 --- a/src/Shared/HandyControl_Shared/HandyControls/Tools/Helper/ThemeAnimationHelper.cs +++ b/src/Shared/HandyControl_Shared/HandyControls/Tools/Helper/ThemeAnimationHelper.cs @@ -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