107 lines
2.7 KiB
Smali
107 lines
2.7 KiB
Smali
.class final Lcom/discord/views/OverlayMenuView$k;
|
|
.super Lkotlin/jvm/internal/l;
|
|
.source "OverlayMenuView.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/views/OverlayMenuView;
|
|
.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<",
|
|
"Lkotlin/Pair<",
|
|
"+",
|
|
"Ljava/lang/Boolean;",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelVoice$OutputMode;",
|
|
">;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/discord/views/OverlayMenuView;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/views/OverlayMenuView$k;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
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, Lkotlin/Pair;
|
|
|
|
iget-object v0, p1, Lkotlin/Pair;->first:Ljava/lang/Object;
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
iget-object p1, p1, Lkotlin/Pair;->second:Ljava/lang/Object;
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelVoice$OutputMode;
|
|
|
|
iget-object v1, p0, Lcom/discord/views/OverlayMenuView$k;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-static {v1}, Lcom/discord/views/OverlayMenuView;->d(Lcom/discord/views/OverlayMenuView;)Landroid/widget/ImageView;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "isMuted"
|
|
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setActivated(Z)V
|
|
|
|
iget-object v0, p0, Lcom/discord/views/OverlayMenuView$k;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-static {v0}, Lcom/discord/views/OverlayMenuView;->e(Lcom/discord/views/OverlayMenuView;)Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/discord/models/domain/ModelVoice$OutputMode;->SPEAKER:Lcom/discord/models/domain/ModelVoice$OutputMode;
|
|
|
|
if-ne p1, v1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setActivated(Z)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->bjE:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|