package com.discord.stores; import com.discord.models.domain.ModelNotificationSettings; import com.discord.stores.StoreUserGuildSettings; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.subjects.PublishSubject; /* compiled from: StoreUserGuildSettings.kt */ public final class StoreUserGuildSettings$updateUserGuildSettings$1 extends o implements Function1 { public final /* synthetic */ Long $channelId; public final /* synthetic */ StoreUserGuildSettings.SettingsUpdateType $settingsUpdateType; public final /* synthetic */ StoreUserGuildSettings this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreUserGuildSettings$updateUserGuildSettings$1(StoreUserGuildSettings storeUserGuildSettings, Long l, StoreUserGuildSettings.SettingsUpdateType settingsUpdateType) { super(1); this.this$0 = storeUserGuildSettings; this.$channelId = l; this.$settingsUpdateType = settingsUpdateType; } /* 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(ModelNotificationSettings modelNotificationSettings) { invoke(modelNotificationSettings); return Unit.a; } public final void invoke(ModelNotificationSettings modelNotificationSettings) { m.checkNotNullParameter(modelNotificationSettings, "notifSettings"); StoreUserGuildSettings.access$getAnalytics$p(this.this$0).onNotificationSettingsUpdated(modelNotificationSettings, this.$channelId); PublishSubject access$getEventSubject$p = StoreUserGuildSettings.access$getEventSubject$p(this.this$0); access$getEventSubject$p.j.onNext(new StoreUserGuildSettings.Event.SettingsUpdated(this.$settingsUpdateType)); } }