Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
stsrki committed Nov 12, 2024
1 parent ec9aa25 commit 9b6d437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Extensions/Blazorise.Video/Video.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public override async Task SetParametersAsync( ParameterView parameters )

if ( sourceChanged || currentTimeChanged || volumeChanged )
{
ExecuteAfterRender( async () => await JSModule.UpdateOptions( ElementRef, ElementId, new VideoUpdateJSOptions()
ExecuteAfterRender( async () => await JSModule.UpdateOptions( ElementRef, ElementId, new()
{
Source = new JSOptionChange<VideoSource>( sourceChanged, paramSource ),
ProtectionType = new JSOptionChange<VideoProtectionType>( protectionTypeChanged, paramProtectionType ),
Expand Down

0 comments on commit 9b6d437

Please sign in to comment.