Start animation when megaphone is displayed.

This commit is contained in:
Alex Hart 2021-06-02 15:11:23 -03:00
parent 665ce14bb6
commit 625d36fb27

View file

@ -62,6 +62,7 @@ public class PopupMegaphoneView extends FrameLayout {
} else if (megaphone.getLottieRes() != 0) {
image.setVisibility(VISIBLE);
image.setAnimation(megaphone.getLottieRes());
image.playAnimation();
} else {
image.setVisibility(GONE);
}