mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-26 12:16:07 +01:00
PM-3350 Fix for colored html text on iOS
This commit is contained in:
parent
0e75f3f5c8
commit
a31f15559f
@ -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)
|
||||
{
|
||||
|
@ -59,12 +59,11 @@
|
||||
<Setter Property="FontAttributes"
|
||||
Value="Bold" />
|
||||
</Style>
|
||||
<!--[MAUI-Migration][Color-default]-->
|
||||
<Style TargetType="Label"
|
||||
Class="text-html"
|
||||
ApplyToDerivedTypes="True">
|
||||
<Setter Property="TextColor"
|
||||
Value="#ffffff" />
|
||||
Value="{x:Null}" />
|
||||
<Setter Property="TextType"
|
||||
Value="Html" />
|
||||
</Style>
|
||||
|
Loading…
Reference in New Issue
Block a user