mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[ios] Removing conditionals for unsupported iOS versions
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
final class LoadingOverlayViewController: UIViewController {
|
||||
private var activityIndicator: UIActivityIndicatorView = {
|
||||
let indicator: UIActivityIndicatorView
|
||||
if #available(iOS 13.0, *) {
|
||||
indicator = UIActivityIndicatorView(style: .large)
|
||||
} else {
|
||||
indicator = UIActivityIndicatorView(style: .whiteLarge)
|
||||
}
|
||||
indicator = UIActivityIndicatorView(style: .large)
|
||||
indicator.color = .white
|
||||
indicator.startAnimating()
|
||||
indicator.translatesAutoresizingMaskIntoConstraints = false
|
||||
|
||||
Reference in New Issue
Block a user