apkfuckery/com.discord/smali_classes2/com/discord/widgets/servers/NotificationMuteSettingsVie...

66 lines
2.1 KiB
Smali

.class public final Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;
.super Ljava/lang/Object;
.source "NotificationMuteSettingsView.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/servers/NotificationMuteSettingsView;->updateView(Lcom/discord/widgets/servers/NotificationMuteSettingsView$ViewState;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field public final synthetic $isMuted:Z
.field public final synthetic $onMute:Lkotlin/jvm/functions/Function0;
.field public final synthetic $onUnmute:Lkotlin/jvm/functions/Function0;
# direct methods
.method public constructor <init>(ZLkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
.locals 0
iput-boolean p1, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;->$isMuted:Z
iput-object p2, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;->$onUnmute:Lkotlin/jvm/functions/Function0;
iput-object p3, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;->$onMute:Lkotlin/jvm/functions/Function0;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 0
iget-boolean p1, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;->$isMuted:Z
if-eqz p1, :cond_0
iget-object p1, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;->$onUnmute:Lkotlin/jvm/functions/Function0;
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
goto :goto_0
:cond_0
iget-object p1, p0, Lcom/discord/widgets/servers/NotificationMuteSettingsView$updateView$1;->$onMute:Lkotlin/jvm/functions/Function0;
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
:goto_0
return-void
.end method