diff --git a/Mopups/Mopups.Maui/Animations/AnimationHelper.cs b/Mopups/Mopups.Maui/Animations/AnimationHelper.cs index 211d20c..12eab4e 100644 --- a/Mopups/Mopups.Maui/Animations/AnimationHelper.cs +++ b/Mopups/Mopups.Maui/Animations/AnimationHelper.cs @@ -8,7 +8,10 @@ public static bool SystemAnimationsEnabled 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; }