From 72e781a4eebc5ce6577b1d1bc1d3e8e3af417834 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Mon, 9 Dec 2019 21:43:16 +0400 Subject: [PATCH] Fix QR intro color --- .../AuthTransferUI/Sources/AuthTransferConfirmationScreen.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/AuthTransferUI/Sources/AuthTransferConfirmationScreen.swift b/submodules/AuthTransferUI/Sources/AuthTransferConfirmationScreen.swift index 155d07b299..384ffae882 100644 --- a/submodules/AuthTransferUI/Sources/AuthTransferConfirmationScreen.swift +++ b/submodules/AuthTransferUI/Sources/AuthTransferConfirmationScreen.swift @@ -19,7 +19,7 @@ private let colorKeyRegex = try? NSRegularExpression(pattern: "\"k\":\\[[\\d\\.] private func transformedWithTheme(data: Data, theme: PresentationTheme) -> Data { if var string = String(data: data, encoding: .utf8) { var colors: [UIColor] = [0x333333, 0xFFFFFF, 0x50A7EA, 0x212121].map { UIColor(rgb: $0) } - let replacementColors: [UIColor] = [theme.list.itemPrimaryTextColor.mixedWith(.white, alpha: 0.2), theme.list.plainBackgroundColor, theme.list.itemAccentColor, theme.list.itemPrimaryTextColor.mixedWith(.white, alpha: 0.12)] + let replacementColors: [UIColor] = [theme.list.itemPrimaryTextColor.mixedWith(.white, alpha: 0.2), theme.list.plainBackgroundColor, theme.list.itemAccentColor, theme.list.plainBackgroundColor] func colorToString(_ color: UIColor) -> String { var r: CGFloat = 0.0