Skip to content

Commit 6e1a679

Browse files
committed
refactor: 更新扩展方法
1 parent 01c6e57 commit 6e1a679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Extensions/FullScreenServiceExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ public static class FullScreenServiceExtensions
2424
/// <param name="id"></param>
2525
/// <param name="service"></param>
2626
/// <returns></returns>
27-
public static Task ToggleById(this FullScreenService service, string id) => service.Toggle(new() { Id = id });
27+
public static Task ToggleById(this FullScreenService service, string? id = null) => service.Toggle(new() { Id = id });
2828
}

0 commit comments

Comments
 (0)