36 lines
1.5 KiB
Java
36 lines
1.5 KiB
Java
package com.discord.widgets.debugging;
|
|
|
|
import c.d.b.a.a;
|
|
import com.discord.app.AppLog;
|
|
import com.discord.widgets.debugging.WidgetDebugging;
|
|
import d0.z.d.m;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import rx.functions.Func2;
|
|
/* compiled from: WidgetDebugging.kt */
|
|
public final class WidgetDebugging$onViewBoundOrOnResume$3<T1, T2, R> implements Func2<List<? extends AppLog.LoggedItem>, Boolean, WidgetDebugging.Model> {
|
|
public static final WidgetDebugging$onViewBoundOrOnResume$3 INSTANCE = new WidgetDebugging$onViewBoundOrOnResume$3();
|
|
|
|
public final WidgetDebugging.Model call(List<AppLog.LoggedItem> list, Boolean bool) {
|
|
m.checkNotNullExpressionValue(bool, "isFiltered");
|
|
if (bool.booleanValue()) {
|
|
ArrayList S = a.S(list, "logs");
|
|
for (Object obj : list) {
|
|
if (((AppLog.LoggedItem) obj).j > 2) {
|
|
S.add(obj);
|
|
}
|
|
}
|
|
list = S;
|
|
}
|
|
m.checkNotNullExpressionValue(list, "filteredLogs");
|
|
return new WidgetDebugging.Model(list, bool.booleanValue());
|
|
}
|
|
|
|
/* 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, java.lang.Object] */
|
|
@Override // rx.functions.Func2
|
|
public /* bridge */ /* synthetic */ WidgetDebugging.Model call(List<? extends AppLog.LoggedItem> list, Boolean bool) {
|
|
return call((List<AppLog.LoggedItem>) list, bool);
|
|
}
|
|
}
|