Prechádzať zdrojové kódy

Dont schedule if date is in past without variable components (Windows)

Sebastián Katzer 8 rokov pred
rodič
commit
55890836bc

+ 1 - 1
src/windows/LocalNotificationProxy/LocalNotificationProxy/LocalNotification/Trigger.cs

@@ -179,7 +179,7 @@ namespace LocalNotificationProxy.LocalNotification
                 return date;
             }
 
-            if (date.Year < now.Year)
+            if (every.Interval == null || date.Year < now.Year)
             {
                 return null;
             }