From 0e75f3f5c8d6f30de2b18d880a70065e5f364017 Mon Sep 17 00:00:00 2001 From: Dinis Vieira Date: Fri, 10 Nov 2023 23:30:54 +0000 Subject: [PATCH] PM-3349 Fix for HTML Label on Android. Color hex doesn't need to be cropped anymore. --- src/Core/Utilities/GeneratedValueFormatter.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Core/Utilities/GeneratedValueFormatter.cs b/src/Core/Utilities/GeneratedValueFormatter.cs index 20f2d12aa6..e36557d4d2 100644 --- a/src/Core/Utilities/GeneratedValueFormatter.cs +++ b/src/Core/Utilities/GeneratedValueFormatter.cs @@ -27,11 +27,9 @@ namespace Bit.App.Utilities return string.Empty; } - // First two digits of returned hex code contains the alpha, - // which is not supported in HTML color, so we need to cut those out. - var normalColor = $""; - var numberColor = $""; - var specialColor = $""; + var normalColor = $""; + var numberColor = $""; + var specialColor = $""; var result = string.Empty; // iOS won't hide the zero-width space char without these div attrs, but Android won't respect