Fixes UIActivityIndicatorView.style deprecation warnings

This commit is contained in:
Riley Testut
2023-03-02 14:48:20 -06:00
parent 1ccfa6652a
commit 1255147844
4 changed files with 8 additions and 4 deletions

View File

@@ -88,7 +88,8 @@ class PillButton: UIButton
self.layer.masksToBounds = true
self.accessibilityTraits.formUnion([.updatesFrequently, .button])
self.activityIndicatorView.style = .white
self.activityIndicatorView.style = .medium
self.activityIndicatorView.color = .white
self.activityIndicatorView.isUserInteractionEnabled = false
self.progressView.progress = 0