Skip to content

Commit bd0f597

Browse files
committed
refactor: 精简代码
1 parent 261ada0 commit bd0f597

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/BootstrapBlazor/Options/FontAwesomeIcons.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
// See the LICENSE file in the project root for more information.
44
// Maintainer: Argo Zhang([email protected]) Website: https://www.blazor.zone
55

6-
#if NET8_0_OR_GREATER
7-
using System.Collections.Frozen;
8-
#endif
9-
106
namespace BootstrapBlazor.Components;
117

128
internal static class FontAwesomeIcons
@@ -225,8 +221,4 @@ internal static class FontAwesomeIcons
225221
{ ComponentIcons.ThemeProviderDarkModeIcon, "fa-solid fa-moon" },
226222
{ ComponentIcons.ThemeProviderActiveModeIcon, "fa-solid fa-check" }
227223
};
228-
229-
#if NET8_0_OR_GREATER
230-
public static System.Collections.Frozen.FrozenDictionary<ComponentIcons, string> ToFrozenDictionary() => Icons.ToFrozenDictionary();
231-
#endif
232224
}

0 commit comments

Comments
 (0)