From e8dab0fb8d17687855c31430416f5bba2fca2cac Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 8 Feb 2025 00:24:38 +0000 Subject: [PATCH] Make UnmaskSecureField respond to dynamic type --- Swiftfin/Components/UnmaskSecureField.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Swiftfin/Components/UnmaskSecureField.swift b/Swiftfin/Components/UnmaskSecureField.swift index d46860cec..bf01c6c22 100644 --- a/Swiftfin/Components/UnmaskSecureField.swift +++ b/Swiftfin/Components/UnmaskSecureField.swift @@ -32,6 +32,8 @@ struct UnmaskSecureField: UIViewRepresentable { func makeUIView(context: Context) -> UITextField { let textField = UITextField() + textField.font = UIFont.preferredFont(forTextStyle: .body) + textField.adjustsFontForContentSizeCategory = true textField.isSecureTextEntry = true textField.keyboardType = .asciiCapable textField.placeholder = title