discord-jadx/app/src/main/java/com/discord/widgets/channels/WidgetChannelTopicViewModel...

38 lines
1.5 KiB
Java

package com.discord.widgets.channels;
import android.content.Context;
import com.airbnb.lottie.parser.AnimatableValueParser;
import com.discord.api.channel.Channel;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetChannelTopicViewModel.kt */
public final class WidgetChannelTopicViewModel$handleClosePrivateChannel$$inlined$let$lambda$1 extends o implements Function1<Channel, Unit> {
public final /* synthetic */ Context $context$inlined;
public final /* synthetic */ WidgetChannelTopicViewModel this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetChannelTopicViewModel$handleClosePrivateChannel$$inlined$let$lambda$1(WidgetChannelTopicViewModel widgetChannelTopicViewModel, Context context) {
super(1);
this.this$0 = widgetChannelTopicViewModel;
this.$context$inlined = context;
}
/* 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(Channel channel) {
invoke(channel);
return Unit.a;
}
public final void invoke(Channel channel) {
m.checkNotNullParameter(channel, "channel");
Integer x0 = AnimatableValueParser.x0(channel);
if (x0 != null) {
c.a.d.o.g(this.$context$inlined, x0.intValue(), 0, null, 12);
}
}
}