Skip to content

Commit 3671d7f

Browse files
committed
refactor: 更新 IsFade 逻辑
1 parent 5f6e7f9 commit 3671d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Extensions/BootstrapBlazorOptionsExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ public static class BootstrapBlazorOptionsExtensions
3636
/// <param name="options">The BootstrapBlazorOptions instance</param>
3737
/// <param name="value">The default value</param>
3838
/// <returns>The IsFade value as a boolean</returns>
39-
public static bool GetIsFadeValue(this BootstrapBlazorOptions options, bool? value) => options.ModalSettings.IsFade ?? value ?? true;
39+
public static bool GetIsFadeValue(this BootstrapBlazorOptions options, bool? value) => value ?? options.ModalSettings.IsFade ?? true;
4040
}

0 commit comments

Comments
 (0)