108 lines
3.4 KiB
Smali
108 lines
3.4 KiB
Smali
.class final Lcom/discord/views/OverlayMenuView$b$4;
|
|
.super Lkotlin/jvm/internal/l;
|
|
.source "OverlayMenuView.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/views/OverlayMenuView$b;->onClick(Landroid/view/View;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/internal/l;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Lcom/discord/models/domain/ModelInvite;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/discord/views/OverlayMenuView$b;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/discord/views/OverlayMenuView$b;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/views/OverlayMenuView$b$4;->this$0:Lcom/discord/views/OverlayMenuView$b;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/l;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 3
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelInvite;
|
|
|
|
const-string v0, "Mobile Voice Overlay"
|
|
|
|
invoke-static {p1, v0}, Lcom/discord/utilities/analytics/AnalyticsTracker;->inviteCopied(Lcom/discord/models/domain/ModelInvite;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/views/OverlayMenuView$b$4;->this$0:Lcom/discord/views/OverlayMenuView$b;
|
|
|
|
iget-object v0, v0, Lcom/discord/views/OverlayMenuView$b;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/views/OverlayMenuView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "context"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/discord/views/OverlayMenuView$b$4;->this$0:Lcom/discord/views/OverlayMenuView$b;
|
|
|
|
iget-object v1, v1, Lcom/discord/views/OverlayMenuView$b;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-virtual {v1}, Lcom/discord/views/OverlayMenuView;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "https://discord.gg"
|
|
|
|
invoke-virtual {p1, v1, v2}, Lcom/discord/models/domain/ModelInvite;->toLink(Landroid/content/res/Resources;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "invite.toLink(resources, BuildConfig.HOST_INVITE)"
|
|
|
|
invoke-static {p1, v1}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Ljava/lang/CharSequence;
|
|
|
|
const v1, 0x7f1209ef
|
|
|
|
invoke-static {v0, p1, v1}, Lcom/discord/app/h;->b(Landroid/content/Context;Ljava/lang/CharSequence;I)V
|
|
|
|
iget-object p1, p0, Lcom/discord/views/OverlayMenuView$b$4;->this$0:Lcom/discord/views/OverlayMenuView$b;
|
|
|
|
iget-object p1, p1, Lcom/discord/views/OverlayMenuView$b;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
sget-object p1, Lkotlin/Unit;->bjE:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|