package com.discord.widgets.settings; import com.discord.utilities.fcm.NotificationClient; import com.discord.views.CheckedSetting; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: WidgetSettingsNotificationsOs.kt */ public final class WidgetSettingsNotificationsOs$onResume$1 extends o implements Function1 { public final /* synthetic */ WidgetSettingsNotificationsOs this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetSettingsNotificationsOs$onResume$1(WidgetSettingsNotificationsOs widgetSettingsNotificationsOs) { super(1); this.this$0 = widgetSettingsNotificationsOs; } /* 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(NotificationClient.SettingsV2 settingsV2) { invoke(settingsV2); return Unit.a; } public final void invoke(NotificationClient.SettingsV2 settingsV2) { m.checkNotNullParameter(settingsV2, "settings"); CheckedSetting checkedSetting = WidgetSettingsNotificationsOs.access$getBinding$p(this.this$0).d; m.checkNotNullExpressionValue(checkedSetting, "binding.settingsNotificationSwitch"); checkedSetting.setChecked(settingsV2.isEnabled()); CheckedSetting checkedSetting2 = WidgetSettingsNotificationsOs.access$getBinding$p(this.this$0).b; m.checkNotNullExpressionValue(checkedSetting2, "binding.settingsInappNotifsSwitch"); checkedSetting2.setChecked(settingsV2.isEnabledInApp()); } }