From e2856dfb97d948a02c1ccd5d22c32b0dee1fc6ad Mon Sep 17 00:00:00 2001 From: ryanzhao Date: Wed, 23 Aug 2023 15:19:01 +1000 Subject: [PATCH] adjust font size --- SessionUIKit/Components/SessionTextField.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SessionUIKit/Components/SessionTextField.swift b/SessionUIKit/Components/SessionTextField.swift index 0795ef914..6752cadc9 100644 --- a/SessionUIKit/Components/SessionTextField.swift +++ b/SessionUIKit/Components/SessionTextField.swift @@ -26,7 +26,7 @@ public struct SessionTextField: View { ZStack(alignment: .topLeading) { if text.isEmpty { Text(placeholder) - .font(.system(size: Values.mediumFontSize)) + .font(.system(size: Values.smallFontSize)) .foregroundColor(themeColor: .textSecondary) } @@ -38,7 +38,7 @@ public struct SessionTextField: View { } } ) - .font(.system(size: Values.mediumFontSize)) + .font(.system(size: Values.smallFontSize)) .foregroundColor(themeColor: (error?.isEmpty == false) ? .danger : .textPrimary) } .padding(.horizontal, Values.largeSpacing) @@ -59,7 +59,7 @@ public struct SessionTextField: View { ZStack { Text(error ?? "") .bold() - .font(.system(size: Values.mediumFontSize)) + .font(.system(size: Values.smallFontSize)) .foregroundColor(themeColor: .danger) .multilineTextAlignment(.center) }