Commit 3e4d877b by Sebastián Katzer

Log calculated trigger date in debug mode

parent db6b182c
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
namespace LocalNotificationProxy.LocalNotification namespace LocalNotificationProxy.LocalNotification
{ {
using Microsoft.Toolkit.Uwp.Notifications; using Microsoft.Toolkit.Uwp.Notifications;
using System.Diagnostics;
using Windows.UI.Notifications; using Windows.UI.Notifications;
internal class Builder internal class Builder
...@@ -160,6 +161,8 @@ namespace LocalNotificationProxy.LocalNotification ...@@ -160,6 +161,8 @@ namespace LocalNotificationProxy.LocalNotification
var at = this.request.TriggerDate; var at = this.request.TriggerDate;
ScheduledToastNotification notification; ScheduledToastNotification notification;
Debug.WriteLine("[local-notification] Next trigger at: " + at);
if (!at.HasValue) if (!at.HasValue)
{ {
return null; return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment