package com.discord.widgets.auth; import c0.z.d.m; import c0.z.d.o; import com.discord.utilities.auth.GoogleSmartLockManager; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: WidgetAuthLanding.kt */ public final class WidgetAuthLanding$onViewBoundOrOnResume$2 extends o implements Function1 { public final /* synthetic */ WidgetAuthLanding this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetAuthLanding$onViewBoundOrOnResume$2(WidgetAuthLanding widgetAuthLanding) { super(1); this.this$0 = widgetAuthLanding; } /* 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(Boolean bool) { invoke(bool); return Unit.a; } public final void invoke(Boolean bool) { m.checkNotNullExpressionValue(bool, "experimentEnabled"); if (bool.booleanValue() && !WidgetAuthLanding.access$getViewModel$p(this.this$0).getSmartLockCredentialRequestDisabled()) { WidgetAuthLanding.access$getViewModel$p(this.this$0).getGoogleSmartLockManager().requestCredentials(this.this$0, GoogleSmartLockManager.GOOGLE_SMART_LOCK_REQUEST_CODE_RESOLVE_FOR_REQUEST); WidgetAuthLanding.access$getViewModel$p(this.this$0).setSmartLockCredentialRequestDisabled(true); } } }