38 lines
1.5 KiB
Java
38 lines
1.5 KiB
Java
package com.discord.widgets.hubs;
|
|
|
|
import android.content.Context;
|
|
import b.a.d.j;
|
|
import com.discord.stores.utilities.Success;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetHubDomains.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class WidgetHubDomains$updateView$1 extends o implements Function1<Success<? extends Object>, Unit> {
|
|
public final /* synthetic */ Context $context;
|
|
public final /* synthetic */ DomainsState $state;
|
|
public final /* synthetic */ WidgetHubDomains this$0;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public WidgetHubDomains$updateView$1(WidgetHubDomains widgetHubDomains, Context context, DomainsState domainsState) {
|
|
super(1);
|
|
this.this$0 = widgetHubDomains;
|
|
this.$context = context;
|
|
this.$state = domainsState;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(Success<? extends Object> success) {
|
|
invoke2(success);
|
|
return Unit.a;
|
|
}
|
|
|
|
/* renamed from: invoke reason: avoid collision after fix types in other method */
|
|
public final void invoke2(Success<? extends Object> success) {
|
|
m.checkNotNullParameter(success, "it");
|
|
j.g(j.g, this.this$0.getParentFragmentManager(), this.$context, WidgetHubAuthentication.class, 0, true, null, new HubAuthenticationArgs(this.this$0.getArgs().getEmail(), this.$state.getSelectedGuildId()), 40);
|
|
this.this$0.getViewModel().reset();
|
|
}
|
|
}
|