apkfuckery/com.discord/smali/com/discord/widgets/chat/list/InlineMediaView$updateUIWit...

64 lines
2.0 KiB
Smali

.class public final Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2$1;
.super Ljava/lang/Object;
.source "InlineMediaView.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2;->invoke(F)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field public final synthetic $isVolumeOn:Z
.field public final synthetic this$0:Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2;
# direct methods
.method public constructor <init>(Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2;Z)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2$1;->this$0:Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2;
iput-boolean p2, p0, Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2$1;->$isVolumeOn:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 1
iget-boolean p1, p0, Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2$1;->$isVolumeOn:Z
if-eqz p1, :cond_0
const/4 p1, 0x0
goto :goto_0
:cond_0
const/high16 p1, 0x3f800000 # 1.0f
:goto_0
iget-object v0, p0, Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2$1;->this$0:Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2;
iget-object v0, v0, Lcom/discord/widgets/chat/list/InlineMediaView$updateUIWithValidatedEmbed$2;->$player:Lcom/discord/player/AppMediaPlayer;
invoke-virtual {v0, p1}, Lcom/discord/player/AppMediaPlayer;->d(F)V
return-void
.end method