get timeout working

This commit is contained in:
mshafer1
2024-12-20 12:11:07 -06:00
parent 3e43002b47
commit f5298e1a4e
3 changed files with 43 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ namespace ntfysh_client
//notifyIcon.ShowBalloonTip((int)TimeSpan.FromSeconds((double)Program.Settings.Timeout).TotalMilliseconds, finalTitle, e.Message, priorityIcon);
//this.notificationDialog.IsVisible = true;
this.notificationDialog.ShowNotification(finalTitle, e.Message);
this.notificationDialog.ShowNotification(finalTitle, e.Message, (int)TimeSpan.FromSeconds((double)Program.Settings.Timeout).TotalMilliseconds);
}
private void OnConnectionMultiAttemptFailure(NotificationListener sender, SubscribedTopic topic)