From 16d33726edec0a6206fe23a4a0ae2c3f3973b7aa Mon Sep 17 00:00:00 2001 From: Kevin Petit Date: Tue, 16 Apr 2019 15:55:59 +0200 Subject: [PATCH] Fix font awesome solid on UWP. --- src/Plugin.Iconize/Platform/UWP/PlatformExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin.Iconize/Platform/UWP/PlatformExtensions.cs b/src/Plugin.Iconize/Platform/UWP/PlatformExtensions.cs index 6b9ddaa..132b363 100644 --- a/src/Plugin.Iconize/Platform/UWP/PlatformExtensions.cs +++ b/src/Plugin.Iconize/Platform/UWP/PlatformExtensions.cs @@ -31,7 +31,7 @@ public static FontFamily ToFontFamily(this IIconModule module) var moduleType = module.GetType(); if (!FontCache.ContainsKey(moduleType)) { - FontCache.Add(moduleType, new FontFamily($"ms-appx:///{moduleType.GetTypeInfo().Assembly.GetName().Name}/{module.FontPath}#{module.FontFamily.Replace(" Regular","")}")); + FontCache.Add(moduleType, new FontFamily($"ms-appx:///{moduleType.GetTypeInfo().Assembly.GetName().Name}/{module.FontPath}#{module.FontFamily.Replace(" Regular","").Replace(" Solid","")}")); } return FontCache[moduleType]; }