33 lines
1.3 KiB
Java
33 lines
1.3 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: WidgetTextChannelSettings.kt */
|
|
public final class WidgetTextChannelSettings$saveChannel$1 extends o implements Function1<Channel, Unit> {
|
|
public final /* synthetic */ WidgetTextChannelSettings this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetTextChannelSettings$saveChannel$1(WidgetTextChannelSettings widgetTextChannelSettings) {
|
|
super(1);
|
|
this.this$0 = widgetTextChannelSettings;
|
|
}
|
|
|
|
/* 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) {
|
|
Context context = this.this$0.getContext();
|
|
m.checkNotNullExpressionValue(channel, "it");
|
|
c.a.d.o.g(context, AnimatableValueParser.f1(channel) ? 2131887209 : 2131887327, 0, null, 12);
|
|
}
|
|
}
|