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

37 lines
1.6 KiB
Java

package com.discord.widgets.channels.settings;
import androidx.fragment.app.FragmentActivity;
import com.discord.widgets.channels.settings.WidgetChannelNotificationSettings;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetChannelNotificationSettings.kt */
public final class WidgetChannelNotificationSettings$onViewBoundOrOnResume$2 extends o implements Function1<WidgetChannelNotificationSettings.Model, Unit> {
public final /* synthetic */ WidgetChannelNotificationSettings this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetChannelNotificationSettings$onViewBoundOrOnResume$2(WidgetChannelNotificationSettings widgetChannelNotificationSettings) {
super(1);
this.this$0 = widgetChannelNotificationSettings;
}
/* 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(WidgetChannelNotificationSettings.Model model) {
invoke(model);
return Unit.a;
}
public final void invoke(WidgetChannelNotificationSettings.Model model) {
if (model != null) {
WidgetChannelNotificationSettings.access$configureUI(this.this$0, model);
return;
}
FragmentActivity activity = this.this$0.getActivity();
if (activity != null) {
activity.finish();
}
}
}