34 lines
1.4 KiB
Java
34 lines
1.4 KiB
Java
package com.discord.widgets.chat.input.expression;
|
|
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetExpressionTray.kt */
|
|
public final class WidgetExpressionTray$subscribeToScrollPosition$1 extends o implements Function1<Boolean, Unit> {
|
|
public final /* synthetic */ WidgetExpressionTray this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetExpressionTray$subscribeToScrollPosition$1(WidgetExpressionTray widgetExpressionTray) {
|
|
super(1);
|
|
this.this$0 = widgetExpressionTray;
|
|
}
|
|
|
|
/* 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(Boolean bool) {
|
|
invoke(bool);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Boolean bool) {
|
|
m.checkNotNullExpressionValue(bool, "isAtInitialScrollPosition");
|
|
if (!bool.booleanValue() || !WidgetExpressionTray.access$getWasActive$p(this.this$0)) {
|
|
WidgetExpressionTray.access$hideStickerPickerTooltip(this.this$0);
|
|
} else {
|
|
WidgetExpressionTray.access$showStickerPickerTooltip(this.this$0);
|
|
}
|
|
}
|
|
}
|