Fix NPE when eventListener is not set.

This commit is contained in:
Alex Hart 2021-09-29 12:06:05 -03:00 committed by Cody Henthorne
parent 4b3580d98a
commit 6625ac02d5

View file

@ -1683,7 +1683,9 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
return null;
} else {
return new GiphyMp4PlaybackPolicyEnforcer(() -> {
if (eventListener != null) {
eventListener.onPlayInlineContent(null);
}
});
}
}