discord-jadx/app/src/main/java/com/discord/stores/StoreNux$updateNux$1.java

29 lines
1.1 KiB
Java

package com.discord.stores;
import com.discord.stores.StoreNux;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreNux.kt */
public final class StoreNux$updateNux$1 extends o implements Function0<Unit> {
public final /* synthetic */ Function1 $updateFunction;
public final /* synthetic */ StoreNux this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreNux$updateNux$1(StoreNux storeNux, Function1 function1) {
super(0);
this.this$0 = storeNux;
this.$updateFunction = function1;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreNux storeNux = this.this$0;
StoreNux.access$setNuxState$p(storeNux, (StoreNux.NuxState) this.$updateFunction.invoke(StoreNux.access$getNuxState$p(storeNux)));
StoreNux storeNux2 = this.this$0;
StoreNux.access$publishNuxUpdated(storeNux2, StoreNux.access$getNuxState$p(storeNux2));
}
}