35 lines
1.4 KiB
Java
35 lines
1.4 KiB
Java
package com.discord.utilities.analytics;
|
|
|
|
import com.discord.utilities.analytics.AnalyticsUtils;
|
|
import com.discord.utilities.collections.CollectionExtensionsKt;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.Map;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: AnalyticsTracker.kt */
|
|
public final class AnalyticsTracker$voiceChannelLeave$1 extends o implements Function1<Map<String, Object>, Unit> {
|
|
public final /* synthetic */ Map $voiceProperties;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public AnalyticsTracker$voiceChannelLeave$1(Map map) {
|
|
super(1);
|
|
this.$voiceProperties = map;
|
|
}
|
|
|
|
/* 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(Map<String, Object> map) {
|
|
invoke(map);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Map<String, Object> map) {
|
|
m.checkNotNullParameter(map, "gameProperties");
|
|
AnalyticsUtils.Tracker tracker = AnalyticsTracker.INSTANCE.getTracker();
|
|
Map map2 = this.$voiceProperties;
|
|
map2.putAll(map);
|
|
tracker.track("leave_voice_channel", CollectionExtensionsKt.filterNonNullValues(map2));
|
|
}
|
|
}
|