discord-jadx/app/src/main/java/com/discord/widgets/chat/overlay/WidgetChatOverlay$onViewBou...

33 lines
1.3 KiB
Java

package com.discord.widgets.chat.overlay;
import com.discord.widgets.chat.overlay.WidgetChatOverlay;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetChatOverlay.kt */
public final class WidgetChatOverlay$onViewBoundOrOnResume$3 extends o implements Function1<WidgetChatOverlay.OldMessageModel, Unit> {
public final /* synthetic */ WidgetChatOverlay this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetChatOverlay$onViewBoundOrOnResume$3(WidgetChatOverlay widgetChatOverlay) {
super(1);
this.this$0 = widgetChatOverlay;
}
/* 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(WidgetChatOverlay.OldMessageModel oldMessageModel) {
invoke(oldMessageModel);
return Unit.a;
}
public final void invoke(WidgetChatOverlay.OldMessageModel oldMessageModel) {
if (oldMessageModel.isViewingOldMessages()) {
WidgetChatOverlay.access$getBinding$p(this.this$0).b.show();
} else {
WidgetChatOverlay.access$getBinding$p(this.this$0).b.hide();
}
}
}