33 lines
1.6 KiB
Java
33 lines
1.6 KiB
Java
package com.discord.widgets.notice;
|
|
|
|
import com.discord.widgets.notice.NoticePopupChannel;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: NoticePopupChannel.kt */
|
|
public final class NoticePopupChannel$enqueue$2 extends o implements Function1<NoticePopupChannel.Model, Unit> {
|
|
public final /* synthetic */ String $noticeName;
|
|
public final /* synthetic */ Function1 $onClick;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public NoticePopupChannel$enqueue$2(String str, Function1 function1) {
|
|
super(1);
|
|
this.$noticeName = str;
|
|
this.$onClick = function1;
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(NoticePopupChannel.Model model) {
|
|
invoke(model);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(NoticePopupChannel.Model model) {
|
|
if (model != null) {
|
|
NoticePopup.enqueue$default(NoticePopup.INSTANCE, this.$noticeName, model.getNoticeTitle(), model.getNoticeSubtitle(), model.getNoticeBody(), model.getNoticeBodyBackgroundDrawable(), model.getNoticeBodyImageUrl(), model.getNoticeBodyImageDrawable(), model.getNoticeStickers(), model.getNoticeIconUrl(), null, model.getNoticeIconTopRight(), null, null, model.getOnClickTopRightIcon(), this.$onClick, 6656, null);
|
|
}
|
|
}
|
|
}
|