ToastNotification icon indicating copy to clipboard operation
ToastNotification copied to clipboard

Cannot create a notification that lasts indefinitely

Open danny1461 opened this issue 2 years ago • 0 comments

I can see that the notification services accept an int? for the duration values, but there is an if on the base Notification class that converts 0 to null. This undercuts the support the JS libraries have for this special duration value.

The only workaround now is to set the duration to an arbitrarily large number.

danny1461 avatar Sep 29 '22 16:09 danny1461