mirror of
https://github.com/bitwarden/android.git
synced 2024-12-28 03:48:31 +03:00
PM-3350 Fix for colored html text on iOS
This commit is contained in:
parent
0e75f3f5c8
commit
a31f15559f
2 changed files with 1 additions and 6 deletions
|
@ -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 a new issue