31 lines
1.2 KiB
Java
31 lines
1.2 KiB
Java
|
package com.discord.stores;
|
||
|
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function0;
|
||
|
/* compiled from: StoreUserGuildSettings.kt */
|
||
|
public final class StoreUserGuildSettings$setHideMutedChannels$1 extends o implements Function0<Unit> {
|
||
|
public final /* synthetic */ long $guildId;
|
||
|
public final /* synthetic */ boolean $hideChannels;
|
||
|
public final /* synthetic */ StoreUserGuildSettings this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public StoreUserGuildSettings$setHideMutedChannels$1(StoreUserGuildSettings storeUserGuildSettings, boolean z2, long j) {
|
||
|
super(0);
|
||
|
this.this$0 = storeUserGuildSettings;
|
||
|
this.$hideChannels = z2;
|
||
|
this.$guildId = j;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function0
|
||
|
/* renamed from: invoke */
|
||
|
public final void mo1invoke() {
|
||
|
if (this.$hideChannels) {
|
||
|
StoreUserGuildSettings.access$getGuildsToHideMutedChannelsIn$p(this.this$0).add(Long.valueOf(this.$guildId));
|
||
|
} else {
|
||
|
StoreUserGuildSettings.access$getGuildsToHideMutedChannelsIn$p(this.this$0).remove(Long.valueOf(this.$guildId));
|
||
|
}
|
||
|
this.this$0.markChanged();
|
||
|
}
|
||
|
}
|