diff options
| author | Sajad Vishkai <sajaclvishkai@gmail.com> | 2022-09-26 11:46:31 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-09-26 16:31:20 +0200 |
| commit | 0e990fcbd3f65b8ba0412c092765285213d6543c (patch) | |
| tree | 8b51a7ff64c842371ca2e27a334c0bed484a7502 | |
| parent | 1737b1b85627915116ec4625aa61b34865546f57 (diff) | |
| download | mullvadvpn-0e990fcbd3f65b8ba0412c092765285213d6543c.tar.xz mullvadvpn-0e990fcbd3f65b8ba0412c092765285213d6543c.zip | |
Update AccountInputGroupView.swift
| -rw-r--r-- | ios/MullvadVPN/AccountInputGroupView.swift | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ios/MullvadVPN/AccountInputGroupView.swift b/ios/MullvadVPN/AccountInputGroupView.swift index 39ece2f367..4a2602224e 100644 --- a/ios/MullvadVPN/AccountInputGroupView.swift +++ b/ios/MullvadVPN/AccountInputGroupView.swift @@ -330,14 +330,9 @@ class AccountInputGroupView: UIView { if let accountNumber = accountNumber { let formattedNumber = StringFormatter.formattedAccountNumber(from: accountNumber) - var attributes: [NSAttributedString.Key: Any]? - if #available(iOS 13.0, *) { - attributes = [.accessibilitySpeechSpellOut: true] - } - lastUsedAccountButton.accessibilityAttributedValue = NSAttributedString( string: accountNumber, - attributes: attributes + attributes: [.accessibilitySpeechSpellOut: true] ) UIView.performWithoutAnimation { |
