summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSajad Vishkai <sajaclvishkai@gmail.com>2022-09-26 11:46:31 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-09-26 16:31:20 +0200
commit0e990fcbd3f65b8ba0412c092765285213d6543c (patch)
tree8b51a7ff64c842371ca2e27a334c0bed484a7502
parent1737b1b85627915116ec4625aa61b34865546f57 (diff)
downloadmullvadvpn-0e990fcbd3f65b8ba0412c092765285213d6543c.tar.xz
mullvadvpn-0e990fcbd3f65b8ba0412c092765285213d6543c.zip
Update AccountInputGroupView.swift
-rw-r--r--ios/MullvadVPN/AccountInputGroupView.swift7
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 {