From a31f15559ff2871a1028701ca2b496f0766aad9c Mon Sep 17 00:00:00 2001 From: Dinis Vieira Date: Sat, 11 Nov 2023 15:05:51 +0000 Subject: [PATCH] PM-3350 Fix for colored html text on iOS --- src/Core/Controls/MonoLabel.cs | 4 ---- src/Core/Resources/Styles/Base.xaml | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Core/Controls/MonoLabel.cs b/src/Core/Controls/MonoLabel.cs index 35a26fd02..665269d03 100644 --- a/src/Core/Controls/MonoLabel.cs +++ b/src/Core/Controls/MonoLabel.cs @@ -7,10 +7,6 @@ if (DeviceInfo.Platform == DevicePlatform.iOS) { FontFamily = "Menlo-Regular"; - - //[MAUI-Migration] Temporary Workaround for the Text to appear in iOS. - // A proper solution needs to be found to be able to have html text with different colors or alternatively use Label FormattedString Spans - TextColor = Colors.Black; } else if (DeviceInfo.Platform == DevicePlatform.Android) { diff --git a/src/Core/Resources/Styles/Base.xaml b/src/Core/Resources/Styles/Base.xaml index 81727de02..ca825485a 100644 --- a/src/Core/Resources/Styles/Base.xaml +++ b/src/Core/Resources/Styles/Base.xaml @@ -59,12 +59,11 @@ -