mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix delegates
This commit is contained in:
@@ -81,6 +81,10 @@ function getNativeBusy(indicator: activityIndicatorModule.ActivityIndicator): bo
|
||||
return indicator.android.getVisibility() === android.view.View.VISIBLE;
|
||||
}
|
||||
else if (indicator.ios) {
|
||||
return indicator.ios.isAnimating();
|
||||
if ((indicator.ios as any).isAnimating) {
|
||||
return (indicator.ios as any).isAnimating();
|
||||
} else {
|
||||
return (indicator.ios as UIActivityIndicatorView).animating;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user