94 lines
2.8 KiB
Smali
94 lines
2.8 KiB
Smali
.class public final Lcom/discord/widgets/feedback/WidgetFeedbackSheet$updateView$4;
|
|
.super Lj0/n/c/i;
|
|
.source "WidgetFeedbackSheet.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/feedback/WidgetFeedbackSheet;->updateView(Lcom/discord/widgets/feedback/FeedbackSheetViewModel$ViewState;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj0/n/c/i;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Lcom/discord/widgets/voice/feedback/FeedbackIssue;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/widgets/feedback/WidgetFeedbackSheet;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/feedback/WidgetFeedbackSheet;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/feedback/WidgetFeedbackSheet$updateView$4;->this$0:Lcom/discord/widgets/feedback/WidgetFeedbackSheet;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lj0/n/c/i;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Lcom/discord/widgets/voice/feedback/FeedbackIssue;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/feedback/WidgetFeedbackSheet$updateView$4;->invoke(Lcom/discord/widgets/voice/feedback/FeedbackIssue;)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invoke(Lcom/discord/widgets/voice/feedback/FeedbackIssue;)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/feedback/WidgetFeedbackSheet$updateView$4;->this$0:Lcom/discord/widgets/feedback/WidgetFeedbackSheet;
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/feedback/WidgetFeedbackSheet;->access$getViewModel$p(Lcom/discord/widgets/feedback/WidgetFeedbackSheet;)Lcom/discord/widgets/feedback/FeedbackSheetViewModel;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/feedback/WidgetFeedbackSheet$updateView$4;->this$0:Lcom/discord/widgets/feedback/WidgetFeedbackSheet;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/feedback/FeedbackIssue;->getReasonStringRes()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v1, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, p1, v1}, Lcom/discord/widgets/feedback/FeedbackSheetViewModel;->selectIssue(Lcom/discord/widgets/voice/feedback/FeedbackIssue;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "issue"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|