Browse Source

Fix slideshow button

Ruben 6 tháng trước cách đây
mục cha
commit
82cab861ba
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/PicView.Avalonia/Navigation/Slideshow.cs

+ 1 - 1
src/PicView.Avalonia/Navigation/Slideshow.cs

@@ -34,7 +34,7 @@ public static class Slideshow
 
         if (milliseconds <= 0)
         {
-            await StartSlideshow(vm);
+            await Start(vm, TimeSpan.FromSeconds(Settings.UIProperties.SlideShowTimer).TotalMilliseconds);
         }
         else
         {