mirror of
https://github.com/fxm90/GradientLoadingBar.git
synced 2026-11-18 21:14:09 +00:00
♻️ :: update project for Xcode 11 and iOS 13
This commit is contained in:
1 parent
603f3cae0e
commit
f2c43cbe72
3 files changed
+3
-6
No files matched your search
@@ -24,7 +24,7 @@ class GradientActivityIndicatorViewAnimateIsHiddenTestCase: XCTestCase {
|
||||
|
||||
// In order for UIView animations to be executed correctly, the corresponding view has to be attached to a visible window.
|
||||
// Therefore we're gonna use the current key-window, add our testing view here in `setUp()` and remove it later in `tearDown()`.
|
||||
window = UIApplication.shared.keyWindow
|
||||
window = UIApplication.shared.windows.first { $0.isKeyWindow }
|
||||
|
||||
gradientActivityIndicatorView = GradientActivityIndicatorView()
|
||||
window.addSubview(gradientActivityIndicatorView)
|
||||
|
||||
Reference in new issue
Block a user