Removes unnecessary #available checks

This commit is contained in:
Riley Testut
2023-03-02 16:53:36 -06:00
parent 15dd044be9
commit 468e912e47
18 changed files with 129 additions and 483 deletions

View File

@@ -109,7 +109,7 @@ class ToastView: RSTToastView
override func show(in view: UIView, duration: TimeInterval)
{
if self.opensErrorLog, #available(iOS 13, *),
if self.opensErrorLog,
case let configuration = UIImage.SymbolConfiguration(font: self.textLabel.font),
let icon = UIImage(systemName: "chevron.right.circle", withConfiguration: configuration)
{