pr8x / DesktopNotifications

A cross-platform C# library for native desktop "toast" notifications.
MIT License
182 stars 32 forks source link

SetupDesktopNotification doesn't correspond to the example in 1.3.1 #26

Open x0rld opened 10 months ago

x0rld commented 10 months ago

hi, I tried to use your library but it looks like the extension method has no second parameters I have this prototype when I check locally public static TAppBuilder SetupDesktopNotifications<TAppBuilder>(this TAppBuilder builder) where TAppBuilder : AppBuilderBase<TAppBuilder>, new() image

I just installed the nuget and tried to follow the example did I do something wrong ?

MishaProductions commented 9 months ago

It seems that the nuget package is out of date. As a workaround I copied https://github.com/pr8x/DesktopNotifications/blob/master/DesktopNotifications.Avalonia/AppBuilderExtensions.cs to my project

x0rld commented 9 months ago

It seems that the nuget package is out of date. As a workaround I copied https://github.com/pr8x/DesktopNotifications/blob/master/DesktopNotifications.Avalonia/AppBuilderExtensions.cs to my project

Oh I didn't see tje response, thanks I will check it

stephannn commented 3 months ago

@x0rld , worked for me on Ubuntu with Avalonia 11.1.3