26 lines
1 KiB
Java
26 lines
1 KiB
Java
|
package com.discord.widgets.home;
|
||
|
|
||
|
import com.discord.api.channel.Channel;
|
||
|
import d0.z.d.m;
|
||
|
import java.util.Map;
|
||
|
import rx.functions.Func2;
|
||
|
/* compiled from: WidgetHome.kt */
|
||
|
public final class WidgetHome$configureFirstOpen$1<T1, T2, R> implements Func2<Boolean, Map<Long, ? extends Channel>, Boolean> {
|
||
|
public static final WidgetHome$configureFirstOpen$1 INSTANCE = new WidgetHome$configureFirstOpen$1();
|
||
|
|
||
|
public final Boolean call(Boolean bool, Map<Long, Channel> map) {
|
||
|
m.checkNotNullExpressionValue(bool, "connectionOpen");
|
||
|
if (bool.booleanValue()) {
|
||
|
return Boolean.valueOf(map.isEmpty());
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
/* 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 */ Boolean call(Boolean bool, Map<Long, ? extends Channel> map) {
|
||
|
return call(bool, (Map<Long, Channel>) map);
|
||
|
}
|
||
|
}
|