Skip to content

Commit 0bd2d65

Browse files
committed
oops!
1 parent 647e5f5 commit 0bd2d65

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/Core/src/Platform/Android/ImageViewExtensions.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ public static void UpdateIsAnimationPlaying(this ImageView imageView, IImageSour
3030

3131
public static void UpdateIsAnimationPlaying(this Drawable? drawable, IImageSourcePart image)
3232
{
33-
// Testing the tests...
34-
var animatable = drawable as IAnimatable;
35-
36-
// But this is what I will do:
37-
// var animatable = drawable.TryJavaCast<IAnimatable>();
33+
var animatable = drawable.TryJavaCast<IAnimatable>();
3834
if (animatable is not null)
3935
{
4036
if (image.IsAnimationPlaying)

0 commit comments

Comments
 (0)