Removes unnecessary #available checks

This commit is contained in:
Riley Testut
2023-03-02 16:53:36 -06:00
committed by Magesh K
parent 824fc48e77
commit ed1365281f
15 changed files with 117 additions and 412 deletions

View File

@@ -120,7 +120,7 @@ private extension AppIDsViewController
let attributedBundleIdentifier = NSMutableAttributedString(string: appID.bundleIdentifier.lowercased(), attributes: [.accessibilitySpeechPunctuation: true])
if let team = appID.team, let range = attributedBundleIdentifier.string.range(of: team.identifier.lowercased()), #available(iOS 13, *)
if let team = appID.team, let range = attributedBundleIdentifier.string.range(of: team.identifier.lowercased())
{
// Prefer to speak the team ID one character at a time.
let nsRange = NSRange(range, in: attributedBundleIdentifier.string)