29 lines
1.4 KiB
Java
29 lines
1.4 KiB
Java
package com.discord.stores;
|
|
|
|
import com.discord.stores.StoreAuditLog;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: StoreAuditLog.kt */
|
|
public final class StoreAuditLog$toggleSelectedState$1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ long $selectedItemId;
|
|
public final /* synthetic */ StoreAuditLog this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StoreAuditLog$toggleSelectedState$1(StoreAuditLog storeAuditLog, long j) {
|
|
super(0);
|
|
this.this$0 = storeAuditLog;
|
|
this.$selectedItemId = j;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
StoreAuditLog storeAuditLog = this.this$0;
|
|
long j = this.$selectedItemId;
|
|
Long selectedItemId = StoreAuditLog.access$getState$p(storeAuditLog).getSelectedItemId();
|
|
StoreAuditLog.access$setState$p(storeAuditLog, (selectedItemId != null && j == selectedItemId.longValue()) ? StoreAuditLog.AuditLogState.copy$default(StoreAuditLog.access$getState$p(this.this$0), 0, null, null, null, null, null, null, null, null, null, false, 1919, null) : StoreAuditLog.AuditLogState.copy$default(StoreAuditLog.access$getState$p(this.this$0), 0, null, null, null, null, null, null, Long.valueOf(this.$selectedItemId), null, null, false, 1919, null));
|
|
this.this$0.markChanged();
|
|
}
|
|
}
|