Fixes UIActivityIndicatorView.style deprecation warnings

This commit is contained in:
Riley Testut
2023-03-02 14:48:20 -06:00
committed by Magesh K
parent 0a58a1fdc3
commit a5b7abea0d
4 changed files with 4 additions and 0 deletions

View File

@@ -96,6 +96,7 @@ private extension BrowseViewController
cell.bannerView.button.addTarget(self, action: #selector(BrowseViewController.performAppAction(_:)), for: .primaryActionTriggered)
cell.bannerView.button.activityIndicatorView.style = .medium
cell.bannerView.button.activityIndicatorView.color = .white
// Explicitly set to false to ensure we're starting from a non-activity indicating state.
// Otherwise, cell reuse can mess up some cached values.