...
This commit is contained in:
@@ -98,12 +98,12 @@
|
||||
{
|
||||
base.OnInitialized();
|
||||
|
||||
MyDialogService.Subscribe(StateHasChanged);
|
||||
MyDialogService.Subscribe(() => InvokeAsync(StateHasChanged));
|
||||
}
|
||||
|
||||
void IDisposable.Dispose()
|
||||
{
|
||||
MyDialogService.Unsubscribe(StateHasChanged);
|
||||
MyDialogService.Unsubscribe(() => InvokeAsync(StateHasChanged));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user