64 lines
3.0 KiB
Java
64 lines
3.0 KiB
Java
package com.discord.widgets.channels.threads.browser;
|
|
|
|
import com.discord.i18n.Hook;
|
|
import com.discord.i18n.RenderContext;
|
|
import com.discord.models.member.GuildMember;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: ThreadBrowserThreadView.kt */
|
|
public final class ThreadBrowserThreadView$setThreadData$1 extends o implements Function1<RenderContext, Unit> {
|
|
public final /* synthetic */ GuildMember $creatorMember;
|
|
public final /* synthetic */ String $creatorName;
|
|
public final /* synthetic */ ThreadBrowserThreadView this$0;
|
|
|
|
/* compiled from: ThreadBrowserThreadView.kt */
|
|
/* renamed from: com.discord.widgets.channels.threads.browser.ThreadBrowserThreadView$setThreadData$1$1 reason: invalid class name */
|
|
public static final class AnonymousClass1 extends o implements Function1<Hook, Unit> {
|
|
public final /* synthetic */ ThreadBrowserThreadView$setThreadData$1 this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public AnonymousClass1(ThreadBrowserThreadView$setThreadData$1 threadBrowserThreadView$setThreadData$1) {
|
|
super(1);
|
|
this.this$0 = threadBrowserThreadView$setThreadData$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] */
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(Hook hook) {
|
|
invoke(hook);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Hook hook) {
|
|
m.checkNotNullParameter(hook, "$receiver");
|
|
ThreadBrowserThreadView$setThreadData$1 threadBrowserThreadView$setThreadData$1 = this.this$0;
|
|
hook.b = threadBrowserThreadView$setThreadData$1.$creatorName;
|
|
hook.a.addAll(ThreadBrowserThreadView.access$getMemberCharacterStyles(threadBrowserThreadView$setThreadData$1.this$0, threadBrowserThreadView$setThreadData$1.$creatorMember));
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public ThreadBrowserThreadView$setThreadData$1(ThreadBrowserThreadView threadBrowserThreadView, String str, GuildMember guildMember) {
|
|
super(1);
|
|
this.this$0 = threadBrowserThreadView;
|
|
this.$creatorName = str;
|
|
this.$creatorMember = guildMember;
|
|
}
|
|
|
|
/* 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(RenderContext renderContext) {
|
|
invoke(renderContext);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(RenderContext renderContext) {
|
|
m.checkNotNullParameter(renderContext, "$receiver");
|
|
renderContext.a("authorHook", new AnonymousClass1(this));
|
|
}
|
|
}
|