32 lines
2.0 KiB
Java
32 lines
2.0 KiB
Java
package com.discord.widgets.chat.input;
|
|
|
|
import com.discord.widgets.chat.input.ChatInputViewModel;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function2;
|
|
import rx.subjects.PublishSubject;
|
|
/* compiled from: ChatInputViewModel.kt */
|
|
public final class ChatInputViewModel$sendMessage$sendMessage$1$synchronousValidationSucceeded$2 extends o implements Function2<Integer, Boolean, Unit> {
|
|
public final /* synthetic */ ChatInputViewModel$sendMessage$sendMessage$1 this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public ChatInputViewModel$sendMessage$sendMessage$1$synchronousValidationSucceeded$2(ChatInputViewModel$sendMessage$sendMessage$1 chatInputViewModel$sendMessage$sendMessage$1) {
|
|
super(2);
|
|
this.this$0 = chatInputViewModel$sendMessage$sendMessage$1;
|
|
}
|
|
|
|
/* 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 // kotlin.jvm.functions.Function2
|
|
public /* bridge */ /* synthetic */ Unit invoke(Integer num, Boolean bool) {
|
|
invoke(num.intValue(), bool.booleanValue());
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(int i, boolean z2) {
|
|
PublishSubject access$getEventSubject$p = ChatInputViewModel.access$getEventSubject$p(this.this$0.this$0);
|
|
ChatInputViewModel$sendMessage$sendMessage$1 chatInputViewModel$sendMessage$sendMessage$1 = this.this$0;
|
|
access$getEventSubject$p.j.onNext(new ChatInputViewModel.Event.FilesTooLarge(i, chatInputViewModel$sendMessage$sendMessage$1.$currentFileSizeMB, chatInputViewModel$sendMessage$sendMessage$1.$maxAttachmentSizeMB, z2, chatInputViewModel$sendMessage$sendMessage$1.$attachments, chatInputViewModel$sendMessage$sendMessage$1.$hasImage, chatInputViewModel$sendMessage$sendMessage$1.$hasVideo, chatInputViewModel$sendMessage$sendMessage$1.$hasGif, chatInputViewModel$sendMessage$sendMessage$1.$messageResendCompressedHandler));
|
|
}
|
|
}
|