.class final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3; .super Ljava/lang/Object; .source "WidgetUserSheet.kt" # interfaces .implements Landroid/view/View$OnClickListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureAdministrativeSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetModel;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x18 name = null .end annotation # instance fields .field final synthetic $this_configureAdministrativeSection:Lcom/discord/widgets/user/usersheet/WidgetUserSheetModel; .field final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; # direct methods .method constructor (Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/widgets/user/usersheet/WidgetUserSheetModel;)V .locals 0 iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->$this_configureAdministrativeSection:Lcom/discord/widgets/user/usersheet/WidgetUserSheetModel; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public final onClick(Landroid/view/View;)V .locals 21 move-object/from16 v0, p0 sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion; invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels; move-result-object v1 iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->$this_configureAdministrativeSection:Lcom/discord/widgets/user/usersheet/WidgetUserSheetModel; invoke-virtual {v2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetModel;->getChannel()Lcom/discord/models/domain/ModelChannel; move-result-object v2 invoke-virtual {v2}, Lcom/discord/models/domain/ModelChannel;->getId()J move-result-wide v2 iget-object v4, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->$this_configureAdministrativeSection:Lcom/discord/widgets/user/usersheet/WidgetUserSheetModel; invoke-virtual {v4}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetModel;->getUser()Lcom/discord/models/domain/ModelUser; move-result-object v4 invoke-virtual {v4}, Lcom/discord/models/domain/ModelUser;->getId()J move-result-wide v4 invoke-virtual {v1, v2, v3, v4, v5}, Lcom/discord/stores/StoreChannels;->removeGroupRecipient(JJ)Lrx/Observable; move-result-object v6 const-wide/16 v7, 0x0 const/4 v9, 0x0 const/4 v10, 0x1 const/4 v11, 0x0 invoke-static/range {v6 .. v11}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable; move-result-object v12 iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getContext()Landroid/content/Context; move-result-object v13 sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3$1; move-object/from16 v16, v1 check-cast v16, Lkotlin/jvm/functions/Function1; const-string v14, "REST: remove group member" const/4 v15, 0x0 const/16 v17, 0x0 const/16 v18, 0x0 const/16 v19, 0x34 const/16 v20, 0x0 invoke-static/range {v12 .. v20}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureAdministrativeSection$3;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->dismiss()V return-void .end method