Skip to content

Commit

Permalink
oops!
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Jun 10, 2024
1 parent 647e5f5 commit 0bd2d65
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Core/src/Platform/Android/ImageViewExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ public static void UpdateIsAnimationPlaying(this ImageView imageView, IImageSour

public static void UpdateIsAnimationPlaying(this Drawable? drawable, IImageSourcePart image)
{
// Testing the tests...
var animatable = drawable as IAnimatable;

// But this is what I will do:
// var animatable = drawable.TryJavaCast<IAnimatable>();
var animatable = drawable.TryJavaCast<IAnimatable>();
if (animatable is not null)
{
if (image.IsAnimationPlaying)
Expand Down

0 comments on commit 0bd2d65

Please sign in to comment.