2021-08-09 22:50:52 +00:00
|
|
|
package com.discord.widgets.chat.overlay;
|
|
|
|
|
|
|
|
import com.discord.widgets.chat.overlay.WidgetChatOverlay;
|
2021-11-01 07:19:03 +00:00
|
|
|
import d0.z.d.o;
|
2021-08-09 22:50:52 +00:00
|
|
|
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()) {
|
2021-12-17 22:01:24 +00:00
|
|
|
WidgetChatOverlay.access$getBinding$p(this.this$0).f2314b.show();
|
2021-08-09 22:50:52 +00:00
|
|
|
} else {
|
2021-12-17 22:01:24 +00:00
|
|
|
WidgetChatOverlay.access$getBinding$p(this.this$0).f2314b.hide();
|
2021-08-09 22:50:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|