File tree Expand file tree Collapse file tree
Src/Drogecode.Blazor.ExpireStorage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <RootNamespace >Drogecode.Blazor.ExpireStorage</RootNamespace >
8- <Version >0.2.0 </Version >
8+ <Version >0.2.1 </Version >
99 <Title >Drogecode.Blazor.ExpireStorage</Title >
1010 <Authors >Taco Droogers</Authors >
1111 <PackageProjectUrl >https://github.com/Drogecode/Drogecode.Blazor.ExpireStorage</PackageProjectUrl >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class ExpireStorageService : IExpireStorageService
1515 /// </summary>
1616 public static string ? Postfix { get ; set ; }
1717
18- public static EventCallback < bool > IsOfflineChanged { get ; set ; }
18+ public static event Func < bool , Task > ? IsOfflineChanged ;
1919
2020 /// <summary>
2121 /// True if the last request failed.
@@ -27,7 +27,7 @@ private set
2727 {
2828 if ( field == value ) return ;
2929 field = value ;
30- IsOfflineChanged . InvokeAsync ( field ) ;
30+ IsOfflineChanged ? . Invoke ( field ) ;
3131 }
3232 }
3333
You can’t perform that action at this time.
0 commit comments