forked from Juby210/discord-jadx
34 lines
1.3 KiB
Java
34 lines
1.3 KiB
Java
package com.discord.widgets.roles;
|
|
|
|
import android.annotation.SuppressLint;
|
|
import android.content.Context;
|
|
import c0.z.d.m;
|
|
import com.discord.utilities.textprocessing.node.EmojiNode;
|
|
/* compiled from: RoleIconView.kt */
|
|
public final class RoleIconView$showRoleIconToast$renderContext$1 implements EmojiNode.RenderContext {
|
|
public final /* synthetic */ Context $context;
|
|
@SuppressLint({"StaticFieldLeak"})
|
|
private final Context context;
|
|
private final boolean isAnimationEnabled;
|
|
|
|
public RoleIconView$showRoleIconToast$renderContext$1(Context context) {
|
|
this.$context = context;
|
|
this.context = context;
|
|
}
|
|
|
|
@Override // com.discord.utilities.textprocessing.node.EmojiNode.RenderContext
|
|
public Context getContext() {
|
|
return this.context;
|
|
}
|
|
|
|
@Override // com.discord.utilities.textprocessing.node.EmojiNode.RenderContext
|
|
public boolean isAnimationEnabled() {
|
|
return this.isAnimationEnabled;
|
|
}
|
|
|
|
@Override // com.discord.utilities.textprocessing.node.EmojiNode.RenderContext
|
|
public void onEmojiClicked(EmojiNode.EmojiIdAndType emojiIdAndType) {
|
|
m.checkNotNullParameter(emojiIdAndType, "emojiIdAndType");
|
|
EmojiNode.RenderContext.DefaultImpls.onEmojiClicked(this, emojiIdAndType);
|
|
}
|
|
}
|