Skip to content

Commit

Permalink
Fix playback state updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxocube committed Jan 6, 2025
1 parent cad1869 commit bcf9f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MediaFeeder/MediaFeeder/Components/Pages/Sessions.razor
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
protected override void OnParametersSet()
{
if (SessionManager != null)
SessionManager.UpdateEvent += StateHasChanged;
SessionManager.UpdateEvent += () => InvokeAsync(StateHasChanged);
}
}
2 changes: 1 addition & 1 deletion MediaFeeder/MediaFeeder/Components/SessionInfo.razor
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
protected override void OnParametersSet()
{
if (Session != null)
Session.UpdateEvent += StateHasChanged;
Session.UpdateEvent += () => InvokeAsync(StateHasChanged);
}
}

0 comments on commit bcf9f95

Please sign in to comment.