GroupInviteActivity.smali

.class public Lim/tpelyyftgw/ui/GroupInviteActivity;
.super Lim/tpelyyftgw/ui/actionbar/BaseFragment;
.source "GroupInviteActivity.java"

# interfaces
.implements Lim/tpelyyftgw/messenger/NotificationCenter$NotificationCenterDelegate;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;
    }
.end annotation


# instance fields
.field private chat_id:I

.field private copyLinkRow:I

.field private emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

.field private invite:Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

.field private linkInfoRow:I

.field private linkRow:I

.field private listAdapter:Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;

.field private listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

.field private loading:Z

.field private revokeLinkRow:I

.field private rowCount:I

.field private shadowRow:I

.field private shareLinkRow:I


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(I)V
    .registers 2
    .param p1, "cid"    # I

    .line 55
    invoke-direct {p0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;-><init>()V

    .line 56
    iput p1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->chat_id:I

    .line 57
    return-void
.end method

.method static synthetic access$000(Lim/tpelyyftgw/ui/GroupInviteActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->revokeLinkRow:I

    return v0
.end method

.method static synthetic access$100(Lim/tpelyyftgw/ui/GroupInviteActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->copyLinkRow:I

    return v0
.end method

.method static synthetic access$1000(Lim/tpelyyftgw/ui/GroupInviteActivity;)Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->invite:Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

    return-object v0
.end method

.method static synthetic access$200(Lim/tpelyyftgw/ui/GroupInviteActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->shareLinkRow:I

    return v0
.end method

.method static synthetic access$300(Lim/tpelyyftgw/ui/GroupInviteActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->linkRow:I

    return v0
.end method

.method static synthetic access$400(Lim/tpelyyftgw/ui/GroupInviteActivity;)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->loading:Z

    return v0
.end method

.method static synthetic access$500(Lim/tpelyyftgw/ui/GroupInviteActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->rowCount:I

    return v0
.end method

.method static synthetic access$600(Lim/tpelyyftgw/ui/GroupInviteActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->shadowRow:I

    return v0
.end method

.method static synthetic access$700(Lim/tpelyyftgw/ui/GroupInviteActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->linkInfoRow:I

    return v0
.end method

.method static synthetic access$800(Lim/tpelyyftgw/ui/GroupInviteActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->chat_id:I

    return v0
.end method

.method static synthetic access$900(Lim/tpelyyftgw/ui/GroupInviteActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/GroupInviteActivity;

    .line 36
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->currentAccount:I

    return v0
.end method

.method private generateLink(Z)V
    .registers 6
    .param p1, "newRequest"    # Z

    .line 182
    const/4 v0, 0x1

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->loading:Z

    .line 183
    new-instance v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_messages_exportChatInvite;

    invoke-direct {v0}, Lim/tpelyyftgw/tgnet/TLRPC$TL_messages_exportChatInvite;-><init>()V

    .line 184
    .local v0, "req":Lim/tpelyyftgw/tgnet/TLRPC$TL_messages_exportChatInvite;
    iget v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->currentAccount:I

    invoke-static {v1}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v1

    iget v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->chat_id:I

    neg-int v2, v2

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/messenger/MessagesController;->getInputPeer(I)Lim/tpelyyftgw/tgnet/TLRPC$InputPeer;

    move-result-object v1

    iput-object v1, v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_messages_exportChatInvite;->peer:Lim/tpelyyftgw/tgnet/TLRPC$InputPeer;

    .line 185
    iget v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->currentAccount:I

    invoke-static {v1}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getInstance(I)Lim/tpelyyftgw/tgnet/ConnectionsManager;

    move-result-object v1

    new-instance v2, Lim/tpelyyftgw/ui/-$$Lambda$GroupInviteActivity$sc18SZg-UdaDNCuiumCGuFqyz-8;

    invoke-direct {v2, p0, p1}, Lim/tpelyyftgw/ui/-$$Lambda$GroupInviteActivity$sc18SZg-UdaDNCuiumCGuFqyz-8;-><init>(Lim/tpelyyftgw/ui/GroupInviteActivity;Z)V

    invoke-virtual {v1, v0, v2}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->sendRequest(Lim/tpelyyftgw/tgnet/TLObject;Lim/tpelyyftgw/tgnet/RequestDelegate;)I

    move-result v1

    .line 202
    .local v1, "reqId":I
    iget v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->currentAccount:I

    invoke-static {v2}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getInstance(I)Lim/tpelyyftgw/tgnet/ConnectionsManager;

    move-result-object v2

    iget v3, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->classGuid:I

    invoke-virtual {v2, v1, v3}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->bindRequestToGuid(II)V

    .line 203
    iget-object v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listAdapter:Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;

    if-eqz v2, :cond_38

    .line 204
    invoke-virtual {v2}, Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;->notifyDataSetChanged()V

    .line 206
    :cond_38
    return-void
.end method


# virtual methods
.method public createView(Landroid/content/Context;)Landroid/view/View;
    .registers 9
    .param p1, "context"    # Landroid/content/Context;

    .line 85
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    const v1, 0x7f0d0073

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setBackButtonImage(I)V

    .line 86
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setAllowOverlayTitle(Z)V

    .line 87
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    const-string v2, "InviteLink"

    const v3, 0x7f0f07c1

    invoke-static {v2, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setTitle(Ljava/lang/CharSequence;)V

    .line 88
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    new-instance v2, Lim/tpelyyftgw/ui/GroupInviteActivity$1;

    invoke-direct {v2, p0}, Lim/tpelyyftgw/ui/GroupInviteActivity$1;-><init>(Lim/tpelyyftgw/ui/GroupInviteActivity;)V

    invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setActionBarMenuOnItemClick(Lim/tpelyyftgw/ui/actionbar/ActionBar$ActionBarMenuOnItemClick;)V

    .line 97
    new-instance v0, Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;

    invoke-direct {v0, p0, p1}, Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;-><init>(Lim/tpelyyftgw/ui/GroupInviteActivity;Landroid/content/Context;)V

    iput-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listAdapter:Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;

    .line 99
    new-instance v0, Landroid/widget/FrameLayout;

    invoke-direct {v0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->fragmentView:Landroid/view/View;

    .line 100
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->fragmentView:Landroid/view/View;

    check-cast v0, Landroid/widget/FrameLayout;

    .line 101
    .local v0, "frameLayout":Landroid/widget/FrameLayout;
    const-string/jumbo v2, "windowBackgroundGray"

    invoke-static {v2}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    .line 103
    new-instance v2, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    invoke-direct {v2, p1}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    .line 104
    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;->showProgress()V

    .line 105
    iget-object v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    const/16 v3, 0x33

    const/4 v4, -0x1

    invoke-static {v4, v4, v3}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v5

    invoke-virtual {v0, v2, v5}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 107
    new-instance v2, Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-direct {v2, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    .line 108
    new-instance v5, Landroidx/recyclerview/widget/LinearLayoutManager;

    const/4 v6, 0x0

    invoke-direct {v5, p1, v1, v6}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;IZ)V

    invoke-virtual {v2, v5}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 109
    iget-object v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    iget-object v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setEmptyView(Landroid/view/View;)V

    .line 110
    iget-object v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v1, v6}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setVerticalScrollBarEnabled(Z)V

    .line 111
    iget-object v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-static {v4, v4, v3}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 112
    iget-object v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    iget-object v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listAdapter:Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 113
    iget-object v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-instance v2, Lim/tpelyyftgw/ui/-$$Lambda$GroupInviteActivity$muNTVuTKvEUoZXr0chZOLE1Z5iI;

    invoke-direct {v2, p0}, Lim/tpelyyftgw/ui/-$$Lambda$GroupInviteActivity$muNTVuTKvEUoZXr0chZOLE1Z5iI;-><init>(Lim/tpelyyftgw/ui/GroupInviteActivity;)V

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setOnItemClickListener(Lim/tpelyyftgw/ui/components/RecyclerListView$OnItemClickListener;)V

    .line 151
    iget-object v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->fragmentView:Landroid/view/View;

    return-object v1
.end method

.method public varargs didReceivedNotification(II[Ljava/lang/Object;)V
    .registers 9
    .param p1, "id"    # I
    .param p2, "account"    # I
    .param p3, "args"    # [Ljava/lang/Object;

    .line 156
    sget v0, Lim/tpelyyftgw/messenger/NotificationCenter;->chatInfoDidLoad:I

    if-ne p1, v0, :cond_3b

    .line 157
    const/4 v0, 0x0

    aget-object v1, p3, v0

    check-cast v1, Lim/tpelyyftgw/tgnet/TLRPC$ChatFull;

    .line 158
    .local v1, "info":Lim/tpelyyftgw/tgnet/TLRPC$ChatFull;
    const/4 v2, 0x1

    aget-object v2, p3, v2

    check-cast v2, Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    .line 159
    .local v2, "guid":I
    iget v3, v1, Lim/tpelyyftgw/tgnet/TLRPC$ChatFull;->id:I

    iget v4, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->chat_id:I

    if-ne v3, v4, :cond_3b

    iget v3, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->classGuid:I

    if-ne v2, v3, :cond_3b

    .line 160
    iget v3, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->currentAccount:I

    invoke-static {v3}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v3

    iget v4, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->chat_id:I

    invoke-virtual {v3, v4}, Lim/tpelyyftgw/messenger/MessagesController;->getExportedInvite(I)Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

    move-result-object v3

    iput-object v3, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->invite:Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

    .line 161
    instance-of v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$TL_chatInviteExported;

    if-nez v3, :cond_32

    .line 162
    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/GroupInviteActivity;->generateLink(Z)V

    goto :goto_3b

    .line 164
    :cond_32
    iput-boolean v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->loading:Z

    .line 165
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listAdapter:Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;

    if-eqz v0, :cond_3b

    .line 166
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;->notifyDataSetChanged()V

    .line 171
    .end local v1    # "info":Lim/tpelyyftgw/tgnet/TLRPC$ChatFull;
    .end local v2    # "guid":I
    :cond_3b
    :goto_3b
    return-void
.end method

.method public getThemeDescriptions()[Lim/tpelyyftgw/ui/actionbar/ThemeDescription;
    .registers 24

    .line 297
    move-object/from16 v0, p0

    const/16 v1, 0xe

    new-array v1, v1, [Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    new-instance v10, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v3, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    sget v4, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_CELLBACKGROUNDCOLOR:I

    const/4 v11, 0x2

    new-array v5, v11, [Ljava/lang/Class;

    const-class v2, Lim/tpelyyftgw/ui/cells/TextSettingsCell;

    const/4 v12, 0x0

    aput-object v2, v5, v12

    const-class v2, Lim/tpelyyftgw/ui/cells/TextBlockCell;

    const/4 v13, 0x1

    aput-object v2, v5, v13

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    const-string/jumbo v9, "windowBackgroundWhite"

    move-object v2, v10

    invoke-direct/range {v2 .. v9}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    aput-object v10, v1, v12

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v15, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->fragmentView:Landroid/view/View;

    sget v16, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_BACKGROUND:I

    const/16 v17, 0x0

    const/16 v18, 0x0

    const/16 v19, 0x0

    const/16 v20, 0x0

    const-string/jumbo v21, "windowBackgroundGray"

    move-object v14, v2

    invoke-direct/range {v14 .. v21}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    aput-object v2, v1, v13

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v4, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    sget v5, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_BACKGROUND:I

    const/4 v9, 0x0

    const-string v10, "actionBarDefault"

    move-object v3, v2

    invoke-direct/range {v3 .. v10}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    aput-object v2, v1, v11

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v15, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    sget v16, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_LISTGLOWCOLOR:I

    const-string v21, "actionBarDefault"

    move-object v14, v2

    invoke-direct/range {v14 .. v21}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/4 v3, 0x3

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v5, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    sget v6, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_AB_ITEMSCOLOR:I

    const/4 v10, 0x0

    const-string v11, "actionBarDefaultIcon"

    move-object v4, v2

    invoke-direct/range {v4 .. v11}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/4 v3, 0x4

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v5, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    sget v6, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_AB_TITLECOLOR:I

    const-string v11, "actionBarDefaultTitle"

    move-object v4, v2

    invoke-direct/range {v4 .. v11}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/4 v3, 0x5

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v5, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    sget v6, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_AB_SELECTORCOLOR:I

    const-string v11, "actionBarDefaultSelector"

    move-object v4, v2

    invoke-direct/range {v4 .. v11}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/4 v3, 0x6

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v5, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    sget v6, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_SELECTOR:I

    const-string v11, "listSelectorSDK21"

    move-object v4, v2

    invoke-direct/range {v4 .. v11}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/4 v3, 0x7

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v5, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-array v7, v13, [Ljava/lang/Class;

    const-class v3, Landroid/view/View;

    aput-object v3, v7, v12

    sget-object v8, Lim/tpelyyftgw/ui/actionbar/Theme;->dividerPaint:Landroid/graphics/Paint;

    const/4 v6, 0x0

    const-string v11, "divider"

    move-object v4, v2

    invoke-direct/range {v4 .. v11}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/16 v3, 0x8

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v5, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    sget v6, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_PROGRESSBAR:I

    const/4 v7, 0x0

    const/4 v8, 0x0

    const-string/jumbo v11, "progressCircle"

    move-object v4, v2

    invoke-direct/range {v4 .. v11}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/16 v3, 0x9

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v15, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-array v3, v13, [Ljava/lang/Class;

    const-class v4, Lim/tpelyyftgw/ui/cells/TextSettingsCell;

    aput-object v4, v3, v12

    const-string/jumbo v4, "textView"

    filled-new-array {v4}, [Ljava/lang/String;

    move-result-object v18

    const/16 v16, 0x0

    const/16 v21, 0x0

    const-string/jumbo v22, "windowBackgroundWhiteBlackText"

    move-object v14, v2

    move-object/from16 v17, v3

    invoke-direct/range {v14 .. v22}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;[Ljava/lang/String;[Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/16 v3, 0xa

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v15, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    sget v16, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->FLAG_BACKGROUNDFILTER:I

    new-array v3, v13, [Ljava/lang/Class;

    const-class v5, Lim/tpelyyftgw/ui/cells/TextInfoPrivacyCell;

    aput-object v5, v3, v12

    const/16 v18, 0x0

    const-string/jumbo v21, "windowBackgroundGrayShadow"

    move-object v14, v2

    move-object/from16 v17, v3

    invoke-direct/range {v14 .. v21}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/16 v3, 0xb

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v15, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-array v3, v13, [Ljava/lang/Class;

    const-class v5, Lim/tpelyyftgw/ui/cells/TextInfoPrivacyCell;

    aput-object v5, v3, v12

    filled-new-array {v4}, [Ljava/lang/String;

    move-result-object v18

    const/16 v16, 0x0

    const/16 v21, 0x0

    const-string/jumbo v22, "windowBackgroundWhiteGrayText4"

    move-object v14, v2

    move-object/from16 v17, v3

    invoke-direct/range {v14 .. v22}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;[Ljava/lang/String;[Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/16 v3, 0xc

    aput-object v2, v1, v3

    new-instance v2, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    iget-object v15, v0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-array v3, v13, [Ljava/lang/Class;

    const-class v5, Lim/tpelyyftgw/ui/cells/TextBlockCell;

    aput-object v5, v3, v12

    filled-new-array {v4}, [Ljava/lang/String;

    move-result-object v18

    const-string/jumbo v22, "windowBackgroundWhiteBlackText"

    move-object v14, v2

    move-object/from16 v17, v3

    invoke-direct/range {v14 .. v22}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;-><init>(Landroid/view/View;I[Ljava/lang/Class;[Ljava/lang/String;[Landroid/graphics/Paint;[Landroid/graphics/drawable/Drawable;Lim/tpelyyftgw/ui/actionbar/ThemeDescription$ThemeDescriptionDelegate;Ljava/lang/String;)V

    const/16 v3, 0xd

    aput-object v2, v1, v3

    return-object v1
.end method

.method public synthetic lambda$createView$1$GroupInviteActivity(Landroid/view/View;I)V
    .registers 7
    .param p1, "view"    # Landroid/view/View;
    .param p2, "position"    # I

    .line 114
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/GroupInviteActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    if-nez v0, :cond_7

    .line 115
    return-void

    .line 117
    :cond_7
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->copyLinkRow:I

    if-eq p2, v0, :cond_97

    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->linkRow:I

    if-ne p2, v0, :cond_11

    goto/16 :goto_97

    .line 129
    :cond_11
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->shareLinkRow:I

    if-ne p2, v0, :cond_4c

    .line 130
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->invite:Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

    if-nez v0, :cond_1a

    .line 131
    return-void

    .line 134
    :cond_1a
    :try_start_1a
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.SEND"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 135
    .local v0, "intent":Landroid/content/Intent;
    const-string/jumbo v1, "text/plain"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    .line 136
    const-string v1, "android.intent.extra.TEXT"

    iget-object v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->invite:Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;->link:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 137
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/GroupInviteActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    const-string v2, "InviteToGroupByLink"

    const v3, 0x7f0f07cd

    invoke-static {v2, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Landroid/content/Intent;->createChooser(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;

    move-result-object v2

    const/16 v3, 0x1f4

    invoke-virtual {v1, v2, v3}, Landroidx/fragment/app/FragmentActivity;->startActivityForResult(Landroid/content/Intent;I)V
    :try_end_46
    .catch Ljava/lang/Exception; {:try_start_1a .. :try_end_46} :catch_47

    .end local v0    # "intent":Landroid/content/Intent;
    goto :goto_4b

    .line 138
    :catch_47
    move-exception v0

    .line 139
    .local v0, "e":Ljava/lang/Exception;
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 140
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_4b
    goto :goto_bf

    .line 141
    :cond_4c
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->revokeLinkRow:I

    if-ne p2, v0, :cond_bf

    .line 142
    new-instance v0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/GroupInviteActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    invoke-direct {v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 143
    .local v0, "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
    const v1, 0x7f0f0e2c

    const-string v2, "RevokeAlert"

    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 144
    const v1, 0x7f0f0e2f

    const-string v2, "RevokeLink"

    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 145
    const v1, 0x7f0f0e2e

    const-string v2, "RevokeButton"

    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lim/tpelyyftgw/ui/-$$Lambda$GroupInviteActivity$pEkgrkx9Zp9uOKlfTCCM60WwYFY;

    invoke-direct {v2, p0}, Lim/tpelyyftgw/ui/-$$Lambda$GroupInviteActivity$pEkgrkx9Zp9uOKlfTCCM60WwYFY;-><init>(Lim/tpelyyftgw/ui/GroupInviteActivity;)V

    invoke-virtual {v0, v1, v2}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 146
    const v1, 0x7f0f02f7

    const-string v2, "Cancel"

    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 147
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->create()Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    move-result-object v1

    invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/GroupInviteActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;

    goto :goto_bf

    .line 118
    .end local v0    # "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
    :cond_97
    :goto_97
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->invite:Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

    if-nez v0, :cond_9c

    .line 119
    return-void

    .line 122
    :cond_9c
    :try_start_9c
    sget-object v0, Lim/tpelyyftgw/messenger/ApplicationLoader;->applicationContext:Landroid/content/Context;

    const-string v1, "clipboard"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/ClipboardManager;

    .line 123
    .local v0, "clipboard":Landroid/content/ClipboardManager;
    const-string v1, "label"

    iget-object v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->invite:Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

    iget-object v2, v2, Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;->link:Ljava/lang/String;

    invoke-static {v1, v2}, Landroid/content/ClipData;->newPlainText(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/content/ClipData;

    move-result-object v1

    .line 124
    .local v1, "clip":Landroid/content/ClipData;
    invoke-virtual {v0, v1}, Landroid/content/ClipboardManager;->setPrimaryClip(Landroid/content/ClipData;)V

    .line 125
    const v2, 0x7f0f0815

    invoke-static {v2}, Lim/tpelyyftgw/ui/components/toast/ToastUtils;->show(I)V
    :try_end_b9
    .catch Ljava/lang/Exception; {:try_start_9c .. :try_end_b9} :catch_ba

    .end local v0    # "clipboard":Landroid/content/ClipboardManager;
    .end local v1    # "clip":Landroid/content/ClipData;
    goto :goto_be

    .line 126
    :catch_ba
    move-exception v0

    .line 127
    .local v0, "e":Ljava/lang/Exception;
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 128
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_be
    nop

    .line 149
    :cond_bf
    :goto_bf
    return-void
.end method

.method public synthetic lambda$generateLink$3$GroupInviteActivity(ZLim/tpelyyftgw/tgnet/TLObject;Lim/tpelyyftgw/tgnet/TLRPC$TL_error;)V
    .registers 5
    .param p1, "newRequest"    # Z
    .param p2, "response"    # Lim/tpelyyftgw/tgnet/TLObject;
    .param p3, "error"    # Lim/tpelyyftgw/tgnet/TLRPC$TL_error;

    .line 185
    new-instance v0, Lim/tpelyyftgw/ui/-$$Lambda$GroupInviteActivity$E4IV4EQUU2Nvp7-sx7N-E7600aE;

    invoke-direct {v0, p0, p3, p2, p1}, Lim/tpelyyftgw/ui/-$$Lambda$GroupInviteActivity$E4IV4EQUU2Nvp7-sx7N-E7600aE;-><init>(Lim/tpelyyftgw/ui/GroupInviteActivity;Lim/tpelyyftgw/tgnet/TLRPC$TL_error;Lim/tpelyyftgw/tgnet/TLObject;Z)V

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;)V

    return-void
.end method

.method public synthetic lambda$null$0$GroupInviteActivity(Landroid/content/DialogInterface;I)V
    .registers 4
    .param p1, "dialogInterface"    # Landroid/content/DialogInterface;
    .param p2, "i"    # I

    .line 145
    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/GroupInviteActivity;->generateLink(Z)V

    return-void
.end method

.method public synthetic lambda$null$2$GroupInviteActivity(Lim/tpelyyftgw/tgnet/TLRPC$TL_error;Lim/tpelyyftgw/tgnet/TLObject;Z)V
    .registers 7
    .param p1, "error"    # Lim/tpelyyftgw/tgnet/TLRPC$TL_error;
    .param p2, "response"    # Lim/tpelyyftgw/tgnet/TLObject;
    .param p3, "newRequest"    # Z

    .line 186
    if-nez p1, :cond_45

    .line 187
    move-object v0, p2

    check-cast v0, Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

    iput-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->invite:Lim/tpelyyftgw/tgnet/TLRPC$ExportedChatInvite;

    .line 188
    if-eqz p3, :cond_45

    .line 189
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/GroupInviteActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    if-nez v0, :cond_10

    .line 190
    return-void

    .line 192
    :cond_10
    new-instance v0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/GroupInviteActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    invoke-direct {v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 193
    .local v0, "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
    const v1, 0x7f0f0e2d

    const-string v2, "RevokeAlertNewLink"

    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 194
    const v1, 0x7f0f0e2f

    const-string v2, "RevokeLink"

    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 195
    const v1, 0x7f0f0a5a

    const-string v2, "OK"

    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 196
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->create()Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    move-result-object v1

    invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/GroupInviteActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;

    .line 199
    .end local v0    # "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
    :cond_45
    const/4 v0, 0x0

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->loading:Z

    .line 200
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listAdapter:Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;->notifyDataSetChanged()V

    .line 201
    return-void
.end method

.method public onFragmentCreate()Z
    .registers 5

    .line 61
    invoke-super {p0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;->onFragmentCreate()Z

    .line 63
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->currentAccount:I

    invoke-static {v0}, Lim/tpelyyftgw/messenger/NotificationCenter;->getInstance(I)Lim/tpelyyftgw/messenger/NotificationCenter;

    move-result-object v0

    sget v1, Lim/tpelyyftgw/messenger/NotificationCenter;->chatInfoDidLoad:I

    invoke-virtual {v0, p0, v1}, Lim/tpelyyftgw/messenger/NotificationCenter;->addObserver(Ljava/lang/Object;I)V

    .line 64
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->currentAccount:I

    invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    iget v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->chat_id:I

    iget v2, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->classGuid:I

    const/4 v3, 0x1

    invoke-virtual {v0, v1, v2, v3}, Lim/tpelyyftgw/messenger/MessagesController;->loadFullChat(IIZ)V

    .line 65
    iput-boolean v3, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->loading:Z

    .line 67
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->rowCount:I

    .line 68
    const/4 v1, 0x0

    add-int/2addr v1, v3

    iput v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->linkRow:I

    .line 69
    add-int/lit8 v0, v1, 0x1

    iput v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->rowCount:I

    iput v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->linkInfoRow:I

    .line 70
    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->copyLinkRow:I

    .line 71
    add-int/lit8 v0, v1, 0x1

    iput v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->rowCount:I

    iput v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->revokeLinkRow:I

    .line 72
    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->shareLinkRow:I

    .line 73
    add-int/lit8 v0, v1, 0x1

    iput v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->rowCount:I

    iput v1, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->shadowRow:I

    .line 75
    return v3
.end method

.method public onFragmentDestroy()V
    .registers 3

    .line 80
    iget v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->currentAccount:I

    invoke-static {v0}, Lim/tpelyyftgw/messenger/NotificationCenter;->getInstance(I)Lim/tpelyyftgw/messenger/NotificationCenter;

    move-result-object v0

    sget v1, Lim/tpelyyftgw/messenger/NotificationCenter;->chatInfoDidLoad:I

    invoke-virtual {v0, p0, v1}, Lim/tpelyyftgw/messenger/NotificationCenter;->removeObserver(Ljava/lang/Object;I)V

    .line 81
    return-void
.end method

.method public onResume()V
    .registers 2

    .line 175
    invoke-super {p0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;->onResume()V

    .line 176
    iget-object v0, p0, Lim/tpelyyftgw/ui/GroupInviteActivity;->listAdapter:Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;

    if-eqz v0, :cond_a

    .line 177
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/GroupInviteActivity$ListAdapter;->notifyDataSetChanged()V

    .line 179
    :cond_a
    return-void
.end method