From f4300ab2ed8ce3ef0319e036cc1333999a1c39df Mon Sep 17 00:00:00 2001 From: Igor Kravchenko Date: Tue, 15 Oct 2024 18:20:30 +0300 Subject: [PATCH] Update 'Check Messages' button and margins on SC Welcome screen Update SC Welcome screen according to new design: decrease 'Check Messages' button size and side margins. MOB-3691 --- .../Welcome/SecureConversations.WelcomeView.swift | 2 +- .../Welcome/Theme+SecureConversationsWelcome.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GliaWidgets/SecureConversations/Welcome/SecureConversations.WelcomeView.swift b/GliaWidgets/SecureConversations/Welcome/SecureConversations.WelcomeView.swift index 028dbb296..aa41f4ab8 100644 --- a/GliaWidgets/SecureConversations/Welcome/SecureConversations.WelcomeView.swift +++ b/GliaWidgets/SecureConversations/Welcome/SecureConversations.WelcomeView.swift @@ -5,7 +5,7 @@ import Dispatch extension SecureConversations { final class WelcomeView: BaseView { - static let sideMargin = 24.0 + static let sideMargin = 16.0 static let filePickerButtonSize = 44.0 var props: Props { diff --git a/GliaWidgets/SecureConversations/Welcome/Theme+SecureConversationsWelcome.swift b/GliaWidgets/SecureConversations/Welcome/Theme+SecureConversationsWelcome.swift index e418b6be1..884e0f7c1 100644 --- a/GliaWidgets/SecureConversations/Welcome/Theme+SecureConversationsWelcome.swift +++ b/GliaWidgets/SecureConversations/Welcome/Theme+SecureConversationsWelcome.swift @@ -26,8 +26,8 @@ extension Theme { let checkMessagesButtonStyle = SecureConversations.WelcomeStyle.CheckMessagesButtonStyle( title: Localization.MessageCenter.Welcome.checkMessages, - font: font.header2, - textStyle: .title2, + font: font.bodyText, + textStyle: .body, color: color.primary, accessibility: .init( isFontScalingEnabled: true,