Merge pull request #109 from eichbaum/master

Check for api level when checking for animations
This commit is contained in:
Tyson Elliot Hooker
2024-03-07 15:45:40 +11:00
committed by GitHub

View File

@@ -8,7 +8,10 @@ public static class AnimationHelper
get
{
#if __ANDROID__
return Android.Animation.ValueAnimator.AreAnimatorsEnabled();
if (Android.OS.Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.O)
{
return Android.Animation.ValueAnimator.AreAnimatorsEnabled();
}
#endif
return true;
}