From 5bfdbc90672b571b688666ff16e33ca6d76cfd8e Mon Sep 17 00:00:00 2001 From: capdiem Date: Fri, 29 Dec 2023 14:45:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(--icon):=20Use=20IconSet.Fon?= =?UTF-8?q?tAwesome6=20instead=20of=20v5=20(#73)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Content/BlazorEmptyServer/Program.cs | 2 +- src/Content/BlazorEmptyWasm/Program.cs | 2 +- src/Content/BlazorMaui/BlazorMaui.Client/Program.cs | 2 +- src/Content/BlazorMaui/BlazorMaui.Server/Program.cs | 2 +- src/Content/BlazorMaui/BlazorMaui/MauiProgram.cs | 2 +- src/Content/BlazorServer/Program.cs | 2 +- src/Content/BlazorWasm/Program.cs | 2 +- src/Content/BlazorWeb/BlazorWebApp.Client/Program.cs | 4 ++-- src/Content/BlazorWeb/BlazorWebApp/Program.Main.cs | 4 ++-- src/Content/BlazorWeb/BlazorWebApp/Program.cs | 4 ++-- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Content/BlazorEmptyServer/Program.cs b/src/Content/BlazorEmptyServer/Program.cs index 4382715..02e74bf 100644 --- a/src/Content/BlazorEmptyServer/Program.cs +++ b/src/Content/BlazorEmptyServer/Program.cs @@ -13,7 +13,7 @@ builder.Services.AddMasaBlazor(options => { #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif diff --git a/src/Content/BlazorEmptyWasm/Program.cs b/src/Content/BlazorEmptyWasm/Program.cs index f165fb8..086f029 100644 --- a/src/Content/BlazorEmptyWasm/Program.cs +++ b/src/Content/BlazorEmptyWasm/Program.cs @@ -17,7 +17,7 @@ builder.Services.AddMasaBlazor(options => { #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif diff --git a/src/Content/BlazorMaui/BlazorMaui.Client/Program.cs b/src/Content/BlazorMaui/BlazorMaui.Client/Program.cs index b374688..f8509f9 100644 --- a/src/Content/BlazorMaui/BlazorMaui.Client/Program.cs +++ b/src/Content/BlazorMaui/BlazorMaui.Client/Program.cs @@ -18,7 +18,7 @@ builder.Services.AddMasaBlazor(options => { #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif diff --git a/src/Content/BlazorMaui/BlazorMaui.Server/Program.cs b/src/Content/BlazorMaui/BlazorMaui.Server/Program.cs index 16f68ef..2825c5f 100644 --- a/src/Content/BlazorMaui/BlazorMaui.Server/Program.cs +++ b/src/Content/BlazorMaui/BlazorMaui.Server/Program.cs @@ -14,7 +14,7 @@ builder.Services.AddMasaBlazor(options => { #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif diff --git a/src/Content/BlazorMaui/BlazorMaui/MauiProgram.cs b/src/Content/BlazorMaui/BlazorMaui/MauiProgram.cs index 3cfbdc2..7dccc83 100644 --- a/src/Content/BlazorMaui/BlazorMaui/MauiProgram.cs +++ b/src/Content/BlazorMaui/BlazorMaui/MauiProgram.cs @@ -25,7 +25,7 @@ public static MauiApp CreateMauiApp() builder.Services.AddMasaBlazor(options => { #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif diff --git a/src/Content/BlazorServer/Program.cs b/src/Content/BlazorServer/Program.cs index a9ff18c..93aea96 100644 --- a/src/Content/BlazorServer/Program.cs +++ b/src/Content/BlazorServer/Program.cs @@ -14,7 +14,7 @@ builder.Services.AddMasaBlazor(options => { #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif diff --git a/src/Content/BlazorWasm/Program.cs b/src/Content/BlazorWasm/Program.cs index d28a47c..7158473 100644 --- a/src/Content/BlazorWasm/Program.cs +++ b/src/Content/BlazorWasm/Program.cs @@ -17,7 +17,7 @@ builder.Services.AddMasaBlazor(options => { #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif diff --git a/src/Content/BlazorWeb/BlazorWebApp.Client/Program.cs b/src/Content/BlazorWeb/BlazorWebApp.Client/Program.cs index c9bfb2a..1fccfe4 100644 --- a/src/Content/BlazorWeb/BlazorWebApp.Client/Program.cs +++ b/src/Content/BlazorWeb/BlazorWebApp.Client/Program.cs @@ -12,7 +12,7 @@ #if (md) options.ConfigureIcons(IconSet.MaterialDesign); #elif (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #endif options.ConfigureSsr(ssr => { @@ -27,7 +27,7 @@ builder.Services.AddMasaBlazor(); #else #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif diff --git a/src/Content/BlazorWeb/BlazorWebApp/Program.Main.cs b/src/Content/BlazorWeb/BlazorWebApp/Program.Main.cs index 709addb..9285677 100644 --- a/src/Content/BlazorWeb/BlazorWebApp/Program.Main.cs +++ b/src/Content/BlazorWeb/BlazorWebApp/Program.Main.cs @@ -36,7 +36,7 @@ public static void Main(string[] args) #if (md) options.ConfigureIcons(IconSet.MaterialDesign); #elif (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #endif options.ConfigureSsr(ssr => { @@ -53,7 +53,7 @@ public static void Main(string[] args) builder.Services.AddMasaBlazor(options => { #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif diff --git a/src/Content/BlazorWeb/BlazorWebApp/Program.cs b/src/Content/BlazorWeb/BlazorWebApp/Program.cs index 9109415..5f73895 100644 --- a/src/Content/BlazorWeb/BlazorWebApp/Program.cs +++ b/src/Content/BlazorWeb/BlazorWebApp/Program.cs @@ -30,7 +30,7 @@ #if (md) options.ConfigureIcons(IconSet.MaterialDesign); #elif (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #endif options.ConfigureSsr(ssr => { @@ -47,7 +47,7 @@ builder.Services.AddMasaBlazor(options => { #if (fa) - options.ConfigureIcons(IconSet.FontAwesome); + options.ConfigureIcons(IconSet.FontAwesome6); #else options.ConfigureIcons(IconSet.MaterialDesign); #endif