discord-jadx/app/src/main/java/com/discord/widgets/servers/WidgetServerNotificationsOv...

36 lines
1.6 KiB
Java

package com.discord.widgets.servers;
import android.content.Context;
import com.discord.widgets.channels.settings.WidgetChannelNotificationSettings;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetServerNotificationsOverrideSelector.kt */
public final class WidgetServerNotificationsOverrideSelector$onViewBound$2 extends o implements Function1<Long, Unit> {
public final /* synthetic */ WidgetServerNotificationsOverrideSelector this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetServerNotificationsOverrideSelector$onViewBound$2(WidgetServerNotificationsOverrideSelector widgetServerNotificationsOverrideSelector) {
super(1);
this.this$0 = widgetServerNotificationsOverrideSelector;
}
/* 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(Long l) {
invoke(l.longValue());
return Unit.a;
}
public final void invoke(long j) {
Context context = this.this$0.getContext();
if (context != null) {
WidgetChannelNotificationSettings.Companion companion = WidgetChannelNotificationSettings.Companion;
m.checkNotNullExpressionValue(context, "it");
WidgetChannelNotificationSettings.Companion.launch$default(companion, context, j, false, 4, null);
}
}
}