Changes of com.discord v1023

This commit is contained in:
root 2020-01-17 00:44:39 +01:00
parent 084bf4d035
commit 1da3c0f5b5
99 changed files with 1416 additions and 1032 deletions

View file

@ -47,6 +47,8 @@
<data android:host="*.discordapp.com" android:pathPattern="/channels/.*" android:scheme="https"/>
<data android:host="discordapp.com" android:pathPattern="/channels/.*" android:scheme="https"/>
<data android:host="discordapp.com" android:pathPattern="/channels/.*" android:scheme="http"/>
<data android:host="*.discordapp.com" android:pathPattern="/users/.*" android:scheme="https"/>
<data android:host="discordapp.com" android:pathPattern="/users/.*" android:scheme="https"/>
<data android:host="discordapp.com" android:pathPattern="/ra/.*" android:scheme="http"/>
<data android:host="discordapp.com" android:pathPattern="/ra/.*" android:scheme="https"/>
</intent-filter>

View file

@ -1,5 +1,5 @@
!!brut.androlib.meta.MetaInfo
apkFileName: com.discord-1022.apk
apkFileName: com.discord-1023.apk
compressionType: false
doNotCompress:
- arsc
@ -184,5 +184,5 @@ usesFramework:
tag: null
version: 2.4.1-197d46-SNAPSHOT
versionInfo:
versionCode: '1022'
versionName: 10.2.2
versionCode: '1023'
versionName: 10.2.3

View file

@ -3,9 +3,9 @@
#
#Do NOT modify, delete, or commit to source control!
#
#Thu Jan 16 01:05:19 UTC 2020
version_name=10.2.2
#Thu Jan 16 22:26:02 UTC 2020
version_name=10.2.3
package_name=com.discord
build_id=39eaa3d8-5432-4514-93b5-a53c24ca6bb9
version_code=1022
build_id=234be6b4-2bed-416a-9d37-610ca1d8bd63
version_code=1023
app_name=com.discord

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 149 KiB

View file

@ -1,45 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView android:background="?colorBackgroundSecondary" style="@style/UiKit.ViewGroup.NestedScrollView"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout android:focusable="true" android:focusableInTouchMode="true" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<FrameLayout android:background="?colorBackgroundTertiary" android:layout_width="fill_parent" android:layout_height="wrap_content" android:elevation="@dimen/uikit_elevation_low">
<com.discord.widgets.user.profile.UserProfileHeaderView android:id="@id/user_sheet_profile_header_view" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_constraintTop_toTopOf="parent" app:user_profile_header_background_color="?colorBackgroundTertiary" />
<ImageView android:layout_gravity="end|center|top" android:id="@id/user_sheet_more_button" android:background="?bg_pressed_highlight" android:padding="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:src="?ic_more" android:contentDescription="@string/more" style="@style/UiKit.ImageView.Clickable" />
</FrameLayout>
<View android:id="@id/user_sheet_profile_actions_divider" android:visibility="gone" style="@style/UiKit.Divider" />
<LinearLayout android:id="@id/user_sheet_profile_actions_container" android:background="?colorBackgroundTertiary" android:elevation="@dimen/uikit_elevation_low" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<Button android:id="@id/user_sheet_message_action_button" android:layout_width="0.0dip" android:text="@string/user_profile_message" android:drawableTop="?ic_user_profile_action_message" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
<Button android:id="@id/user_sheet_call_action_button" android:layout_width="0.0dip" android:text="@string/user_profile_audio" android:drawableTop="?ic_user_profile_action_call" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
<Button android:id="@id/user_sheet_video_action_button" android:layout_width="0.0dip" android:text="@string/user_profile_video" android:drawableTop="?ic_user_profile_action_video" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
<Button android:textColor="@color/status_green_500" android:id="@id/user_sheet_add_friend_action_button" android:visibility="gone" android:layout_width="0.0dip" android:text="@string/user_profile_add_friend" android:drawableTop="@drawable/ic_user_profile_action_add_friend" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
<Button android:textColor="@color/status_yellow_500" android:id="@id/user_sheet_pending_friend_request_action_button" android:visibility="gone" android:layout_width="0.0dip" android:text="@string/user_profile_pending" android:drawableTop="@drawable/ic_user_profile_action_pending" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
</LinearLayout>
<TextView android:id="@id/user_sheet_incoming_friend_request_header" android:visibility="gone" android:text="@string/incoming_friend_request" style="@style/UserProfile.Section.Header" />
<LinearLayout android:id="@id/user_sheet_friend_request_incoming_container" android:visibility="gone" android:layout_width="fill_parent" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.google.android.material.button.MaterialButton android:id="@id/user_sheet_friend_request_ignore_button" android:text="@string/friend_request_ignore" android:layout_weight="1.0" android:layout_marginEnd="@dimen/uikit_spacing_medium" style="@style/UiKit.Material.Button.Secondary.Fit" />
<com.google.android.material.button.MaterialButton android:id="@id/user_sheet_friend_request_accept_button" android:text="@string/friend_request_accept" android:layout_weight="1.0" style="@style/UiKit.Material.Button.Green.Fit" />
</LinearLayout>
<TextView android:id="@id/user_sheet_profile_voice_settings_header" android:text="@string/voice_settings" style="@style/UserProfile.Section.Header" />
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
<com.discord.widgets.user.usersheet.UserProfileVoiceSettingsView android:id="@id/user_sheet_profile_voice_settings_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</androidx.cardview.widget.CardView>
<FrameLayout android:id="@id/rich_presence_container" android:visibility="gone" style="@style/UiKit.ViewGroup" />
<LinearLayout android:id="@id/user_sheet_guild_container" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:id="@id/user_sheet_guild_header" android:contentDescription="@string/user_profile_guild_name_content_description" style="@style/UserProfile.Section.Header" />
<com.discord.widgets.roles.RolesListView android:id="@id/user_sheet_roles_list" style="@style/UserProfile.Section" />
<androidx.cardview.widget.CardView android:id="@id/user_sheet_admin_card" android:layout_marginTop="@dimen/uikit_spacing_large" app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Card">
<com.discord.widgets.user.profile.UserProfileAdminView android:id="@id/user_sheet_admin_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:id="@id/user_sheet_content" android:focusable="true" android:focusableInTouchMode="true" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<FrameLayout android:background="?colorBackgroundTertiary" android:layout_width="fill_parent" android:layout_height="wrap_content" android:elevation="@dimen/uikit_elevation_low">
<com.discord.widgets.user.profile.UserProfileHeaderView android:id="@id/user_sheet_profile_header_view" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_constraintTop_toTopOf="parent" app:user_profile_header_background_color="?colorBackgroundTertiary" />
<ImageView android:layout_gravity="end|center|top" android:id="@id/user_sheet_more_button" android:background="?bg_pressed_highlight" android:padding="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:src="?ic_more" android:contentDescription="@string/more" style="@style/UiKit.ImageView.Clickable" />
</FrameLayout>
<View android:id="@id/user_sheet_profile_actions_divider" android:visibility="gone" style="@style/UiKit.Divider" />
<LinearLayout android:id="@id/user_sheet_profile_actions_container" android:background="?colorBackgroundTertiary" android:elevation="@dimen/uikit_elevation_low" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<Button android:id="@id/user_sheet_message_action_button" android:layout_width="0.0dip" android:text="@string/user_profile_message" android:drawableTop="?ic_user_profile_action_message" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
<Button android:id="@id/user_sheet_call_action_button" android:layout_width="0.0dip" android:text="@string/user_profile_audio" android:drawableTop="?ic_user_profile_action_call" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
<Button android:id="@id/user_sheet_video_action_button" android:layout_width="0.0dip" android:text="@string/user_profile_video" android:drawableTop="?ic_user_profile_action_video" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
<Button android:textColor="@color/status_green_500" android:id="@id/user_sheet_add_friend_action_button" android:visibility="gone" android:layout_width="0.0dip" android:text="@string/user_profile_add_friend" android:drawableTop="@drawable/ic_user_profile_action_add_friend" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
<Button android:textColor="@color/status_yellow_500" android:id="@id/user_sheet_pending_friend_request_action_button" android:visibility="gone" android:layout_width="0.0dip" android:text="@string/user_profile_pending" android:drawableTop="@drawable/ic_user_profile_action_pending" android:layout_weight="1.0" style="@style/UiKit.ImageButton" />
</LinearLayout>
<TextView android:id="@id/user_sheet_incoming_friend_request_header" android:visibility="gone" android:text="@string/incoming_friend_request" style="@style/UserProfile.Section.Header" />
<LinearLayout android:id="@id/user_sheet_friend_request_incoming_container" android:visibility="gone" android:layout_width="fill_parent" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.google.android.material.button.MaterialButton android:id="@id/user_sheet_friend_request_ignore_button" android:text="@string/friend_request_ignore" android:layout_weight="1.0" android:layout_marginEnd="@dimen/uikit_spacing_medium" style="@style/UiKit.Material.Button.Secondary.Fit" />
<com.google.android.material.button.MaterialButton android:id="@id/user_sheet_friend_request_accept_button" android:text="@string/friend_request_accept" android:layout_weight="1.0" style="@style/UiKit.Material.Button.Green.Fit" />
</LinearLayout>
<TextView android:id="@id/user_sheet_profile_voice_settings_header" android:text="@string/voice_settings" style="@style/UserProfile.Section.Header" />
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
<com.discord.widgets.user.usersheet.UserProfileVoiceSettingsView android:id="@id/user_sheet_profile_voice_settings_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</androidx.cardview.widget.CardView>
<FrameLayout android:id="@id/rich_presence_container" android:visibility="gone" style="@style/UiKit.ViewGroup" />
<LinearLayout android:id="@id/user_sheet_guild_container" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:id="@id/user_sheet_guild_header" android:contentDescription="@string/user_profile_guild_name_content_description" style="@style/UserProfile.Section.Header" />
<com.discord.widgets.roles.RolesListView android:id="@id/user_sheet_roles_list" style="@style/UserProfile.Section" />
<androidx.cardview.widget.CardView android:id="@id/user_sheet_admin_card" android:layout_marginTop="@dimen/uikit_spacing_large" app:cardBackgroundColor="?primary_600" style="@style/UserProfile.Section.Card">
<com.discord.widgets.user.profile.UserProfileAdminView android:id="@id/user_sheet_admin_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</androidx.cardview.widget.CardView>
</LinearLayout>
<TextView android:id="@id/user_sheet_connections_header" android:visibility="gone" android:text="@string/connections" style="@style/UserProfile.Section.Header" />
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
<com.discord.widgets.user.profile.UserProfileConnectionsView android:id="@id/user_sheet_connections_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</androidx.cardview.widget.CardView>
<TextView android:id="@id/user_sheet_note_header" android:text="@string/note" style="@style/UserProfile.Section.Header" />
<com.google.android.material.textfield.TextInputLayout android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="0.0dip" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" app:counterEnabled="true" app:counterMaxLength="256" style="@style/UiKit.Form.Field.EditText.Wrap">
<com.discord.app.AppEditText android:id="@id/user_sheet_note_text_field" android:hint="@string/note_placeholder_mobile" android:maxLength="256" android:imeOptions="actionDone" style="@style/UiKit.Form.Field.EditText" />
</com.google.android.material.textfield.TextInputLayout>
<TextView android:id="@id/user_sheet_developer_header" android:text="@string/developer_mode" style="@style/UserProfile.Section.Header" />
<TextView android:id="@id/user_sheet_copy_id" android:visibility="gone" android:text="@string/copy_id" android:drawableStart="?ic_copy" style="@style/UiKit.ListItem.Icon" />
</LinearLayout>
<TextView android:id="@id/user_sheet_connections_header" android:visibility="gone" android:text="@string/connections" style="@style/UserProfile.Section.Header" />
<androidx.cardview.widget.CardView app:cardBackgroundColor="?colorBackgroundPrimary" style="@style/UserProfile.Section.Card">
<com.discord.widgets.user.profile.UserProfileConnectionsView android:id="@id/user_sheet_connections_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</androidx.cardview.widget.CardView>
<TextView android:id="@id/user_sheet_note_header" android:text="@string/note" style="@style/UserProfile.Section.Header" />
<com.google.android.material.textfield.TextInputLayout android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="0.0dip" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" app:counterEnabled="true" app:counterMaxLength="256" style="@style/UiKit.Form.Field.EditText.Wrap">
<com.discord.app.AppEditText android:id="@id/user_sheet_note_text_field" android:hint="@string/note_placeholder_mobile" android:maxLength="256" android:imeOptions="actionDone" style="@style/UiKit.Form.Field.EditText" />
</com.google.android.material.textfield.TextInputLayout>
<TextView android:id="@id/user_sheet_developer_header" android:text="@string/developer_mode" style="@style/UserProfile.Section.Header" />
<TextView android:id="@id/user_sheet_copy_id" android:visibility="gone" android:text="@string/copy_id" android:drawableStart="?ic_copy" style="@style/UiKit.ListItem.Icon" />
</LinearLayout>
<FrameLayout android:id="@id/user_sheet_loading_container" android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="fill_parent">
<androidx.core.widget.ContentLoadingProgressBar android:layout_gravity="center|top" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_xxlarge" android:contentDescription="@string/loading" style="?android:progressBarStyleLarge" />
</FrameLayout>
</FrameLayout>
</androidx.core.widget.NestedScrollView>

View file

@ -2033,6 +2033,7 @@
<item type="id" name="user_sheet_call_action_button" />
<item type="id" name="user_sheet_connections_header" />
<item type="id" name="user_sheet_connections_view" />
<item type="id" name="user_sheet_content" />
<item type="id" name="user_sheet_copy_id" />
<item type="id" name="user_sheet_developer_header" />
<item type="id" name="user_sheet_friend_request_accept_button" />
@ -2042,6 +2043,7 @@
<item type="id" name="user_sheet_guild_header" />
<item type="id" name="user_sheet_header" />
<item type="id" name="user_sheet_incoming_friend_request_header" />
<item type="id" name="user_sheet_loading_container" />
<item type="id" name="user_sheet_message_action_button" />
<item type="id" name="user_sheet_more_button" />
<item type="id" name="user_sheet_muted" />

View file

@ -5701,156 +5701,158 @@
<public type="id" name="user_sheet_call_action_button" id="0x7f0a087d" />
<public type="id" name="user_sheet_connections_header" id="0x7f0a087e" />
<public type="id" name="user_sheet_connections_view" id="0x7f0a087f" />
<public type="id" name="user_sheet_copy_id" id="0x7f0a0880" />
<public type="id" name="user_sheet_developer_header" id="0x7f0a0881" />
<public type="id" name="user_sheet_friend_request_accept_button" id="0x7f0a0882" />
<public type="id" name="user_sheet_friend_request_ignore_button" id="0x7f0a0883" />
<public type="id" name="user_sheet_friend_request_incoming_container" id="0x7f0a0884" />
<public type="id" name="user_sheet_guild_container" id="0x7f0a0885" />
<public type="id" name="user_sheet_guild_header" id="0x7f0a0886" />
<public type="id" name="user_sheet_header" id="0x7f0a0887" />
<public type="id" name="user_sheet_incoming_friend_request_header" id="0x7f0a0888" />
<public type="id" name="user_sheet_message_action_button" id="0x7f0a0889" />
<public type="id" name="user_sheet_more_button" id="0x7f0a088a" />
<public type="id" name="user_sheet_muted" id="0x7f0a088b" />
<public type="id" name="user_sheet_note_header" id="0x7f0a088c" />
<public type="id" name="user_sheet_note_text_field" id="0x7f0a088d" />
<public type="id" name="user_sheet_pending_friend_request_action_button" id="0x7f0a088e" />
<public type="id" name="user_sheet_profile_actions_container" id="0x7f0a088f" />
<public type="id" name="user_sheet_profile_actions_divider" id="0x7f0a0890" />
<public type="id" name="user_sheet_profile_header_view" id="0x7f0a0891" />
<public type="id" name="user_sheet_profile_voice_settings_header" id="0x7f0a0892" />
<public type="id" name="user_sheet_profile_voice_settings_view" id="0x7f0a0893" />
<public type="id" name="user_sheet_roles_list" id="0x7f0a0894" />
<public type="id" name="user_sheet_video_action_button" id="0x7f0a0895" />
<public type="id" name="user_sheet_volume" id="0x7f0a0896" />
<public type="id" name="user_status_presence_custom_clear" id="0x7f0a0897" />
<public type="id" name="user_status_presence_custom_emoji" id="0x7f0a0898" />
<public type="id" name="user_status_presence_custom_text" id="0x7f0a0899" />
<public type="id" name="user_status_presence_dot" id="0x7f0a089a" />
<public type="id" name="user_status_presence_subtitle" id="0x7f0a089b" />
<public type="id" name="user_status_presence_title" id="0x7f0a089c" />
<public type="id" name="user_status_update_custom" id="0x7f0a089d" />
<public type="id" name="user_status_update_dnd" id="0x7f0a089e" />
<public type="id" name="user_status_update_idle" id="0x7f0a089f" />
<public type="id" name="user_status_update_invisible" id="0x7f0a08a0" />
<public type="id" name="user_status_update_online" id="0x7f0a08a1" />
<public type="id" name="username_placeholder_end_guideline" id="0x7f0a08a2" />
<public type="id" name="verify_char_1" id="0x7f0a08a3" />
<public type="id" name="verify_char_2" id="0x7f0a08a4" />
<public type="id" name="verify_char_3" id="0x7f0a08a5" />
<public type="id" name="verify_char_4" id="0x7f0a08a6" />
<public type="id" name="verify_char_5" id="0x7f0a08a7" />
<public type="id" name="verify_char_6" id="0x7f0a08a8" />
<public type="id" name="view_dialog_confirmation_cancel" id="0x7f0a08a9" />
<public type="id" name="view_dialog_confirmation_confirm" id="0x7f0a08aa" />
<public type="id" name="view_dialog_confirmation_header" id="0x7f0a08ab" />
<public type="id" name="view_dialog_confirmation_text" id="0x7f0a08ac" />
<public type="id" name="view_input" id="0x7f0a08ad" />
<public type="id" name="view_offset_helper" id="0x7f0a08ae" />
<public type="id" name="view_overlay" id="0x7f0a08af" />
<public type="id" name="view_pager" id="0x7f0a08b0" />
<public type="id" name="view_premium_guild_feature_image" id="0x7f0a08b1" />
<public type="id" name="view_premium_guild_feature_text" id="0x7f0a08b2" />
<public type="id" name="view_premium_marketing_container_tier1" id="0x7f0a08b3" />
<public type="id" name="view_premium_marketing_learn_more" id="0x7f0a08b4" />
<public type="id" name="view_premium_marketing_marketing_container" id="0x7f0a08b5" />
<public type="id" name="view_premium_marketing_marketing_subtitle" id="0x7f0a08b6" />
<public type="id" name="view_premium_marketing_marketing_title" id="0x7f0a08b7" />
<public type="id" name="view_premium_marketing_nitro_boost_count" id="0x7f0a08b8" />
<public type="id" name="view_premium_marketing_nitro_boost_discount" id="0x7f0a08b9" />
<public type="id" name="view_premium_marketing_nitro_classic_boost_count" id="0x7f0a08ba" />
<public type="id" name="view_premium_marketing_nitro_classic_boost_discount" id="0x7f0a08bb" />
<public type="id" name="view_premium_upsell_info_subheading" id="0x7f0a08bc" />
<public type="id" name="view_premium_upsell_info_subheading_blurb" id="0x7f0a08bd" />
<public type="id" name="view_premium_upsell_info_subheading_price" id="0x7f0a08be" />
<public type="id" name="visible" id="0x7f0a08bf" />
<public type="id" name="voice" id="0x7f0a08c0" />
<public type="id" name="voice_actions_connect" id="0x7f0a08c1" />
<public type="id" name="voice_actions_copy_id" id="0x7f0a08c2" />
<public type="id" name="voice_actions_disconnect" id="0x7f0a08c3" />
<public type="id" name="voice_actions_header" id="0x7f0a08c4" />
<public type="id" name="voice_actions_icon" id="0x7f0a08c5" />
<public type="id" name="voice_actions_settings" id="0x7f0a08c6" />
<public type="id" name="voice_actions_settings_divider" id="0x7f0a08c7" />
<public type="id" name="voice_actions_user_count" id="0x7f0a08c8" />
<public type="id" name="voice_actions_users_recyclerview" id="0x7f0a08c9" />
<public type="id" name="voice_connected_container" id="0x7f0a08ca" />
<public type="id" name="voice_connected_description" id="0x7f0a08cb" />
<public type="id" name="voice_connected_ptt" id="0x7f0a08cc" />
<public type="id" name="voice_connected_quality" id="0x7f0a08cd" />
<public type="id" name="voice_connected_status_container" id="0x7f0a08ce" />
<public type="id" name="voice_connected_text" id="0x7f0a08cf" />
<public type="id" name="voice_divider" id="0x7f0a08d0" />
<public type="id" name="voice_expand" id="0x7f0a08d1" />
<public type="id" name="voice_fullscreen_controls_connect" id="0x7f0a08d2" />
<public type="id" name="voice_fullscreen_controls_controls_wrap" id="0x7f0a08d3" />
<public type="id" name="voice_fullscreen_controls_deafen_state" id="0x7f0a08d4" />
<public type="id" name="voice_fullscreen_controls_disconnect" id="0x7f0a08d5" />
<public type="id" name="voice_fullscreen_controls_mute_state" id="0x7f0a08d6" />
<public type="id" name="voice_fullscreen_controls_num_users_connected" id="0x7f0a08d7" />
<public type="id" name="voice_fullscreen_controls_ptt" id="0x7f0a08d8" />
<public type="id" name="voice_fullscreen_controls_speaker" id="0x7f0a08d9" />
<public type="id" name="voice_info_connecting" id="0x7f0a08da" />
<public type="id" name="voice_info_overlay" id="0x7f0a08db" />
<public type="id" name="voice_info_talking_users" id="0x7f0a08dc" />
<public type="id" name="voice_info_wrap" id="0x7f0a08dd" />
<public type="id" name="voice_list_item_user" id="0x7f0a08de" />
<public type="id" name="voice_ongoing_container" id="0x7f0a08df" />
<public type="id" name="voice_ongoing_user_count_label" id="0x7f0a08e0" />
<public type="id" name="voice_user_avatar" id="0x7f0a08e1" />
<public type="id" name="voice_user_list_item_deafen_indicator" id="0x7f0a08e2" />
<public type="id" name="voice_user_list_item_header_label" id="0x7f0a08e3" />
<public type="id" name="voice_user_list_item_live_indicator" id="0x7f0a08e4" />
<public type="id" name="voice_user_list_item_mute_indicator" id="0x7f0a08e5" />
<public type="id" name="voice_user_list_item_user_avatar" id="0x7f0a08e6" />
<public type="id" name="voice_user_list_item_user_name" id="0x7f0a08e7" />
<public type="id" name="voice_user_list_item_user_stream_preview" id="0x7f0a08e8" />
<public type="id" name="voice_user_name_display" id="0x7f0a08e9" />
<public type="id" name="web_view" id="0x7f0a08ea" />
<public type="id" name="welcome_card_invite_friends" id="0x7f0a08eb" />
<public type="id" name="welcome_card_upload_icon" id="0x7f0a08ec" />
<public type="id" name="wide" id="0x7f0a08ed" />
<public type="id" name="widget_add_friend_user_list_item" id="0x7f0a08ee" />
<public type="id" name="widget_auth_mfa_backup_codes_cancel" id="0x7f0a08ef" />
<public type="id" name="widget_auth_mfa_backup_codes_edittext" id="0x7f0a08f0" />
<public type="id" name="widget_auth_mfa_backup_codes_send" id="0x7f0a08f1" />
<public type="id" name="widget_auth_mfa_info_okay" id="0x7f0a08f2" />
<public type="id" name="widget_auth_mfa_info_text" id="0x7f0a08f3" />
<public type="id" name="widget_channel_search_item" id="0x7f0a08f4" />
<public type="id" name="widget_channel_search_item_remove" id="0x7f0a08f5" />
<public type="id" name="widget_channel_settings_permissions_overview_members_recycler" id="0x7f0a08f6" />
<public type="id" name="widget_channel_settings_permissions_overview_roles_recycler" id="0x7f0a08f7" />
<public type="id" name="widget_channel_topic" id="0x7f0a08f8" />
<public type="id" name="widget_channels" id="0x7f0a08f9" />
<public type="id" name="widget_chat_bottom_space" id="0x7f0a08fa" />
<public type="id" name="widget_chat_input" id="0x7f0a08fb" />
<public type="id" name="widget_chat_list" id="0x7f0a08fc" />
<public type="id" name="widget_chat_overlay_actions" id="0x7f0a08fd" />
<public type="id" name="widget_chat_voice" id="0x7f0a08fe" />
<public type="id" name="widget_collapsed_user_count" id="0x7f0a08ff" />
<public type="id" name="widget_collapsed_user_imageview" id="0x7f0a0900" />
<public type="id" name="widget_connected_list" id="0x7f0a0901" />
<public type="id" name="widget_friends_list" id="0x7f0a0902" />
<public type="id" name="widget_guilds" id="0x7f0a0903" />
<public type="id" name="widget_profile_strip" id="0x7f0a0904" />
<public type="id" name="widget_search_results" id="0x7f0a0905" />
<public type="id" name="widget_search_suggestions" id="0x7f0a0906" />
<public type="id" name="widget_server_settings_channels_container" id="0x7f0a0907" />
<public type="id" name="widget_server_settings_emojis_recycler" id="0x7f0a0908" />
<public type="id" name="widget_server_settings_emojis_section" id="0x7f0a0909" />
<public type="id" name="widget_server_settings_emojis_upload" id="0x7f0a090a" />
<public type="id" name="widget_server_settings_emojis_upload_description" id="0x7f0a090b" />
<public type="id" name="widget_server_settings_emojis_view_flipper" id="0x7f0a090c" />
<public type="id" name="widget_status" id="0x7f0a090d" />
<public type="id" name="withText" id="0x7f0a090e" />
<public type="id" name="wrap" id="0x7f0a090f" />
<public type="id" name="wrap_content" id="0x7f0a0910" />
<public type="id" name="wrap_reverse" id="0x7f0a0911" />
<public type="id" name="wrapper_controls" id="0x7f0a0912" />
<public type="id" name="wrapper_reset_rotate" id="0x7f0a0913" />
<public type="id" name="wrapper_rotate_by_angle" id="0x7f0a0914" />
<public type="id" name="wrapper_states" id="0x7f0a0915" />
<public type="id" name="user_sheet_content" id="0x7f0a0880" />
<public type="id" name="user_sheet_copy_id" id="0x7f0a0881" />
<public type="id" name="user_sheet_developer_header" id="0x7f0a0882" />
<public type="id" name="user_sheet_friend_request_accept_button" id="0x7f0a0883" />
<public type="id" name="user_sheet_friend_request_ignore_button" id="0x7f0a0884" />
<public type="id" name="user_sheet_friend_request_incoming_container" id="0x7f0a0885" />
<public type="id" name="user_sheet_guild_container" id="0x7f0a0886" />
<public type="id" name="user_sheet_guild_header" id="0x7f0a0887" />
<public type="id" name="user_sheet_header" id="0x7f0a0888" />
<public type="id" name="user_sheet_incoming_friend_request_header" id="0x7f0a0889" />
<public type="id" name="user_sheet_loading_container" id="0x7f0a088a" />
<public type="id" name="user_sheet_message_action_button" id="0x7f0a088b" />
<public type="id" name="user_sheet_more_button" id="0x7f0a088c" />
<public type="id" name="user_sheet_muted" id="0x7f0a088d" />
<public type="id" name="user_sheet_note_header" id="0x7f0a088e" />
<public type="id" name="user_sheet_note_text_field" id="0x7f0a088f" />
<public type="id" name="user_sheet_pending_friend_request_action_button" id="0x7f0a0890" />
<public type="id" name="user_sheet_profile_actions_container" id="0x7f0a0891" />
<public type="id" name="user_sheet_profile_actions_divider" id="0x7f0a0892" />
<public type="id" name="user_sheet_profile_header_view" id="0x7f0a0893" />
<public type="id" name="user_sheet_profile_voice_settings_header" id="0x7f0a0894" />
<public type="id" name="user_sheet_profile_voice_settings_view" id="0x7f0a0895" />
<public type="id" name="user_sheet_roles_list" id="0x7f0a0896" />
<public type="id" name="user_sheet_video_action_button" id="0x7f0a0897" />
<public type="id" name="user_sheet_volume" id="0x7f0a0898" />
<public type="id" name="user_status_presence_custom_clear" id="0x7f0a0899" />
<public type="id" name="user_status_presence_custom_emoji" id="0x7f0a089a" />
<public type="id" name="user_status_presence_custom_text" id="0x7f0a089b" />
<public type="id" name="user_status_presence_dot" id="0x7f0a089c" />
<public type="id" name="user_status_presence_subtitle" id="0x7f0a089d" />
<public type="id" name="user_status_presence_title" id="0x7f0a089e" />
<public type="id" name="user_status_update_custom" id="0x7f0a089f" />
<public type="id" name="user_status_update_dnd" id="0x7f0a08a0" />
<public type="id" name="user_status_update_idle" id="0x7f0a08a1" />
<public type="id" name="user_status_update_invisible" id="0x7f0a08a2" />
<public type="id" name="user_status_update_online" id="0x7f0a08a3" />
<public type="id" name="username_placeholder_end_guideline" id="0x7f0a08a4" />
<public type="id" name="verify_char_1" id="0x7f0a08a5" />
<public type="id" name="verify_char_2" id="0x7f0a08a6" />
<public type="id" name="verify_char_3" id="0x7f0a08a7" />
<public type="id" name="verify_char_4" id="0x7f0a08a8" />
<public type="id" name="verify_char_5" id="0x7f0a08a9" />
<public type="id" name="verify_char_6" id="0x7f0a08aa" />
<public type="id" name="view_dialog_confirmation_cancel" id="0x7f0a08ab" />
<public type="id" name="view_dialog_confirmation_confirm" id="0x7f0a08ac" />
<public type="id" name="view_dialog_confirmation_header" id="0x7f0a08ad" />
<public type="id" name="view_dialog_confirmation_text" id="0x7f0a08ae" />
<public type="id" name="view_input" id="0x7f0a08af" />
<public type="id" name="view_offset_helper" id="0x7f0a08b0" />
<public type="id" name="view_overlay" id="0x7f0a08b1" />
<public type="id" name="view_pager" id="0x7f0a08b2" />
<public type="id" name="view_premium_guild_feature_image" id="0x7f0a08b3" />
<public type="id" name="view_premium_guild_feature_text" id="0x7f0a08b4" />
<public type="id" name="view_premium_marketing_container_tier1" id="0x7f0a08b5" />
<public type="id" name="view_premium_marketing_learn_more" id="0x7f0a08b6" />
<public type="id" name="view_premium_marketing_marketing_container" id="0x7f0a08b7" />
<public type="id" name="view_premium_marketing_marketing_subtitle" id="0x7f0a08b8" />
<public type="id" name="view_premium_marketing_marketing_title" id="0x7f0a08b9" />
<public type="id" name="view_premium_marketing_nitro_boost_count" id="0x7f0a08ba" />
<public type="id" name="view_premium_marketing_nitro_boost_discount" id="0x7f0a08bb" />
<public type="id" name="view_premium_marketing_nitro_classic_boost_count" id="0x7f0a08bc" />
<public type="id" name="view_premium_marketing_nitro_classic_boost_discount" id="0x7f0a08bd" />
<public type="id" name="view_premium_upsell_info_subheading" id="0x7f0a08be" />
<public type="id" name="view_premium_upsell_info_subheading_blurb" id="0x7f0a08bf" />
<public type="id" name="view_premium_upsell_info_subheading_price" id="0x7f0a08c0" />
<public type="id" name="visible" id="0x7f0a08c1" />
<public type="id" name="voice" id="0x7f0a08c2" />
<public type="id" name="voice_actions_connect" id="0x7f0a08c3" />
<public type="id" name="voice_actions_copy_id" id="0x7f0a08c4" />
<public type="id" name="voice_actions_disconnect" id="0x7f0a08c5" />
<public type="id" name="voice_actions_header" id="0x7f0a08c6" />
<public type="id" name="voice_actions_icon" id="0x7f0a08c7" />
<public type="id" name="voice_actions_settings" id="0x7f0a08c8" />
<public type="id" name="voice_actions_settings_divider" id="0x7f0a08c9" />
<public type="id" name="voice_actions_user_count" id="0x7f0a08ca" />
<public type="id" name="voice_actions_users_recyclerview" id="0x7f0a08cb" />
<public type="id" name="voice_connected_container" id="0x7f0a08cc" />
<public type="id" name="voice_connected_description" id="0x7f0a08cd" />
<public type="id" name="voice_connected_ptt" id="0x7f0a08ce" />
<public type="id" name="voice_connected_quality" id="0x7f0a08cf" />
<public type="id" name="voice_connected_status_container" id="0x7f0a08d0" />
<public type="id" name="voice_connected_text" id="0x7f0a08d1" />
<public type="id" name="voice_divider" id="0x7f0a08d2" />
<public type="id" name="voice_expand" id="0x7f0a08d3" />
<public type="id" name="voice_fullscreen_controls_connect" id="0x7f0a08d4" />
<public type="id" name="voice_fullscreen_controls_controls_wrap" id="0x7f0a08d5" />
<public type="id" name="voice_fullscreen_controls_deafen_state" id="0x7f0a08d6" />
<public type="id" name="voice_fullscreen_controls_disconnect" id="0x7f0a08d7" />
<public type="id" name="voice_fullscreen_controls_mute_state" id="0x7f0a08d8" />
<public type="id" name="voice_fullscreen_controls_num_users_connected" id="0x7f0a08d9" />
<public type="id" name="voice_fullscreen_controls_ptt" id="0x7f0a08da" />
<public type="id" name="voice_fullscreen_controls_speaker" id="0x7f0a08db" />
<public type="id" name="voice_info_connecting" id="0x7f0a08dc" />
<public type="id" name="voice_info_overlay" id="0x7f0a08dd" />
<public type="id" name="voice_info_talking_users" id="0x7f0a08de" />
<public type="id" name="voice_info_wrap" id="0x7f0a08df" />
<public type="id" name="voice_list_item_user" id="0x7f0a08e0" />
<public type="id" name="voice_ongoing_container" id="0x7f0a08e1" />
<public type="id" name="voice_ongoing_user_count_label" id="0x7f0a08e2" />
<public type="id" name="voice_user_avatar" id="0x7f0a08e3" />
<public type="id" name="voice_user_list_item_deafen_indicator" id="0x7f0a08e4" />
<public type="id" name="voice_user_list_item_header_label" id="0x7f0a08e5" />
<public type="id" name="voice_user_list_item_live_indicator" id="0x7f0a08e6" />
<public type="id" name="voice_user_list_item_mute_indicator" id="0x7f0a08e7" />
<public type="id" name="voice_user_list_item_user_avatar" id="0x7f0a08e8" />
<public type="id" name="voice_user_list_item_user_name" id="0x7f0a08e9" />
<public type="id" name="voice_user_list_item_user_stream_preview" id="0x7f0a08ea" />
<public type="id" name="voice_user_name_display" id="0x7f0a08eb" />
<public type="id" name="web_view" id="0x7f0a08ec" />
<public type="id" name="welcome_card_invite_friends" id="0x7f0a08ed" />
<public type="id" name="welcome_card_upload_icon" id="0x7f0a08ee" />
<public type="id" name="wide" id="0x7f0a08ef" />
<public type="id" name="widget_add_friend_user_list_item" id="0x7f0a08f0" />
<public type="id" name="widget_auth_mfa_backup_codes_cancel" id="0x7f0a08f1" />
<public type="id" name="widget_auth_mfa_backup_codes_edittext" id="0x7f0a08f2" />
<public type="id" name="widget_auth_mfa_backup_codes_send" id="0x7f0a08f3" />
<public type="id" name="widget_auth_mfa_info_okay" id="0x7f0a08f4" />
<public type="id" name="widget_auth_mfa_info_text" id="0x7f0a08f5" />
<public type="id" name="widget_channel_search_item" id="0x7f0a08f6" />
<public type="id" name="widget_channel_search_item_remove" id="0x7f0a08f7" />
<public type="id" name="widget_channel_settings_permissions_overview_members_recycler" id="0x7f0a08f8" />
<public type="id" name="widget_channel_settings_permissions_overview_roles_recycler" id="0x7f0a08f9" />
<public type="id" name="widget_channel_topic" id="0x7f0a08fa" />
<public type="id" name="widget_channels" id="0x7f0a08fb" />
<public type="id" name="widget_chat_bottom_space" id="0x7f0a08fc" />
<public type="id" name="widget_chat_input" id="0x7f0a08fd" />
<public type="id" name="widget_chat_list" id="0x7f0a08fe" />
<public type="id" name="widget_chat_overlay_actions" id="0x7f0a08ff" />
<public type="id" name="widget_chat_voice" id="0x7f0a0900" />
<public type="id" name="widget_collapsed_user_count" id="0x7f0a0901" />
<public type="id" name="widget_collapsed_user_imageview" id="0x7f0a0902" />
<public type="id" name="widget_connected_list" id="0x7f0a0903" />
<public type="id" name="widget_friends_list" id="0x7f0a0904" />
<public type="id" name="widget_guilds" id="0x7f0a0905" />
<public type="id" name="widget_profile_strip" id="0x7f0a0906" />
<public type="id" name="widget_search_results" id="0x7f0a0907" />
<public type="id" name="widget_search_suggestions" id="0x7f0a0908" />
<public type="id" name="widget_server_settings_channels_container" id="0x7f0a0909" />
<public type="id" name="widget_server_settings_emojis_recycler" id="0x7f0a090a" />
<public type="id" name="widget_server_settings_emojis_section" id="0x7f0a090b" />
<public type="id" name="widget_server_settings_emojis_upload" id="0x7f0a090c" />
<public type="id" name="widget_server_settings_emojis_upload_description" id="0x7f0a090d" />
<public type="id" name="widget_server_settings_emojis_view_flipper" id="0x7f0a090e" />
<public type="id" name="widget_status" id="0x7f0a090f" />
<public type="id" name="withText" id="0x7f0a0910" />
<public type="id" name="wrap" id="0x7f0a0911" />
<public type="id" name="wrap_content" id="0x7f0a0912" />
<public type="id" name="wrap_reverse" id="0x7f0a0913" />
<public type="id" name="wrapper_controls" id="0x7f0a0914" />
<public type="id" name="wrapper_reset_rotate" id="0x7f0a0915" />
<public type="id" name="wrapper_rotate_by_angle" id="0x7f0a0916" />
<public type="id" name="wrapper_states" id="0x7f0a0917" />
<public type="integer" name="abc_config_activityDefaultDur" id="0x7f0b0000" />
<public type="integer" name="abc_config_activityShortDur" id="0x7f0b0001" />
<public type="integer" name="animation_time_standard" id="0x7f0b0002" />

View file

@ -1025,7 +1025,7 @@ ONE MORE THING {fixed}
<string name="cloud_sync_modal_or">OR</string>
<string name="collapse">Collapse</string>
<string name="collapse_category">Collapse Category</string>
<string name="com.crashlytics.android.build_id">39eaa3d8-5432-4514-93b5-a53c24ca6bb9</string>
<string name="com.crashlytics.android.build_id">234be6b4-2bed-416a-9d37-610ca1d8bd63</string>
<string name="coming_soon">Coming Soon</string>
<string name="command_giphy_description">Search Animated GIFs on the Web</string>
<string name="command_me_description">Displays text with emphasis.</string>

View file

@ -297,7 +297,7 @@
.field public static final up:I = 0x7f0a0831
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
# direct methods

View file

@ -41,7 +41,7 @@
.field public static final top:I = 0x7f0a0819
.field public static final wrap:I = 0x7f0a090f
.field public static final wrap:I = 0x7f0a0911
# direct methods

View file

@ -323,7 +323,7 @@
.field public static final up:I = 0x7f0a0831
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
# direct methods

View file

@ -323,7 +323,7 @@
.field public static final up:I = 0x7f0a0831
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
# direct methods

View file

@ -209,9 +209,9 @@
.field public static final useLogo:I = 0x7f0a083a
.field public static final withText:I = 0x7f0a090e
.field public static final withText:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
# direct methods

View file

@ -36,11 +36,11 @@
.field public static final SAMSUNGxDISCORD_CLIENT_ID:Ljava/lang/String; = "97t47j218f"
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1022"
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1023"
.field public static final VERSION_CODE:I = 0x3fe
.field public static final VERSION_CODE:I = 0x3ff
.field public static final VERSION_NAME:Ljava/lang/String; = "10.2.2"
.field public static final VERSION_NAME:Ljava/lang/String; = "10.2.3"
# direct methods

View file

@ -62,7 +62,7 @@
.method public final invoke()V
.locals 3
sget-object v0, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object v0, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
const-string v1, "Success["

View file

@ -67,7 +67,7 @@
if-eqz p1, :cond_0
sget-object v0, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object v0, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
const-string v1, "Request timeout["

View file

@ -12,14 +12,12 @@
# static fields
.field public static final d:Z
.field public static final e:Lcom/discord/app/DiscordConnectService$a;
.field public static final d:Lcom/discord/app/DiscordConnectService$a;
# direct methods
.method public static constructor <clinit>()V
.locals 3
.locals 2
new-instance v0, Lcom/discord/app/DiscordConnectService$a;
@ -27,33 +25,7 @@
invoke-direct {v0, v1}, Lcom/discord/app/DiscordConnectService$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/4 v1, 0x1
const/16 v2, 0x1c
if-lt v0, v2, :cond_0
sget-object v0, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;
const-string v2, "samsung"
invoke-static {v0, v2, v1}, Lt/a0/n;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
sput-boolean v1, Lcom/discord/app/DiscordConnectService;->d:Z
sput-object v0, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
return-void
.end method
@ -97,46 +69,12 @@
invoke-super {p0}, Landroid/app/Service;->onCreate()V
sget-boolean v0, Lcom/discord/app/DiscordConnectService;->d:Z
if-eqz v0, :cond_0
sget-object v0, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object v0, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
const-string v1, "onCreate"
invoke-virtual {v0, v1}, Lcom/discord/app/DiscordConnectService$a;->a(Ljava/lang/String;)V
goto :goto_0
:cond_0
sget-object v0, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
const-string v1, "onCreate: device "
invoke-static {v1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
sget-object v2, Landroid/os/Build;->DEVICE:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v2, 0x40
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/discord/app/DiscordConnectService$a;->a(Ljava/lang/String;)V
:goto_0
sget-object v0, Le/a/b/i;->c:Le/a/b/i;
invoke-virtual {v0, p0}, Le/a/b/i;->a(Ljava/lang/Object;)V
@ -233,7 +171,7 @@
.method public onDestroy()V
.locals 2
sget-object v0, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object v0, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
const-string v1, "onDestroy"
@ -255,7 +193,7 @@
move/from16 v1, p3
sget-object v2, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object v2, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
new-instance v3, Ljava/lang/StringBuilder;
@ -287,55 +225,51 @@
move-object v3, v2
:goto_0
sget-boolean v4, Lcom/discord/app/DiscordConnectService;->d:Z
const/4 v5, 0x1
if-eqz v4, :cond_b
const/4 v4, 0x1
if-eqz v3, :cond_b
sget-object v4, Lcom/discord/utilities/intent/IntentUtils;->INSTANCE:Lcom/discord/utilities/intent/IntentUtils;
sget-object v5, Lcom/discord/utilities/intent/IntentUtils;->INSTANCE:Lcom/discord/utilities/intent/IntentUtils;
invoke-virtual {v4, v3}, Lcom/discord/utilities/intent/IntentUtils;->isDiscordAppUri(Landroid/net/Uri;)Z
invoke-virtual {v5, v3}, Lcom/discord/utilities/intent/IntentUtils;->isDiscordAppUri(Landroid/net/Uri;)Z
move-result v4
move-result v5
if-eqz v4, :cond_b
if-eqz v5, :cond_b
sget-object v4, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
sget-object v5, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v4}, Lcom/discord/stores/StoreStream$Companion;->getAuthentication()Lcom/discord/stores/StoreAuthentication;
invoke-virtual {v5}, Lcom/discord/stores/StoreStream$Companion;->getAuthentication()Lcom/discord/stores/StoreAuthentication;
move-result-object v4
move-result-object v5
invoke-virtual {v4}, Lcom/discord/stores/StoreAuthentication;->getAuthToken$app_productionDiscordExternalRelease()Ljava/lang/String;
invoke-virtual {v5}, Lcom/discord/stores/StoreAuthentication;->getAuthToken$app_productionDiscordExternalRelease()Ljava/lang/String;
move-result-object v4
move-result-object v5
const/4 v6, 0x0
if-eqz v4, :cond_2
if-eqz v5, :cond_2
invoke-static {v4}, Lt/a0/n;->isBlank(Ljava/lang/CharSequence;)Z
invoke-static {v5}, Lt/a0/n;->isBlank(Ljava/lang/CharSequence;)Z
move-result v4
move-result v5
if-eqz v4, :cond_1
if-eqz v5, :cond_1
goto :goto_1
:cond_1
const/4 v4, 0x0
const/4 v5, 0x0
goto :goto_2
:cond_2
:goto_1
const/4 v4, 0x1
const/4 v5, 0x1
:goto_2
if-eqz v4, :cond_3
if-eqz v5, :cond_3
const v3, 0x7f120d89
@ -363,11 +297,11 @@
goto/16 :goto_6
:cond_3
sget-object v4, Le/a/b/g0/a;->u:Le/a/b/g0/a;
sget-object v5, Le/a/b/g0/a;->u:Le/a/b/g0/a;
invoke-virtual {v4}, Le/a/b/g0/a;->l()Lkotlin/text/Regex;
invoke-virtual {v5}, Le/a/b/g0/a;->l()Lkotlin/text/Regex;
move-result-object v4
move-result-object v5
invoke-virtual {v3}, Landroid/net/Uri;->getPath()Ljava/lang/String;
@ -381,19 +315,19 @@
const-string v6, ""
:goto_4
invoke-virtual {v4, v6}, Lkotlin/text/Regex;->matchEntire(Ljava/lang/CharSequence;)Lkotlin/text/MatchResult;
invoke-virtual {v5, v6}, Lkotlin/text/Regex;->matchEntire(Ljava/lang/CharSequence;)Lkotlin/text/MatchResult;
move-result-object v4
move-result-object v5
if-eqz v4, :cond_5
if-eqz v5, :cond_5
invoke-interface {v4}, Lkotlin/text/MatchResult;->getGroupValues()Ljava/util/List;
invoke-interface {v5}, Lkotlin/text/MatchResult;->getGroupValues()Ljava/util/List;
move-result-object v6
if-eqz v6, :cond_5
invoke-static {v6, v5}, Lt/q/l;->getOrNull(Ljava/util/List;I)Ljava/lang/Object;
invoke-static {v6, v4}, Lt/q/l;->getOrNull(Ljava/util/List;I)Ljava/lang/Object;
move-result-object v6
@ -406,7 +340,7 @@
move-result-object v2
:cond_5
if-eqz v4, :cond_7
if-eqz v5, :cond_7
sget-object v6, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
@ -449,19 +383,19 @@
:cond_7
if-eqz v2, :cond_9
const-string v4, "android.permission.RECORD_AUDIO"
const-string v5, "android.permission.RECORD_AUDIO"
invoke-static {v0, v4}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
invoke-static {v0, v5}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
move-result v4
move-result v5
if-eqz v4, :cond_8
if-eqz v5, :cond_8
invoke-virtual {v3}, Landroid/net/Uri;->buildUpon()Landroid/net/Uri$Builder;
move-result-object v2
invoke-static {v5}, Ljava/lang/String;->valueOf(Z)Ljava/lang/String;
invoke-static {v4}, Ljava/lang/String;->valueOf(Z)Ljava/lang/String;
move-result-object v3
@ -514,7 +448,7 @@
move-result-wide v2
sget-object v4, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object v4, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
const-string v5, "Try joining voice channel"
@ -573,7 +507,7 @@
goto/16 :goto_3
:cond_9
if-eqz v4, :cond_a
if-eqz v5, :cond_a
sget-object v2, Lcom/discord/utilities/voice/DiscordOverlayService;->Companion:Lcom/discord/utilities/voice/DiscordOverlayService$Companion;
@ -660,25 +594,25 @@
goto :goto_7
:cond_b
sget-object v2, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object v2, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
new-instance v4, Ljava/lang/StringBuilder;
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
const-string v6, "Invalid request "
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Lcom/discord/app/DiscordConnectService$a;->a(Ljava/lang/String;)V
invoke-virtual {v0, v5}, Landroid/app/Service;->stopForeground(Z)V
invoke-virtual {v0, v4}, Landroid/app/Service;->stopForeground(Z)V
invoke-virtual {v0, v1}, Landroid/app/Service;->stopSelf(I)V

View file

@ -565,17 +565,17 @@
.field public static final up:I = 0x7f0a0831
.field public static final view_offset_helper:I = 0x7f0a08ae
.field public static final view_offset_helper:I = 0x7f0a08b0
.field public static final visible:I = 0x7f0a08bf
.field public static final visible:I = 0x7f0a08c1
.field public static final wide:I = 0x7f0a08ed
.field public static final wide:I = 0x7f0a08ef
.field public static final wrap:I = 0x7f0a090f
.field public static final wrap:I = 0x7f0a0911
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
.field public static final wrap_reverse:I = 0x7f0a0911
.field public static final wrap_reverse:I = 0x7f0a0913
# direct methods

View file

@ -303,7 +303,7 @@
.field public static final up:I = 0x7f0a0831
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
# direct methods

View file

@ -565,17 +565,17 @@
.field public static final up:I = 0x7f0a0831
.field public static final view_offset_helper:I = 0x7f0a08ae
.field public static final view_offset_helper:I = 0x7f0a08b0
.field public static final visible:I = 0x7f0a08bf
.field public static final visible:I = 0x7f0a08c1
.field public static final wide:I = 0x7f0a08ed
.field public static final wide:I = 0x7f0a08ef
.field public static final wrap:I = 0x7f0a090f
.field public static final wrap:I = 0x7f0a0911
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
.field public static final wrap_reverse:I = 0x7f0a0911
.field public static final wrap_reverse:I = 0x7f0a0913
# direct methods

View file

@ -26,6 +26,8 @@
.field public initialAudioManagerSettings:Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager$AudioManagerSettings;
.field public isBluetoothScoStarted:Z
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
@ -33,7 +35,7 @@
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p1, :cond_2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -54,9 +56,25 @@
iput-object p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->audioManager:Landroid/media/AudioManager;
return-void
iget-object p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->audioManager:Landroid/media/AudioManager;
if-eqz p1, :cond_1
invoke-virtual {p1}, Landroid/media/AudioManager;->isBluetoothScoOn()Z
move-result p1
goto :goto_0
:cond_1
const/4 p1, 0x0
:goto_0
iput-boolean p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->isBluetoothScoStarted:Z
return-void
:cond_2
const-string p1, "context"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
@ -86,6 +104,34 @@
return-object v0
.end method
.method private final startBluetoothSCO(Landroid/media/AudioManager;)V
.locals 1
invoke-virtual {p1}, Landroid/media/AudioManager;->startBluetoothSco()V
const/4 v0, 0x1
invoke-virtual {p1, v0}, Landroid/media/AudioManager;->setBluetoothScoOn(Z)V
iput-boolean v0, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->isBluetoothScoStarted:Z
return-void
.end method
.method private final stopBluetoothSCO(Landroid/media/AudioManager;)V
.locals 1
invoke-virtual {p1}, Landroid/media/AudioManager;->stopBluetoothSco()V
const/4 v0, 0x0
invoke-virtual {p1, v0}, Landroid/media/AudioManager;->setBluetoothScoOn(Z)V
iput-boolean v0, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->isBluetoothScoStarted:Z
return-void
.end method
.method private final trySetMode(Landroid/media/AudioManager;I)V
.locals 0
@ -107,24 +153,20 @@
if-eqz v0, :cond_0
invoke-virtual {p1}, Landroid/media/AudioManager;->isBluetoothScoOn()Z
move-result v0
iget-boolean v0, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->isBluetoothScoStarted:Z
if-nez v0, :cond_1
invoke-virtual {p1}, Landroid/media/AudioManager;->startBluetoothSco()V
invoke-direct {p0, p1}, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->startBluetoothSCO(Landroid/media/AudioManager;)V
goto :goto_0
:cond_0
invoke-virtual {p1}, Landroid/media/AudioManager;->isBluetoothScoOn()Z
move-result v0
iget-boolean v0, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->isBluetoothScoStarted:Z
if-eqz v0, :cond_1
invoke-virtual {p1}, Landroid/media/AudioManager;->stopBluetoothSco()V
invoke-direct {p0, p1}, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->stopBluetoothSCO(Landroid/media/AudioManager;)V
:cond_1
:goto_0
@ -136,15 +178,9 @@
invoke-virtual {p2}, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager$AudioManagerSettings;->getSettingMode()I
move-result v0
invoke-direct {p0, p1, v0}, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->trySetMode(Landroid/media/AudioManager;I)V
invoke-virtual {p2}, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager$AudioManagerSettings;->getSettingBluetoothScoOn()Z
move-result p2
invoke-virtual {p1, p2}, Landroid/media/AudioManager;->setBluetoothScoOn(Z)V
invoke-direct {p0, p1, p2}, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->trySetMode(Landroid/media/AudioManager;I)V
return-void
.end method
@ -313,54 +349,33 @@
if-eqz p1, :cond_9
const/4 p1, 0x1
const/4 v1, 0x1
:cond_9
if-eqz v1, :cond_a
iget-boolean p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->isBluetoothScoStarted:Z
if-nez p1, :cond_a
iget-object p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->audioManager:Landroid/media/AudioManager;
invoke-direct {p0, p1}, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->startBluetoothSCO(Landroid/media/AudioManager;)V
goto :goto_8
:cond_9
const/4 p1, 0x0
:goto_8
if-eqz p1, :cond_a
iget-object v0, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->audioManager:Landroid/media/AudioManager;
invoke-virtual {v0}, Landroid/media/AudioManager;->isBluetoothScoOn()Z
move-result v0
if-nez v0, :cond_a
iget-object p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->audioManager:Landroid/media/AudioManager;
invoke-virtual {p1, v5}, Landroid/media/AudioManager;->setBluetoothScoOn(Z)V
iget-object p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->audioManager:Landroid/media/AudioManager;
invoke-virtual {p1}, Landroid/media/AudioManager;->startBluetoothSco()V
goto :goto_9
:cond_a
if-nez p1, :cond_d
if-nez v1, :cond_d
iget-object p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->audioManager:Landroid/media/AudioManager;
invoke-virtual {p1}, Landroid/media/AudioManager;->isBluetoothScoOn()Z
move-result p1
iget-boolean p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->isBluetoothScoStarted:Z
if-eqz p1, :cond_d
iget-object p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->audioManager:Landroid/media/AudioManager;
invoke-virtual {p1, v1}, Landroid/media/AudioManager;->setBluetoothScoOn(Z)V
invoke-direct {p0, p1}, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->stopBluetoothSCO(Landroid/media/AudioManager;)V
iget-object p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->audioManager:Landroid/media/AudioManager;
invoke-virtual {p1}, Landroid/media/AudioManager;->stopBluetoothSco()V
goto :goto_9
goto :goto_8
:cond_b
iget-object p1, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->initialAudioManagerSettings:Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager$AudioManagerSettings;
@ -375,7 +390,7 @@
iput-object v0, p0, Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager;->initialAudioManagerSettings:Lcom/discord/stores/StoreAudioManager$MediaEngineAudioManager$AudioManagerSettings;
:cond_d
:goto_9
:goto_8
return-void
:cond_e

View file

@ -28,7 +28,7 @@
invoke-direct {p0}, Lcom/discord/stores/Store;-><init>()V
const/16 v0, 0x3fe
const/16 v0, 0x3ff
iput v0, p0, Lcom/discord/stores/StoreClientVersion;->clientVersion:I

View file

@ -177,7 +177,7 @@
const-string v3, "browser_user_agent"
const-string v4, "Discord-Android/1022"
const-string v4, "Discord-Android/1023"
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
@ -185,7 +185,7 @@
const/4 v1, 0x2
const/16 v2, 0x3fe
const/16 v2, 0x3ff
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
@ -201,7 +201,7 @@
const/4 v1, 0x3
const-string v2, "10.2.2"
const-string v2, "10.2.3"
const-string v3, ""

View file

@ -373,7 +373,7 @@
if-eqz p3, :cond_0
sget-object p2, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object p2, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
invoke-virtual {p2, p1, v7, v8}, Lcom/discord/app/DiscordConnectService$a;->a(Landroid/content/Context;J)V

View file

@ -144,7 +144,7 @@
return-object p0
.end method
.method public static final selectProfile(J)Landroid/content/Intent;
.method public static final selectUserProfile(J)Landroid/content/Intent;
.locals 3
new-instance v0, Landroid/content/Intent;
@ -153,7 +153,7 @@
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "discord://app/profile/"
const-string v2, "discord://app/users/"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

View file

@ -45,7 +45,7 @@
.method public final getName()Ljava/lang/String;
.locals 1
const-string v0, "selectProfile"
const-string v0, "selectUserProfile"
return-object v0
.end method
@ -65,7 +65,7 @@
.method public final getSignature()Ljava/lang/String;
.locals 1
const-string v0, "selectProfile(Landroid/net/Uri;Lkotlin/text/MatchResult;Landroid/content/Context;)Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;"
const-string v0, "selectUserProfile(Landroid/net/Uri;Lkotlin/text/MatchResult;Landroid/content/Context;)Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;"
return-object v0
.end method
@ -83,7 +83,7 @@
check-cast v0, Lcom/discord/utilities/intent/RouteHandlers;
invoke-virtual {v0, p1, p2, p3}, Lcom/discord/utilities/intent/RouteHandlers;->selectProfile(Landroid/net/Uri;Lkotlin/text/MatchResult;Landroid/content/Context;)Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;
invoke-virtual {v0, p1, p2, p3}, Lcom/discord/utilities/intent/RouteHandlers;->selectUserProfile(Landroid/net/Uri;Lkotlin/text/MatchResult;Landroid/content/Context;)Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;
move-result-object p1

View file

@ -704,80 +704,6 @@
throw v0
.end method
.method public final selectProfile(Landroid/net/Uri;Lkotlin/text/MatchResult;Landroid/content/Context;)Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;
.locals 6
const/4 v0, 0x0
if-eqz p1, :cond_3
if-eqz p3, :cond_2
if-eqz p2, :cond_0
invoke-interface {p2}, Lkotlin/text/MatchResult;->getGroupValues()Ljava/util/List;
move-result-object p1
if-eqz p1, :cond_0
invoke-static {p1}, Lt/q/l;->last(Ljava/util/List;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/String;
if-eqz p1, :cond_0
invoke-static {p1}, Lt/a0/m;->toLongOrNull(Ljava/lang/String;)Ljava/lang/Long;
move-result-object v0
:cond_0
if-eqz v0, :cond_1
sget-object p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->Companion:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
move-result-wide p2
invoke-virtual {p1, p2, p3}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;->enqueueNotice(J)V
:cond_1
new-instance p1, Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x6
const/4 v5, 0x0
const-string v1, "profile"
move-object v0, p1
invoke-direct/range {v0 .. v5}, Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;-><init>(Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-object p1
:cond_2
const-string p1, "context"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_3
const-string p1, "uri"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public final selectSettings(Landroid/net/Uri;Lkotlin/text/MatchResult;Landroid/content/Context;)Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;
.locals 8
@ -863,6 +789,80 @@
throw v0
.end method
.method public final selectUserProfile(Landroid/net/Uri;Lkotlin/text/MatchResult;Landroid/content/Context;)Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;
.locals 6
const/4 v0, 0x0
if-eqz p1, :cond_3
if-eqz p3, :cond_2
if-eqz p2, :cond_0
invoke-interface {p2}, Lkotlin/text/MatchResult;->getGroupValues()Ljava/util/List;
move-result-object p1
if-eqz p1, :cond_0
invoke-static {p1}, Lt/q/l;->last(Ljava/util/List;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/String;
if-eqz p1, :cond_0
invoke-static {p1}, Lt/a0/m;->toLongOrNull(Ljava/lang/String;)Ljava/lang/Long;
move-result-object v0
:cond_0
if-eqz v0, :cond_1
sget-object p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->Companion:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
move-result-wide p2
invoke-virtual {p1, p2, p3}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;->enqueueNotice(J)V
:cond_1
new-instance p1, Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x6
const/4 v5, 0x0
const-string v1, "profile"
move-object v0, p1
invoke-direct/range {v0 .. v5}, Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;-><init>(Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-object p1
:cond_2
const-string p1, "context"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_3
const-string p1, "uri"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public final useInvite(Landroid/net/Uri;Lkotlin/text/MatchResult;Landroid/content/Context;)Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;
.locals 6

View file

@ -510,7 +510,7 @@
.end method
.method private final declared-synchronized handleScoUpdate(Landroid/content/Intent;)V
.locals 9
.locals 7
monitor-enter p0
@ -523,55 +523,31 @@
move-result p1
iget-object v2, p0, Lcom/discord/utilities/media/AudioOutputMonitor;->outputState:Lcom/discord/utilities/media/AudioOutputState;
iget-object v0, p0, Lcom/discord/utilities/media/AudioOutputMonitor;->outputState:Lcom/discord/utilities/media/AudioOutputState;
const/4 v3, 0x0
const/4 v1, 0x0
const/4 v4, 0x0
const/4 v2, 0x0
const/4 v0, 0x1
const/4 v3, 0x1
if-eq p1, v0, :cond_0
const/4 v5, 0x1
if-eq p1, v3, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
const/4 v5, 0x0
:goto_0
const/4 v6, 0x0
const/16 v7, 0xb
const/4 v8, 0x0
invoke-static/range {v2 .. v8}, Lcom/discord/utilities/media/AudioOutputState;->copy$default(Lcom/discord/utilities/media/AudioOutputState;ZZZZILjava/lang/Object;)Lcom/discord/utilities/media/AudioOutputState;
move-result-object v0
invoke-direct {p0, v0}, Lcom/discord/utilities/media/AudioOutputMonitor;->setOutputState(Lcom/discord/utilities/media/AudioOutputState;)V
if-ne p1, v1, :cond_1
iget-object v2, p0, Lcom/discord/utilities/media/AudioOutputMonitor;->outputState:Lcom/discord/utilities/media/AudioOutputState;
const/4 p1, 0x0
const/4 v3, 0x0
:goto_0
const/4 v4, 0x0
const/4 v5, 0x1
const/16 v5, 0xb
const/4 v6, 0x0
const/16 v7, 0xb
const/4 v8, 0x0
invoke-static/range {v2 .. v8}, Lcom/discord/utilities/media/AudioOutputState;->copy$default(Lcom/discord/utilities/media/AudioOutputState;ZZZZILjava/lang/Object;)Lcom/discord/utilities/media/AudioOutputState;
invoke-static/range {v0 .. v6}, Lcom/discord/utilities/media/AudioOutputState;->copy$default(Lcom/discord/utilities/media/AudioOutputState;ZZZZILjava/lang/Object;)Lcom/discord/utilities/media/AudioOutputState;
move-result-object p1
@ -579,7 +555,6 @@
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_1
monitor-exit p0
return-void

View file

@ -159,7 +159,7 @@
.method public getUserAgent()Ljava/lang/String;
.locals 1
const-string v0, "Discord-Android/1022"
const-string v0, "Discord-Android/1023"
return-object v0
.end method

View file

@ -170,7 +170,7 @@
invoke-static {v1, v2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const v2, 0x7f0a08ab
const v2, 0x7f0a08ad
invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -178,7 +178,7 @@
check-cast v2, Landroid/widget/TextView;
const v3, 0x7f0a08ac
const v3, 0x7f0a08ae
invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -186,7 +186,7 @@
check-cast v3, Landroid/widget/TextView;
const v4, 0x7f0a08a9
const v4, 0x7f0a08ab
invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -194,7 +194,7 @@
check-cast v4, Landroid/widget/TextView;
const v5, 0x7f0a08aa
const v5, 0x7f0a08ac
invoke-virtual {v0, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -565,17 +565,17 @@
.field public static final up:I = 0x7f0a0831
.field public static final view_offset_helper:I = 0x7f0a08ae
.field public static final view_offset_helper:I = 0x7f0a08b0
.field public static final visible:I = 0x7f0a08bf
.field public static final visible:I = 0x7f0a08c1
.field public static final wide:I = 0x7f0a08ed
.field public static final wide:I = 0x7f0a08ef
.field public static final wrap:I = 0x7f0a090f
.field public static final wrap:I = 0x7f0a0911
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
.field public static final wrap_reverse:I = 0x7f0a0911
.field public static final wrap_reverse:I = 0x7f0a0913
# direct methods

View file

@ -199,7 +199,7 @@
new-array v1, v1, [Landroid/widget/TextView;
const v2, 0x7f0a08a3
const v2, 0x7f0a08a5
invoke-virtual {p0, v2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
@ -213,7 +213,7 @@
aput-object v2, v1, p3
const v2, 0x7f0a08a4
const v2, 0x7f0a08a6
invoke-virtual {p0, v2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
@ -227,7 +227,7 @@
aput-object v2, v1, p2
const p2, 0x7f0a08a5
const p2, 0x7f0a08a7
invoke-virtual {p0, p2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
@ -245,7 +245,7 @@
const/4 p2, 0x3
const v3, 0x7f0a08a6
const v3, 0x7f0a08a8
invoke-virtual {p0, v3}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
@ -261,7 +261,7 @@
const/4 p2, 0x4
const v3, 0x7f0a08a7
const v3, 0x7f0a08a9
invoke-virtual {p0, v3}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;
@ -277,7 +277,7 @@
const/4 p2, 0x5
const v3, 0x7f0a08a8
const v3, 0x7f0a08aa
invoke-virtual {p0, v3}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

View file

@ -131,7 +131,7 @@
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
const p3, 0x7f0a08e1
const p3, 0x7f0a08e3
invoke-static {p0, p3}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -139,7 +139,7 @@
iput-object p3, p0, Lcom/discord/views/VoiceUserView;->d:Lkotlin/properties/ReadOnlyProperty;
const p3, 0x7f0a08e9
const p3, 0x7f0a08eb
invoke-static {p0, p3}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -89,7 +89,7 @@
invoke-static {p1, p2, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
const p1, 0x7f0a08bc
const p1, 0x7f0a08be
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -103,7 +103,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumGuildSubscriptionUpsellView;->d:Lcom/discord/app/AppTextView;
const p1, 0x7f0a08be
const p1, 0x7f0a08c0
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -117,7 +117,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumGuildSubscriptionUpsellView;->e:Landroid/widget/TextView;
const p1, 0x7f0a08bd
const p1, 0x7f0a08bf
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

View file

@ -101,7 +101,7 @@
invoke-static {p1, p2, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
const p1, 0x7f0a08b9
const p1, 0x7f0a08bb
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -115,7 +115,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumSubscriptionMarketingView;->d:Landroid/widget/TextView;
const p1, 0x7f0a08b8
const p1, 0x7f0a08ba
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -129,7 +129,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumSubscriptionMarketingView;->e:Landroid/widget/TextView;
const p1, 0x7f0a08bb
const p1, 0x7f0a08bd
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -143,7 +143,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumSubscriptionMarketingView;->f:Landroid/widget/TextView;
const p1, 0x7f0a08ba
const p1, 0x7f0a08bc
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -157,7 +157,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumSubscriptionMarketingView;->g:Landroid/widget/TextView;
const p1, 0x7f0a08b4
const p1, 0x7f0a08b6
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -169,7 +169,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumSubscriptionMarketingView;->h:Landroid/view/View;
const p1, 0x7f0a08b5
const p1, 0x7f0a08b7
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -181,7 +181,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumSubscriptionMarketingView;->i:Landroid/view/View;
const p1, 0x7f0a08b3
const p1, 0x7f0a08b5
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -193,7 +193,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumSubscriptionMarketingView;->j:Landroid/view/View;
const p1, 0x7f0a08b7
const p1, 0x7f0a08b9
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
@ -207,7 +207,7 @@
iput-object p1, p0, Lcom/discord/views/premiumguild/PremiumSubscriptionMarketingView;->k:Landroid/widget/TextView;
const p1, 0x7f0a08b6
const p1, 0x7f0a08b8
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

View file

@ -350,7 +350,7 @@
move-result-object v1
const v2, 0x7f0a08f0
const v2, 0x7f0a08f2
invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -358,13 +358,13 @@
check-cast v2, Landroid/widget/EditText;
const v3, 0x7f0a08f1
const v3, 0x7f0a08f3
invoke-virtual {v1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v3
const v4, 0x7f0a08ef
const v4, 0x7f0a08f1
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -421,7 +421,7 @@
move-result-object v1
const v2, 0x7f0a08f3
const v2, 0x7f0a08f5
invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -431,7 +431,7 @@
check-cast v7, Landroid/widget/TextView;
const v2, 0x7f0a08f2
const v2, 0x7f0a08f4
invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -431,7 +431,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelSettingsPermissionsOverview;->membersContainer:Landroid/view/View;
const v0, 0x7f0a08f7
const v0, 0x7f0a08f9
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -441,7 +441,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelSettingsPermissionsOverview;->rolesRecycler:Landroidx/recyclerview/widget/RecyclerView;
const v0, 0x7f0a08f6
const v0, 0x7f0a08f8
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -266,7 +266,7 @@
invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;-><init>()V
const v0, 0x7f0a08c5
const v0, 0x7f0a08c7
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -274,7 +274,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemVoiceActions;->icon$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08c1
const v0, 0x7f0a08c3
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -282,7 +282,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemVoiceActions;->connect$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08c3
const v0, 0x7f0a08c5
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -290,7 +290,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemVoiceActions;->disconnect$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08c6
const v0, 0x7f0a08c8
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -298,7 +298,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemVoiceActions;->settings$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08c7
const v0, 0x7f0a08c9
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -306,7 +306,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemVoiceActions;->settingsDivider$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08c4
const v0, 0x7f0a08c6
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -314,7 +314,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemVoiceActions;->header$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08c8
const v0, 0x7f0a08ca
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -322,7 +322,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemVoiceActions;->usercount$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08c9
const v0, 0x7f0a08cb
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -330,7 +330,7 @@
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemVoiceActions;->recyclerview$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08c2
const v0, 0x7f0a08c4
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -99,7 +99,7 @@
invoke-direct {p0, p1, p2}, Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;-><init>(ILcom/discord/utilities/mg_recycler/MGRecyclerAdapter;)V
const p1, 0x7f0a0900
const p1, 0x7f0a0902
invoke-static {p0, p1}, Lu/a/a2/w;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
@ -107,7 +107,7 @@
iput-object p1, p0, Lcom/discord/widgets/channels/list/WidgetCollapsedUsersListAdapter$WidgetCollapsedUserListItem;->icon$delegate:Lkotlin/properties/ReadOnlyProperty;
const p1, 0x7f0a08ff
const p1, 0x7f0a0901
invoke-static {p0, p1}, Lu/a/a2/w;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -230,7 +230,7 @@
invoke-direct {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V
const v0, 0x7f0a08a2
const v0, 0x7f0a08a4
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -137,7 +137,7 @@
iput-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemGuildWelcome;->subheader$delegate:Lkotlin/properties/ReadOnlyProperty;
const p1, 0x7f0a08ec
const p1, 0x7f0a08ee
invoke-static {p0, p1}, Lu/a/a2/w;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
@ -145,7 +145,7 @@
iput-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemGuildWelcome;->addIconOption$delegate:Lkotlin/properties/ReadOnlyProperty;
const p1, 0x7f0a08eb
const p1, 0x7f0a08ed
invoke-static {p0, p1}, Lu/a/a2/w;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -492,7 +492,7 @@
new-array v1, v2, [Ljava/lang/Object;
const-string v3, "10.2.2"
const-string v3, "10.2.3"
aput-object v3, v1, v4

View file

@ -459,7 +459,7 @@
iput-object v0, p0, Lcom/discord/widgets/main/WidgetMain;->centerPanel$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0904
const v0, 0x7f0a0906
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -467,7 +467,7 @@
iput-object v0, p0, Lcom/discord/widgets/main/WidgetMain;->profileStrip$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0903
const v0, 0x7f0a0905
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -475,7 +475,7 @@
iput-object v0, p0, Lcom/discord/widgets/main/WidgetMain;->guildList$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08f9
const v0, 0x7f0a08fb
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -483,7 +483,7 @@
iput-object v0, p0, Lcom/discord/widgets/main/WidgetMain;->channelList$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0901
const v0, 0x7f0a0903
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -491,7 +491,7 @@
iput-object v0, p0, Lcom/discord/widgets/main/WidgetMain;->connectedList$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08fa
const v0, 0x7f0a08fc
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -499,7 +499,7 @@
iput-object v0, p0, Lcom/discord/widgets/main/WidgetMain;->chatBottomSpace$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0902
const v0, 0x7f0a0904
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -158,7 +158,7 @@
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f0a08fc
const v1, 0x7f0a08fe
invoke-virtual {v0, v1}, Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment;

View file

@ -147,7 +147,7 @@
invoke-direct {p0}, Lcom/discord/app/AppDialog;-><init>()V
const v0, 0x7f0a08ab
const v0, 0x7f0a08ad
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -155,7 +155,7 @@
iput-object v0, p0, Lcom/discord/widgets/main/WidgetMainSurveyDialog;->dialogHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08ac
const v0, 0x7f0a08ae
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -163,7 +163,7 @@
iput-object v0, p0, Lcom/discord/widgets/main/WidgetMainSurveyDialog;->dialogText$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08aa
const v0, 0x7f0a08ac
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -171,7 +171,7 @@
iput-object v0, p0, Lcom/discord/widgets/main/WidgetMainSurveyDialog;->buttonConfirm$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08a9
const v0, 0x7f0a08ab
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -73,7 +73,7 @@
invoke-static {v1, v2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const v2, 0x7f0a08ad
const v2, 0x7f0a08af
invoke-virtual {p1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -63,7 +63,7 @@
if-eqz p1, :cond_0
const v0, 0x7f0a08ad
const v0, 0x7f0a08af
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -557,7 +557,7 @@
iput-object v0, p0, Lcom/discord/widgets/search/WidgetSearch;->searchClear:Landroid/widget/ImageView;
const v0, 0x7f0a0906
const v0, 0x7f0a0908
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -565,7 +565,7 @@
iput-object v0, p0, Lcom/discord/widgets/search/WidgetSearch;->searchSuggestions:Landroid/view/View;
const v0, 0x7f0a0905
const v0, 0x7f0a0907
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -97,7 +97,7 @@
const-string p1, "fab menu"
const p2, 0x7f0a0907
const p2, 0x7f0a0909
invoke-virtual {p0, p2, v0, p1}, Landroidx/fragment/app/FragmentTransaction;->add(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;

View file

@ -97,7 +97,7 @@
invoke-direct {p0, v0, p1}, Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;-><init>(ILcom/discord/utilities/mg_recycler/MGRecyclerAdapter;)V
const p1, 0x7f0a090b
const p1, 0x7f0a090d
invoke-static {p0, p1}, Lu/a/a2/w;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
@ -105,7 +105,7 @@
iput-object p1, p0, Lcom/discord/widgets/servers/WidgetServerSettingsEmojis$Adapter$EmojiHeaderViewHolder;->uploadDescription$delegate:Lkotlin/properties/ReadOnlyProperty;
const p1, 0x7f0a090a
const p1, 0x7f0a090c
invoke-static {p0, p1}, Lu/a/a2/w;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -75,7 +75,7 @@
invoke-direct {p0, v0, p1}, Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;-><init>(ILcom/discord/utilities/mg_recycler/MGRecyclerAdapter;)V
const p1, 0x7f0a0909
const p1, 0x7f0a090b
invoke-static {p0, p1}, Lu/a/a2/w;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -116,7 +116,7 @@
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
const v0, 0x7f0a090c
const v0, 0x7f0a090e
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -124,7 +124,7 @@
iput-object v0, p0, Lcom/discord/widgets/servers/WidgetServerSettingsEmojis;->viewFlipper$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0908
const v0, 0x7f0a090a
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -1663,7 +1663,7 @@
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, " - 10.2.2 (1022)"
const-string v0, " - 10.2.3 (1023)"
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

View file

@ -1172,7 +1172,7 @@
invoke-static {p1, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f0a08ab
const v1, 0x7f0a08ad
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -1182,7 +1182,7 @@
invoke-static {v3, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f0a08ac
const v1, 0x7f0a08ae
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -1192,7 +1192,7 @@
invoke-static {v4, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f0a08a9
const v1, 0x7f0a08ab
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -1202,7 +1202,7 @@
invoke-static {v5, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f0a08aa
const v1, 0x7f0a08ac
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -71,7 +71,7 @@
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
const v0, 0x7f0a08ea
const v0, 0x7f0a08ec
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -402,7 +402,7 @@
iput-object v0, p0, Lcom/discord/widgets/share/WidgetIncomingShare;->searchResultsRv$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08f4
const v0, 0x7f0a08f6
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -410,7 +410,7 @@
iput-object v0, p0, Lcom/discord/widgets/share/WidgetIncomingShare;->selectedReceiver$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08f5
const v0, 0x7f0a08f7
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -167,7 +167,7 @@
invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;-><init>()V
const v0, 0x7f0a08a1
const v0, 0x7f0a08a3
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -175,7 +175,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/WidgetUserStatusSheet;->online$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a089f
const v0, 0x7f0a08a1
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -183,7 +183,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/WidgetUserStatusSheet;->idle$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a089e
const v0, 0x7f0a08a0
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -191,7 +191,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/WidgetUserStatusSheet;->dnd$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08a0
const v0, 0x7f0a08a2
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -199,7 +199,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/WidgetUserStatusSheet;->invisible$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a089d
const v0, 0x7f0a089f
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -420,7 +420,7 @@
.end annotation
.end param
const v0, 0x7f0a089a
const v0, 0x7f0a089c
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
@ -430,7 +430,7 @@
invoke-virtual {v0, p2}, Landroid/widget/ImageView;->setImageResource(I)V
const p2, 0x7f0a089c
const p2, 0x7f0a089e
invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
@ -440,7 +440,7 @@
invoke-virtual {p2, p3}, Landroid/widget/TextView;->setText(I)V
const p2, 0x7f0a089b
const p2, 0x7f0a089d
if-eqz p4, :cond_0

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/profile/UserProfileHeaderView;->getCustomStatusDraweeSpanStringBuilder(Lcom/discord/models/domain/activity/ModelActivity;)Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
value = Lcom/discord/widgets/user/profile/UserProfileHeaderView;->getCustomStatusDraweeSpanStringBuilder(Lcom/discord/models/domain/activity/ModelActivity;Z)Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
@ -18,6 +18,8 @@
# instance fields
.field public final synthetic $shouldAnimate:Z
.field public final context:Landroid/content/Context;
.field public final isAnimationEnabled:Z
@ -26,16 +28,18 @@
# direct methods
.method public constructor <init>(Lcom/discord/widgets/user/profile/UserProfileHeaderView;)V
.method public constructor <init>(Lcom/discord/widgets/user/profile/UserProfileHeaderView;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
"(Z)V"
}
.end annotation
iput-object p1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderView$getCustomStatusDraweeSpanStringBuilder$1;->this$0:Lcom/discord/widgets/user/profile/UserProfileHeaderView;
iput-boolean p2, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderView$getCustomStatusDraweeSpanStringBuilder$1;->$shouldAnimate:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
@ -44,9 +48,7 @@
iput-object p1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderView$getCustomStatusDraweeSpanStringBuilder$1;->context:Landroid/content/Context;
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderView$getCustomStatusDraweeSpanStringBuilder$1;->isAnimationEnabled:Z
iput-boolean p2, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderView$getCustomStatusDraweeSpanStringBuilder$1;->isAnimationEnabled:Z
return-void
.end method

View file

@ -356,7 +356,7 @@
return-object v0
.end method
.method private final getCustomStatusDraweeSpanStringBuilder(Lcom/discord/models/domain/activity/ModelActivity;)Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
.method private final getCustomStatusDraweeSpanStringBuilder(Lcom/discord/models/domain/activity/ModelActivity;Z)Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
.locals 6
new-instance v0, Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
@ -386,7 +386,7 @@
new-instance v1, Lcom/discord/widgets/user/profile/UserProfileHeaderView$getCustomStatusDraweeSpanStringBuilder$1;
invoke-direct {v1, p0}, Lcom/discord/widgets/user/profile/UserProfileHeaderView$getCustomStatusDraweeSpanStringBuilder$1;-><init>(Lcom/discord/widgets/user/profile/UserProfileHeaderView;)V
invoke-direct {v1, p0, p2}, Lcom/discord/widgets/user/profile/UserProfileHeaderView$getCustomStatusDraweeSpanStringBuilder$1;-><init>(Lcom/discord/widgets/user/profile/UserProfileHeaderView;Z)V
invoke-virtual {v2, v0, v1}, Lcom/discord/utilities/textprocessing/node/EmojiNode;->render(Landroid/text/SpannableStringBuilder;Lcom/discord/utilities/textprocessing/node/EmojiNode$RenderContext;)V
@ -399,9 +399,9 @@
if-eqz v2, :cond_2
const/16 v1, 0x2002
const/16 p2, 0x2002
invoke-virtual {v0, v1}, Landroid/text/SpannableStringBuilder;->append(C)Landroid/text/SpannableStringBuilder;
invoke-virtual {v0, p2}, Landroid/text/SpannableStringBuilder;->append(C)Landroid/text/SpannableStringBuilder;
:cond_2
invoke-virtual {v0, p1}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
@ -702,52 +702,56 @@
invoke-virtual {p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->getPresence()Lcom/discord/models/domain/ModelPresence;
move-result-object p1
move-result-object v1
if-eqz p1, :cond_0
if-eqz v1, :cond_0
invoke-virtual {p1}, Lcom/discord/models/domain/ModelPresence;->getCustomStatusActivity()Lcom/discord/models/domain/activity/ModelActivity;
invoke-virtual {v1}, Lcom/discord/models/domain/ModelPresence;->getCustomStatusActivity()Lcom/discord/models/domain/activity/ModelActivity;
move-result-object p1
move-result-object v1
goto :goto_0
:cond_0
move-object p1, v0
move-object v1, v0
:goto_0
if-eqz p1, :cond_1
if-eqz v1, :cond_1
invoke-direct {p0, p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderView;->getCustomStatusDraweeSpanStringBuilder(Lcom/discord/models/domain/activity/ModelActivity;)Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
invoke-virtual {p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->getAllowAnimatedEmojis()Z
move-result-object v1
move-result p1
invoke-direct {p0, v1, p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderView;->getCustomStatusDraweeSpanStringBuilder(Lcom/discord/models/domain/activity/ModelActivity;Z)Lcom/facebook/drawee/span/DraweeSpanStringBuilder;
move-result-object p1
invoke-direct {p0}, Lcom/discord/widgets/user/profile/UserProfileHeaderView;->getCustomStatusTextView()Lcom/discord/utilities/view/text/SimpleDraweeSpanTextView;
move-result-object v2
invoke-virtual {v2, v1}, Lcom/discord/utilities/view/text/SimpleDraweeSpanTextView;->setDraweeSpanStringBuilder(Lcom/facebook/drawee/span/DraweeSpanStringBuilder;)V
invoke-virtual {v2, p1}, Lcom/discord/utilities/view/text/SimpleDraweeSpanTextView;->setDraweeSpanStringBuilder(Lcom/facebook/drawee/span/DraweeSpanStringBuilder;)V
:cond_1
invoke-direct {p0}, Lcom/discord/widgets/user/profile/UserProfileHeaderView;->getCustomStatusTextView()Lcom/discord/utilities/view/text/SimpleDraweeSpanTextView;
move-result-object v1
move-result-object p1
const/4 v2, 0x0
if-eqz p1, :cond_2
if-eqz v1, :cond_2
const/4 p1, 0x1
const/4 v1, 0x1
goto :goto_1
:cond_2
const/4 p1, 0x0
const/4 v1, 0x0
:goto_1
const/4 v3, 0x2
invoke-static {v1, p1, v2, v3, v0}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
invoke-static {p1, v1, v2, v3, v0}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
return-void

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;->observeStoreState(Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreExperiments;Lcom/discord/utilities/streams/StreamContextService;)Lrx/Observable;
value = Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;->observeStoreState(Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreUserSettings;Lcom/discord/stores/StoreExperiments;Lcom/discord/utilities/streams/StreamContextService;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;

View file

@ -3,7 +3,7 @@
.source "UserProfileHeaderViewModel.kt"
# interfaces
.implements Lrx/functions/Func5;
.implements Lrx/functions/Func6;
# annotations
@ -28,12 +28,14 @@
"Ljava/lang/Object;",
"T5:",
"Ljava/lang/Object;",
"T6:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Func5<",
"TT1;TT2;TT3;TT4;TT5;TR;>;"
"Lrx/functions/Func6<",
"TT1;TT2;TT3;TT4;TT5;TT6;TR;>;"
}
.end annotation
@ -59,8 +61,8 @@
# virtual methods
.method public final call(Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
.locals 9
.method public final call(Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;Ljava/lang/Boolean;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
.locals 11
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
@ -73,43 +75,56 @@
"Lcom/discord/utilities/streams/StreamContext;",
"Lcom/discord/models/domain/ModelUserProfile;",
"Lcom/discord/models/domain/ModelExperiment;",
"Ljava/lang/Boolean;",
")",
"Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;"
}
.end annotation
new-instance v8, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
move-object v0, p0
iget-object v1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;->$meUser:Lcom/discord/models/domain/ModelUser;
new-instance v10, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
iget-object v2, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;->$targetUser:Lcom/discord/models/domain/ModelUser;
iget-object v2, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;->$meUser:Lcom/discord/models/domain/ModelUser;
const-string v0, "computedMembers"
iget-object v3, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;->$targetUser:Lcom/discord/models/domain/ModelUser;
invoke-static {p1, v0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "computedMembers"
const-string v0, "userProfile"
move-object v4, p1
invoke-static {p4, v0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p1, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move-object v0, v8
const-string v1, "userProfile"
move-object v3, p1
move-object v7, p4
move-object v4, p2
invoke-static {p4, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move-object v5, p3
const-string v1, "allowAnimatedEmojis"
move-object v6, p4
move-object/from16 v5, p6
move-object v7, p5
invoke-static {v5, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct/range {v0 .. v7}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;-><init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;)V
invoke-virtual/range {p6 .. p6}, Ljava/lang/Boolean;->booleanValue()Z
return-object v8
move-result v9
move-object v1, v10
move-object v5, p2
move-object v6, p3
move-object/from16 v8, p5
invoke-direct/range {v1 .. v9}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;-><init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;Z)V
return-object v10
.end method
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/Map;
@ -122,7 +137,9 @@
check-cast p5, Lcom/discord/models/domain/ModelExperiment;
invoke-virtual/range {p0 .. p5}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;->call(Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
check-cast p6, Ljava/lang/Boolean;
invoke-virtual/range {p0 .. p6}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;->call(Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;Ljava/lang/Boolean;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
move-result-object p1

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;->observeStoreState(Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreExperiments;Lcom/discord/utilities/streams/StreamContextService;)Lrx/Observable;
value = Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;->observeStoreState(Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreUserSettings;Lcom/discord/stores/StoreExperiments;Lcom/discord/utilities/streams/StreamContextService;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
@ -43,13 +43,15 @@
.field public final synthetic $storeUserProfile:Lcom/discord/stores/StoreUserProfile;
.field public final synthetic $storeUserSettings:Lcom/discord/stores/StoreUserSettings;
.field public final synthetic $streamContextService:Lcom/discord/utilities/streams/StreamContextService;
.field public final synthetic this$0:Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;
# direct methods
.method public constructor <init>(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/utilities/streams/StreamContextService;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreExperiments;)V
.method public constructor <init>(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/utilities/streams/StreamContextService;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreExperiments;Lcom/discord/stores/StoreUserSettings;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2;->this$0:Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;
@ -66,6 +68,8 @@
iput-object p7, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2;->$storeExperiments:Lcom/discord/stores/StoreExperiments;
iput-object p8, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2;->$storeUserSettings:Lcom/discord/stores/StoreUserSettings;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
@ -86,7 +90,7 @@
.end method
.method public final call(Lkotlin/Pair;)Lrx/Observable;
.locals 13
.locals 14
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
@ -205,11 +209,17 @@
move-result-object v11
new-instance v12, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;
iget-object v1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2;->$storeUserSettings:Lcom/discord/stores/StoreUserSettings;
invoke-direct {v12, v0, p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;-><init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;)V
invoke-virtual {v1}, Lcom/discord/stores/StoreUserSettings;->getAllowAnimatedEmojisObservable()Lrx/Observable;
invoke-static/range {v7 .. v12}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func5;)Lrx/Observable;
move-result-object v12
new-instance v13, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;
invoke-direct {v13, v0, p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2$1;-><init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;)V
invoke-static/range {v7 .. v13}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func6;)Lrx/Observable;
move-result-object p1

View file

@ -113,7 +113,7 @@
# virtual methods
.method public create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
.locals 19
.locals 20
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
@ -162,12 +162,16 @@
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getExperiments()Lcom/discord/stores/StoreExperiments;
move-result-object v9
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
move-result-object v8
new-instance v1, Lcom/discord/utilities/streams/StreamContextService;
const/4 v10, 0x0
const/4 v11, 0x0
const/4 v12, 0x0
@ -180,17 +184,19 @@
const/16 v16, 0x0
const/16 v17, 0x7f
const/16 v17, 0x0
const/16 v18, 0x0
const/16 v18, 0x7f
move-object v9, v1
const/16 v19, 0x0
invoke-direct/range {v9 .. v18}, Lcom/discord/utilities/streams/StreamContextService;-><init>(Lcom/discord/stores/StoreApplicationStreaming;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StorePermissions;Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreVoiceStates;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreApplicationStreamPreviews;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
move-object v10, v1
invoke-direct/range {v10 .. v19}, Lcom/discord/utilities/streams/StreamContextService;-><init>(Lcom/discord/stores/StoreApplicationStreaming;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StorePermissions;Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreVoiceStates;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreApplicationStreamPreviews;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
move-object/from16 v2, p0
invoke-virtual/range {v2 .. v9}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;->observeStoreState(Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreExperiments;Lcom/discord/utilities/streams/StreamContextService;)Lrx/Observable;
invoke-virtual/range {v2 .. v10}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;->observeStoreState(Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreUserSettings;Lcom/discord/stores/StoreExperiments;Lcom/discord/utilities/streams/StreamContextService;)Lrx/Observable;
move-result-object v1
@ -224,8 +230,8 @@
return-wide v0
.end method
.method public final observeStoreState(Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreExperiments;Lcom/discord/utilities/streams/StreamContextService;)Lrx/Observable;
.locals 11
.method public final observeStoreState(Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreUserSettings;Lcom/discord/stores/StoreExperiments;Lcom/discord/utilities/streams/StreamContextService;)Lrx/Observable;
.locals 12
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation
@ -237,6 +243,7 @@
"Lcom/discord/stores/StoreGuilds;",
"Lcom/discord/stores/StoreUserPresence;",
"Lcom/discord/stores/StoreUserProfile;",
"Lcom/discord/stores/StoreUserSettings;",
"Lcom/discord/stores/StoreExperiments;",
"Lcom/discord/utilities/streams/StreamContextService;",
")",
@ -250,19 +257,21 @@
const/4 v1, 0x0
if-eqz v0, :cond_6
if-eqz v0, :cond_7
if-eqz p2, :cond_5
if-eqz p2, :cond_6
if-eqz p3, :cond_4
if-eqz p3, :cond_5
if-eqz p4, :cond_3
if-eqz p4, :cond_4
if-eqz p5, :cond_2
if-eqz p5, :cond_3
if-eqz p6, :cond_1
if-eqz p6, :cond_2
if-eqz p7, :cond_0
if-eqz p7, :cond_1
if-eqz p8, :cond_0
invoke-virtual {p1}, Lcom/discord/stores/StoreUser;->getMe()Lrx/Observable;
@ -270,7 +279,7 @@
new-instance v2, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$1;
move-object v10, p0
move-object v11, p0
invoke-direct {v2, p0, p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$1;-><init>(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;Lcom/discord/stores/StoreUser;)V
@ -288,15 +297,17 @@
move-object v5, p3
move-object v6, p4
move-object/from16 v6, p4
move-object/from16 v7, p7
move-object/from16 v7, p8
move-object/from16 v8, p5
move-object/from16 v9, p6
move-object/from16 v9, p7
invoke-direct/range {v2 .. v9}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2;-><init>(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/utilities/streams/StreamContextService;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreExperiments;)V
move-object/from16 v10, p6
invoke-direct/range {v2 .. v10}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory$observeStoreState$2;-><init>(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$Factory;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StoreUserPresence;Lcom/discord/utilities/streams/StreamContextService;Lcom/discord/stores/StoreUserProfile;Lcom/discord/stores/StoreExperiments;Lcom/discord/stores/StoreUserSettings;)V
invoke-virtual {v0, v1}, Lrx/Observable;->k(Lb0/l/i;)Lrx/Observable;
@ -309,7 +320,7 @@
return-object v0
:cond_0
move-object v10, p0
move-object v11, p0
const-string v0, "streamContextService"
@ -318,7 +329,7 @@
throw v1
:cond_1
move-object v10, p0
move-object v11, p0
const-string v0, "storeExperiments"
@ -327,7 +338,16 @@
throw v1
:cond_2
move-object v10, p0
move-object v11, p0
const-string v0, "storeUserSettings"
invoke-static {v0}, Lt/u/b/j;->a(Ljava/lang/String;)V
throw v1
:cond_3
move-object v11, p0
const-string v0, "storeUserProfile"
@ -335,8 +355,8 @@
throw v1
:cond_3
move-object v10, p0
:cond_4
move-object v11, p0
const-string v0, "storeUserPresence"
@ -344,8 +364,8 @@
throw v1
:cond_4
move-object v10, p0
:cond_5
move-object v11, p0
const-string v0, "storeGuilds"
@ -353,8 +373,8 @@
throw v1
:cond_5
move-object v10, p0
:cond_6
move-object v11, p0
const-string v0, "storeChannels"
@ -362,8 +382,8 @@
throw v1
:cond_6
move-object v10, p0
:cond_7
move-object v11, p0
const-string v0, "storeUser"

View file

@ -15,6 +15,8 @@
# instance fields
.field public final allowAnimatedEmojis:Z
.field public final computedMembers:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
@ -40,7 +42,7 @@
# direct methods
.method public constructor <init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;)V
.method public constructor <init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;Z)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
@ -56,7 +58,7 @@
"Lcom/discord/utilities/streams/StreamContext;",
"Lcom/discord/models/domain/ModelUserProfile;",
"Lcom/discord/models/domain/ModelExperiment;",
")V"
"Z)V"
}
.end annotation
@ -86,6 +88,8 @@
iput-object p7, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->winnerBadgeExperiment:Lcom/discord/models/domain/ModelExperiment;
iput-boolean p8, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->allowAnimatedEmojis:Z
return-void
:cond_0
@ -117,91 +121,130 @@
throw v0
.end method
.method public static synthetic copy$default(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;ILjava/lang/Object;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
.locals 5
.method public static synthetic copy$default(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;ZILjava/lang/Object;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
.locals 9
and-int/lit8 p9, p8, 0x1
move-object v0, p0
if-eqz p9, :cond_0
move/from16 v1, p9
iget-object p1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->me:Lcom/discord/models/domain/ModelUser;
and-int/lit8 v2, v1, 0x1
if-eqz v2, :cond_0
iget-object v2, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->me:Lcom/discord/models/domain/ModelUser;
goto :goto_0
:cond_0
and-int/lit8 p9, p8, 0x2
move-object v2, p1
if-eqz p9, :cond_1
:goto_0
and-int/lit8 v3, v1, 0x2
iget-object p2, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->user:Lcom/discord/models/domain/ModelUser;
if-eqz v3, :cond_1
iget-object v3, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->user:Lcom/discord/models/domain/ModelUser;
goto :goto_1
:cond_1
move-object p9, p2
move-object v3, p2
and-int/lit8 p2, p8, 0x4
:goto_1
and-int/lit8 v4, v1, 0x4
if-eqz p2, :cond_2
if-eqz v4, :cond_2
iget-object p3, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->computedMembers:Ljava/util/Map;
iget-object v4, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->computedMembers:Ljava/util/Map;
goto :goto_2
:cond_2
move-object v0, p3
move-object v4, p3
and-int/lit8 p2, p8, 0x8
:goto_2
and-int/lit8 v5, v1, 0x8
if-eqz p2, :cond_3
if-eqz v5, :cond_3
iget-object p4, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
iget-object v5, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
goto :goto_3
:cond_3
move-object v1, p4
move-object v5, p4
and-int/lit8 p2, p8, 0x10
:goto_3
and-int/lit8 v6, v1, 0x10
if-eqz p2, :cond_4
if-eqz v6, :cond_4
iget-object p5, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->streamContext:Lcom/discord/utilities/streams/StreamContext;
iget-object v6, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->streamContext:Lcom/discord/utilities/streams/StreamContext;
goto :goto_4
:cond_4
move-object v2, p5
move-object v6, p5
and-int/lit8 p2, p8, 0x20
:goto_4
and-int/lit8 v7, v1, 0x20
if-eqz p2, :cond_5
if-eqz v7, :cond_5
iget-object p6, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->userProfile:Lcom/discord/models/domain/ModelUserProfile;
iget-object v7, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->userProfile:Lcom/discord/models/domain/ModelUserProfile;
goto :goto_5
:cond_5
move-object v3, p6
move-object v7, p6
and-int/lit8 p2, p8, 0x40
:goto_5
and-int/lit8 v8, v1, 0x40
if-eqz p2, :cond_6
if-eqz v8, :cond_6
iget-object p7, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->winnerBadgeExperiment:Lcom/discord/models/domain/ModelExperiment;
iget-object v8, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->winnerBadgeExperiment:Lcom/discord/models/domain/ModelExperiment;
goto :goto_6
:cond_6
move-object v4, p7
move-object/from16 v8, p7
move-object p2, p0
:goto_6
and-int/lit16 v1, v1, 0x80
move-object p3, p1
if-eqz v1, :cond_7
move-object p4, p9
iget-boolean v1, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->allowAnimatedEmojis:Z
move-object p5, v0
goto :goto_7
move-object p6, v1
:cond_7
move/from16 v1, p8
move-object p7, v2
:goto_7
move-object p1, v2
move-object p8, v3
move-object p2, v3
move-object p9, v4
move-object p3, v4
invoke-virtual/range {p2 .. p9}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->copy(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
move-object p4, v5
move-result-object p0
move-object p5, v6
return-object p0
move-object p6, v7
move-object/from16 p7, v8
move/from16 p8, v1
invoke-virtual/range {p0 .. p8}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->copy(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;Z)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
move-result-object v0
return-object v0
.end method
@ -271,8 +314,16 @@
return-object v0
.end method
.method public final copy(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
.locals 9
.method public final component8()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->allowAnimatedEmojis:Z
return v0
.end method
.method public final copy(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;Z)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;
.locals 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
@ -287,7 +338,7 @@
"Lcom/discord/utilities/streams/StreamContext;",
"Lcom/discord/models/domain/ModelUserProfile;",
"Lcom/discord/models/domain/ModelExperiment;",
")",
"Z)",
"Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;"
}
.end annotation
@ -316,11 +367,13 @@
move-object v6, p5
move-object v7, p6
move-object/from16 v7, p6
move-object/from16 v8, p7
invoke-direct/range {v1 .. v8}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;-><init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;)V
move/from16 v9, p8
invoke-direct/range {v1 .. v9}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;-><init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Ljava/util/Map;Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Lcom/discord/models/domain/ModelExperiment;Z)V
return-object v0
@ -426,13 +479,19 @@
iget-object v0, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->winnerBadgeExperiment:Lcom/discord/models/domain/ModelExperiment;
iget-object p1, p1, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->winnerBadgeExperiment:Lcom/discord/models/domain/ModelExperiment;
iget-object v1, p1, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->winnerBadgeExperiment:Lcom/discord/models/domain/ModelExperiment;
invoke-static {v0, p1}, Lt/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
invoke-static {v0, v1}, Lt/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
move-result v0
if-eqz p1, :cond_0
if-eqz v0, :cond_0
iget-boolean v0, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->allowAnimatedEmojis:Z
iget-boolean p1, p1, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->allowAnimatedEmojis:Z
if-ne v0, p1, :cond_0
goto :goto_0
@ -448,6 +507,14 @@
return p1
.end method
.method public final getAllowAnimatedEmojis()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->allowAnimatedEmojis:Z
return v0
.end method
.method public final getComputedMembers()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
@ -635,11 +702,22 @@
:cond_6
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->allowAnimatedEmojis:Z
if-eqz v1, :cond_7
const/4 v1, 0x1
:cond_7
add-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.locals 3
const-string v0, "StoreState(me="
@ -699,11 +777,15 @@
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ")"
const-string v1, ", allowAnimatedEmojis="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
iget-boolean v1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->allowAnimatedEmojis:Z
const-string v2, ")"
invoke-static {v0, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
move-result-object v0

View file

@ -15,6 +15,8 @@
# instance fields
.field public final allowAnimatedEmojis:Z
.field public final isMeUserPremium:Z
.field public final presence:Lcom/discord/models/domain/ModelPresence;
@ -31,7 +33,7 @@
# direct methods
.method public constructor <init>(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZI)V
.method public constructor <init>(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZIZ)V
.locals 1
const/4 v0, 0x0
@ -56,6 +58,8 @@
iput p7, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->snowsGivingHypeSquadEventWinner:I
iput-boolean p8, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->allowAnimatedEmojis:Z
return-void
:cond_0
@ -73,91 +77,130 @@
throw v0
.end method
.method public static synthetic copy$default(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZIILjava/lang/Object;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;
.locals 5
.method public static synthetic copy$default(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZIZILjava/lang/Object;)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;
.locals 9
and-int/lit8 p9, p8, 0x1
move-object v0, p0
if-eqz p9, :cond_0
move/from16 v1, p9
iget-object p1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
and-int/lit8 v2, v1, 0x1
if-eqz v2, :cond_0
iget-object v2, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
goto :goto_0
:cond_0
and-int/lit8 p9, p8, 0x2
move-object v2, p1
if-eqz p9, :cond_1
:goto_0
and-int/lit8 v3, v1, 0x2
iget-object p2, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->userNickname:Ljava/lang/String;
if-eqz v3, :cond_1
iget-object v3, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->userNickname:Ljava/lang/String;
goto :goto_1
:cond_1
move-object p9, p2
move-object v3, p2
and-int/lit8 p2, p8, 0x4
:goto_1
and-int/lit8 v4, v1, 0x4
if-eqz p2, :cond_2
if-eqz v4, :cond_2
iget-object p3, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->presence:Lcom/discord/models/domain/ModelPresence;
iget-object v4, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->presence:Lcom/discord/models/domain/ModelPresence;
goto :goto_2
:cond_2
move-object v0, p3
move-object v4, p3
and-int/lit8 p2, p8, 0x8
:goto_2
and-int/lit8 v5, v1, 0x8
if-eqz p2, :cond_3
if-eqz v5, :cond_3
iget-object p4, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
iget-object v5, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
goto :goto_3
:cond_3
move-object v1, p4
move-object v5, p4
and-int/lit8 p2, p8, 0x10
:goto_3
and-int/lit8 v6, v1, 0x10
if-eqz p2, :cond_4
if-eqz v6, :cond_4
iget-object p5, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->userProfile:Lcom/discord/models/domain/ModelUserProfile;
iget-object v6, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->userProfile:Lcom/discord/models/domain/ModelUserProfile;
goto :goto_4
:cond_4
move-object v2, p5
move-object v6, p5
and-int/lit8 p2, p8, 0x20
:goto_4
and-int/lit8 v7, v1, 0x20
if-eqz p2, :cond_5
if-eqz v7, :cond_5
iget-boolean p6, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->isMeUserPremium:Z
iget-boolean v7, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->isMeUserPremium:Z
goto :goto_5
:cond_5
move v3, p6
move v7, p6
and-int/lit8 p2, p8, 0x40
:goto_5
and-int/lit8 v8, v1, 0x40
if-eqz p2, :cond_6
if-eqz v8, :cond_6
iget p7, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->snowsGivingHypeSquadEventWinner:I
iget v8, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->snowsGivingHypeSquadEventWinner:I
goto :goto_6
:cond_6
move v4, p7
move/from16 v8, p7
move-object p2, p0
:goto_6
and-int/lit16 v1, v1, 0x80
move-object p3, p1
if-eqz v1, :cond_7
move-object p4, p9
iget-boolean v1, v0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->allowAnimatedEmojis:Z
move-object p5, v0
goto :goto_7
move-object p6, v1
:cond_7
move/from16 v1, p8
move-object p7, v2
:goto_7
move-object p1, v2
move p8, v3
move-object p2, v3
move p9, v4
move-object p3, v4
invoke-virtual/range {p2 .. p9}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->copy(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZI)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;
move-object p4, v5
move-result-object p0
move-object p5, v6
return-object p0
move p6, v7
move/from16 p7, v8
move/from16 p8, v1
invoke-virtual/range {p0 .. p8}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->copy(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZIZ)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;
move-result-object v0
return-object v0
.end method
@ -218,8 +261,16 @@
return v0
.end method
.method public final copy(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZI)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;
.locals 9
.method public final component8()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->allowAnimatedEmojis:Z
return v0
.end method
.method public final copy(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZIZ)Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;
.locals 10
const/4 v0, 0x0
@ -241,11 +292,13 @@
move-object v6, p5
move v7, p6
move/from16 v7, p6
move/from16 v8, p7
invoke-direct/range {v1 .. v8}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;-><init>(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZI)V
move/from16 v9, p8
invoke-direct/range {v1 .. v9}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;-><init>(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZIZ)V
return-object v0
@ -333,7 +386,13 @@
iget v0, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->snowsGivingHypeSquadEventWinner:I
iget p1, p1, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->snowsGivingHypeSquadEventWinner:I
iget v1, p1, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->snowsGivingHypeSquadEventWinner:I
if-ne v0, v1, :cond_0
iget-boolean v0, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->allowAnimatedEmojis:Z
iget-boolean p1, p1, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->allowAnimatedEmojis:Z
if-ne v0, p1, :cond_0
@ -351,6 +410,14 @@
return p1
.end method
.method public final getAllowAnimatedEmojis()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->allowAnimatedEmojis:Z
return v0
.end method
.method public final getPresence()Lcom/discord/models/domain/ModelPresence;
.locals 1
@ -489,6 +556,8 @@
iget-boolean v1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->isMeUserPremium:Z
const/4 v2, 0x1
if-eqz v1, :cond_5
const/4 v1, 0x1
@ -506,6 +575,17 @@
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->allowAnimatedEmojis:Z
if-eqz v1, :cond_6
const/4 v1, 0x1
:cond_6
add-int/2addr v0, v1
return v0
.end method
@ -576,9 +656,17 @@
iget v1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->snowsGivingHypeSquadEventWinner:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", allowAnimatedEmojis="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;->allowAnimatedEmojis:Z
const-string v2, ")"
invoke-static {v0, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String;
invoke-static {v0, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
move-result-object v0

View file

@ -111,7 +111,7 @@
.end method
.method private final handleStoreState(Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;)V
.locals 10
.locals 11
invoke-virtual {p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->getComputedMembers()Ljava/util/Map;
@ -200,15 +200,19 @@
invoke-virtual {p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->getMe()Lcom/discord/models/domain/ModelUser;
move-result-object p1
move-result-object v1
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isPremium()Z
invoke-virtual {v1}, Lcom/discord/models/domain/ModelUser;->isPremium()Z
move-result v8
invoke-virtual {p1}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$StoreState;->getAllowAnimatedEmojis()Z
move-result v10
move-object v2, v0
invoke-direct/range {v2 .. v9}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;-><init>(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZI)V
invoke-direct/range {v2 .. v10}, Lcom/discord/widgets/user/profile/UserProfileHeaderViewModel$ViewState$Loaded;-><init>(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;ZIZ)V
invoke-virtual {p0, v0}, Le/a/b/c0;->updateViewState(Ljava/lang/Object;)V

View file

@ -132,7 +132,7 @@
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
const p2, 0x7f0a0898
const p2, 0x7f0a089a
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -140,7 +140,7 @@
iput-object p2, p0, Lcom/discord/widgets/user/profile/UserStatusPresenceCustomView;->emojiView$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a0899
const p2, 0x7f0a089b
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -148,7 +148,7 @@
iput-object p2, p0, Lcom/discord/widgets/user/profile/UserStatusPresenceCustomView;->statusTextView$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a0897
const p2, 0x7f0a0899
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -89,7 +89,7 @@
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
const p2, 0x7f0a088b
const p2, 0x7f0a088d
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -97,7 +97,7 @@
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView;->userMutedCheck$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a0896
const p2, 0x7f0a0898
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -108,7 +108,7 @@
# virtual methods
.method public final enqueueNotice(J)V
.locals 18
.locals 19
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
@ -144,25 +144,21 @@
const-wide/16 v12, 0x0
const/16 v0, 0x76
const/16 v16, 0x76
const/16 v16, 0x0
const/16 v17, 0x0
move-object v1, v15
move-object/from16 v17, v15
move-object/from16 v18, v15
move v15, v0
move/from16 v15, v16
move-object/from16 v16, v17
invoke-direct/range {v1 .. v16}, Lcom/discord/stores/StoreNotices$Notice;-><init>(Ljava/lang/String;Lcom/discord/utilities/time/Clock;JIZZLjava/util/List;JJLkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getNotices()Lcom/discord/stores/StoreNotices;
move-result-object v0
move-object/from16 v1, v17
move-object/from16 v1, v18
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreNotices;->requestToShow(Lcom/discord/stores/StoreNotices$Notice;)V

View file

@ -70,6 +70,8 @@
.field public final rolesList$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final sheetLoadingContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final userProfileAdminCard$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final userProfileAdminView$delegate:Lkotlin/properties/ReadOnlyProperty;
@ -91,7 +93,7 @@
.method public static constructor <clinit>()V
.locals 6
const/16 v0, 0x1a
const/16 v0, 0x1b
new-array v0, v0, [Lkotlin/reflect/KProperty;
@ -103,9 +105,9 @@
move-result-object v2
const-string v3, "moreButton"
const-string v3, "sheetLoadingContainer"
const-string v4, "getMoreButton()Landroid/view/View;"
const-string v4, "getSheetLoadingContainer()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
@ -127,6 +129,28 @@
move-result-object v3
const-string v4, "moreButton"
const-string v5, "getMoreButton()Landroid/view/View;"
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
aput-object v2, v0, v1
const/4 v1, 0x2
new-instance v2, Lt/u/b/u;
const-class v3, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
move-result-object v3
const-string v4, "userProfileHeaderView"
const-string v5, "getUserProfileHeaderView()Lcom/discord/widgets/user/profile/UserProfileHeaderView;"
@ -139,7 +163,7 @@
aput-object v2, v0, v1
const/4 v1, 0x2
const/4 v1, 0x3
new-instance v2, Lt/u/b/u;
@ -161,7 +185,7 @@
aput-object v2, v0, v1
const/4 v1, 0x3
const/4 v1, 0x4
new-instance v2, Lt/u/b/u;
@ -183,7 +207,7 @@
aput-object v2, v0, v1
const/4 v1, 0x4
const/4 v1, 0x5
new-instance v2, Lt/u/b/u;
@ -205,7 +229,7 @@
aput-object v2, v0, v1
const/4 v1, 0x5
const/4 v1, 0x6
new-instance v2, Lt/u/b/u;
@ -227,7 +251,7 @@
aput-object v2, v0, v1
const/4 v1, 0x6
const/4 v1, 0x7
new-instance v2, Lt/u/b/u;
@ -249,7 +273,7 @@
aput-object v2, v0, v1
const/4 v1, 0x7
const/16 v1, 0x8
new-instance v2, Lt/u/b/u;
@ -271,7 +295,7 @@
aput-object v2, v0, v1
const/16 v1, 0x8
const/16 v1, 0x9
new-instance v2, Lt/u/b/u;
@ -293,7 +317,7 @@
aput-object v2, v0, v1
const/16 v1, 0x9
const/16 v1, 0xa
new-instance v2, Lt/u/b/u;
@ -315,7 +339,7 @@
aput-object v2, v0, v1
const/16 v1, 0xa
const/16 v1, 0xb
new-instance v2, Lt/u/b/u;
@ -337,7 +361,7 @@
aput-object v2, v0, v1
const/16 v1, 0xb
const/16 v1, 0xc
new-instance v2, Lt/u/b/u;
@ -359,7 +383,7 @@
aput-object v2, v0, v1
const/16 v1, 0xc
const/16 v1, 0xd
new-instance v2, Lt/u/b/u;
@ -381,7 +405,7 @@
aput-object v2, v0, v1
const/16 v1, 0xd
const/16 v1, 0xe
new-instance v2, Lt/u/b/u;
@ -403,7 +427,7 @@
aput-object v2, v0, v1
const/16 v1, 0xe
const/16 v1, 0xf
new-instance v2, Lt/u/b/u;
@ -425,7 +449,7 @@
aput-object v2, v0, v1
const/16 v1, 0xf
const/16 v1, 0x10
new-instance v2, Lt/u/b/u;
@ -447,7 +471,7 @@
aput-object v2, v0, v1
const/16 v1, 0x10
const/16 v1, 0x11
new-instance v2, Lt/u/b/u;
@ -469,7 +493,7 @@
aput-object v2, v0, v1
const/16 v1, 0x11
const/16 v1, 0x12
new-instance v2, Lt/u/b/u;
@ -491,7 +515,7 @@
aput-object v2, v0, v1
const/16 v1, 0x12
const/16 v1, 0x13
new-instance v2, Lt/u/b/u;
@ -513,7 +537,7 @@
aput-object v2, v0, v1
const/16 v1, 0x13
const/16 v1, 0x14
new-instance v2, Lt/u/b/u;
@ -535,7 +559,7 @@
aput-object v2, v0, v1
const/16 v1, 0x14
const/16 v1, 0x15
new-instance v2, Lt/u/b/u;
@ -557,7 +581,7 @@
aput-object v2, v0, v1
const/16 v1, 0x15
const/16 v1, 0x16
new-instance v2, Lt/u/b/u;
@ -579,7 +603,7 @@
aput-object v2, v0, v1
const/16 v1, 0x16
const/16 v1, 0x17
new-instance v2, Lt/u/b/u;
@ -601,7 +625,7 @@
aput-object v2, v0, v1
const/16 v1, 0x17
const/16 v1, 0x18
new-instance v2, Lt/u/b/u;
@ -623,7 +647,7 @@
aput-object v2, v0, v1
const/16 v1, 0x18
const/16 v1, 0x19
new-instance v2, Lt/u/b/u;
@ -645,7 +669,7 @@
aput-object v2, v0, v1
const/16 v1, 0x19
const/16 v1, 0x1a
new-instance v2, Lt/u/b/u;
@ -691,9 +715,17 @@
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->sheetLoadingContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a088c
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->moreButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0891
const v0, 0x7f0a0893
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -701,7 +733,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->userProfileHeaderView$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0890
const v0, 0x7f0a0892
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -709,7 +741,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->profileActionsDivider$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a088f
const v0, 0x7f0a0891
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -717,7 +749,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->profileActionsContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0889
const v0, 0x7f0a088b
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -733,7 +765,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->callActionButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0895
const v0, 0x7f0a0897
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -749,7 +781,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->addFriendActionButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a088e
const v0, 0x7f0a0890
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -757,7 +789,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->pendingFriendRequestActionButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0888
const v0, 0x7f0a0889
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -765,7 +797,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->incomingFriendRequestHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0884
const v0, 0x7f0a0885
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -773,7 +805,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->incomingFriendRequestContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0883
const v0, 0x7f0a0884
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -781,7 +813,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->friendRequestIgnoreButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0882
const v0, 0x7f0a0883
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -797,7 +829,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->richPresenceContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0894
const v0, 0x7f0a0896
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -805,7 +837,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->rolesList$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0885
const v0, 0x7f0a0886
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -813,7 +845,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->guildContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0886
const v0, 0x7f0a0887
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -821,7 +853,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->guildHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0892
const v0, 0x7f0a0894
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -829,7 +861,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->voiceSettingsHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0893
const v0, 0x7f0a0895
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -853,7 +885,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->userProfileConnectionsView$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a088d
const v0, 0x7f0a088f
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -877,7 +909,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->userProfileAdminView$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0881
const v0, 0x7f0a0882
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -885,7 +917,7 @@
iput-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->developerHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0880
const v0, 0x7f0a0881
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -1573,98 +1605,112 @@
instance-of v0, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Uninitialized;
const/4 v1, 0x0
if-eqz v0, :cond_0
return-void
invoke-direct {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getSheetLoadingContainer()Landroid/view/View;
move-result-object p1
invoke-virtual {p1, v1}, Landroid/view/View;->setVisibility(I)V
goto/16 :goto_4
:cond_0
instance-of v0, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
if-eqz v0, :cond_8
invoke-direct {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getSheetLoadingContainer()Landroid/view/View;
move-result-object v0
const/16 v2, 0x8
invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V
move-object v0, p1
check-cast v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->getPresence()Lcom/discord/models/domain/ModelPresence;
move-result-object v1
move-result-object v2
const/4 v2, 0x0
const/4 v3, 0x0
if-eqz v1, :cond_1
if-eqz v2, :cond_1
invoke-virtual {v1}, Lcom/discord/models/domain/ModelPresence;->getPrimaryActivity()Lcom/discord/models/domain/activity/ModelActivity;
invoke-virtual {v2}, Lcom/discord/models/domain/ModelPresence;->getPrimaryActivity()Lcom/discord/models/domain/activity/ModelActivity;
move-result-object v1
move-result-object v2
goto :goto_0
:cond_1
move-object v1, v2
move-object v2, v3
:goto_0
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->isMe()Z
move-result v3
move-result v4
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->getUser()Lcom/discord/models/domain/ModelUser;
move-result-object v4
move-result-object v5
invoke-virtual {v4}, Lcom/discord/models/domain/ModelUser;->isSystem()Z
invoke-virtual {v5}, Lcom/discord/models/domain/ModelUser;->isSystem()Z
move-result v4
move-result v5
invoke-direct {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getMoreButton()Landroid/view/View;
move-result-object v5
const/4 v6, 0x0
if-nez v3, :cond_2
move-result-object v6
if-nez v4, :cond_2
const/4 v3, 0x1
if-nez v5, :cond_2
const/4 v4, 0x1
goto :goto_1
:cond_2
const/4 v3, 0x0
const/4 v4, 0x0
:goto_1
const/4 v4, 0x2
const/4 v5, 0x2
invoke-static {v5, v3, v6, v4, v2}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
invoke-static {v6, v4, v1, v5, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->getConnectionsViewState()Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
move-result-object v3
move-result-object v1
invoke-virtual {v3}, Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;->getShowConnectionsSection()Z
invoke-virtual {v1}, Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;->getShowConnectionsSection()Z
move-result v3
move-result v1
if-eqz v3, :cond_3
if-eqz v1, :cond_3
invoke-direct {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getConnectionsHeader()Landroid/view/View;
move-result-object v3
move-result-object v1
invoke-virtual {p0, v3}, Lcom/discord/app/AppBottomSheet;->setPeekHeightBottomView(Landroid/view/View;)V
invoke-virtual {p0, v1}, Lcom/discord/app/AppBottomSheet;->setPeekHeightBottomView(Landroid/view/View;)V
goto :goto_2
:cond_3
invoke-direct {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getUserProfileHeaderView()Lcom/discord/widgets/user/profile/UserProfileHeaderView;
move-result-object v3
move-result-object v1
invoke-virtual {p0, v3}, Lcom/discord/app/AppBottomSheet;->setPeekHeightBottomView(Landroid/view/View;)V
invoke-virtual {p0, v1}, Lcom/discord/app/AppBottomSheet;->setPeekHeightBottomView(Landroid/view/View;)V
:goto_2
sget-object v3, Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;->Companion:Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence$Companion;
sget-object v1, Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;->Companion:Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence$Companion;
invoke-direct {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->getRichPresenceContainer()Landroid/widget/FrameLayout;
@ -1676,9 +1722,9 @@
iget-object v6, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->activityViewHolder:Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;
invoke-virtual {v3, v4, v1, v5, v6}, Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence$Companion;->setRichPresence(Landroid/view/ViewGroup;Lcom/discord/models/domain/activity/ModelActivity;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;)Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;
invoke-virtual {v1, v4, v2, v5, v6}, Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence$Companion;->setRichPresence(Landroid/view/ViewGroup;Lcom/discord/models/domain/activity/ModelActivity;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;)Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;
move-result-object v3
move-result-object v1
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->getRichPresence()Lcom/discord/widgets/user/presence/ModelRichPresence;
@ -1696,22 +1742,22 @@
move-result-object v7
invoke-virtual {v3, v4, v5, v6, v7}, Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;->configureUi(Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;ZLcom/discord/models/domain/ModelUser;)V
invoke-virtual {v1, v4, v5, v6, v7}, Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;->configureUi(Lcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/utilities/streams/StreamContext;ZLcom/discord/models/domain/ModelUser;)V
invoke-virtual {v3, v1, p0}, Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;->configureUiTimestamp(Lcom/discord/models/domain/activity/ModelActivity;Lcom/discord/app/AppComponent;)V
invoke-virtual {v1, v2, p0}, Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;->configureUiTimestamp(Lcom/discord/models/domain/activity/ModelActivity;Lcom/discord/app/AppComponent;)V
iput-object v3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->activityViewHolder:Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;
iput-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->activityViewHolder:Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;
iget-object v3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->activityViewHolder:Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->activityViewHolder:Lcom/discord/widgets/user/presence/ViewHolderUserRichPresence;
instance-of v4, v3, Lcom/discord/widgets/user/presence/ViewHolderStreamRichPresence;
instance-of v4, v1, Lcom/discord/widgets/user/presence/ViewHolderStreamRichPresence;
if-nez v4, :cond_4
move-object v3, v2
move-object v1, v3
:cond_4
check-cast v3, Lcom/discord/widgets/user/presence/ViewHolderStreamRichPresence;
check-cast v1, Lcom/discord/widgets/user/presence/ViewHolderStreamRichPresence;
invoke-virtual {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->getStreamContext()Lcom/discord/utilities/streams/StreamContext;
@ -1719,13 +1765,13 @@
if-eqz v4, :cond_5
if-eqz v3, :cond_5
if-eqz v1, :cond_5
new-instance v4, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$2;
invoke-direct {v4, p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureUI$2;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;)V
invoke-virtual {v3, v4}, Lcom/discord/widgets/user/presence/ViewHolderStreamRichPresence;->setOnStreamPreviewClicked(Lkotlin/jvm/functions/Function0;)V
invoke-virtual {v1, v4}, Lcom/discord/widgets/user/presence/ViewHolderStreamRichPresence;->setOnStreamPreviewClicked(Lkotlin/jvm/functions/Function0;)V
:cond_5
invoke-direct {p0, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureProfileActionButtons(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;)V
@ -1744,29 +1790,36 @@
sget-object p1, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
if-eqz v1, :cond_6
if-eqz v2, :cond_6
invoke-virtual {v1}, Lcom/discord/models/domain/activity/ModelActivity;->getName()Ljava/lang/String;
invoke-virtual {v2}, Lcom/discord/models/domain/activity/ModelActivity;->getName()Ljava/lang/String;
move-result-object v0
goto :goto_3
:cond_6
move-object v0, v2
move-object v0, v3
:goto_3
if-eqz v1, :cond_7
if-eqz v2, :cond_7
invoke-virtual {v1}, Lcom/discord/models/domain/activity/ModelActivity;->getGamePlatform()Ljava/lang/String;
invoke-virtual {v2}, Lcom/discord/models/domain/activity/ModelActivity;->getGamePlatform()Ljava/lang/String;
move-result-object v2
move-result-object v3
:cond_7
invoke-virtual {p1, v0, v2}, Lcom/discord/utilities/analytics/AnalyticsTracker;->openUserSheet(Ljava/lang/String;Ljava/lang/String;)V
invoke-virtual {p1, v0, v3}, Lcom/discord/utilities/analytics/AnalyticsTracker;->openUserSheet(Ljava/lang/String;Ljava/lang/String;)V
:goto_4
return-void
:cond_8
return-void
new-instance p1, Lt/g;
invoke-direct {p1}, Lt/g;-><init>()V
throw p1
.end method
.method private final configureVoiceSection(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;)V
@ -1814,7 +1867,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x7
const/16 v2, 0x8
aget-object v1, v1, v2
@ -1834,7 +1887,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x5
const/4 v2, 0x6
aget-object v1, v1, v2
@ -1854,7 +1907,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x13
const/16 v2, 0x14
aget-object v1, v1, v2
@ -1874,7 +1927,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x19
const/16 v2, 0x1a
aget-object v1, v1, v2
@ -1894,7 +1947,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x18
const/16 v2, 0x19
aget-object v1, v1, v2
@ -1914,7 +1967,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xc
const/16 v2, 0xd
aget-object v1, v1, v2
@ -1934,7 +1987,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xb
const/16 v2, 0xc
aget-object v1, v1, v2
@ -1954,7 +2007,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xf
const/16 v2, 0x10
aget-object v1, v1, v2
@ -1974,7 +2027,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x10
const/16 v2, 0x11
aget-object v1, v1, v2
@ -1994,7 +2047,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xa
const/16 v2, 0xb
aget-object v1, v1, v2
@ -2014,7 +2067,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x9
const/16 v2, 0xa
aget-object v1, v1, v2
@ -2034,7 +2087,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x4
const/4 v2, 0x5
aget-object v1, v1, v2
@ -2054,7 +2107,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x0
const/4 v2, 0x1
aget-object v1, v1, v2
@ -2074,7 +2127,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x15
const/16 v2, 0x16
aget-object v1, v1, v2
@ -2094,7 +2147,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x8
const/16 v2, 0x9
aget-object v1, v1, v2
@ -2114,7 +2167,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x3
const/4 v2, 0x4
aget-object v1, v1, v2
@ -2134,7 +2187,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x2
const/4 v2, 0x3
aget-object v1, v1, v2
@ -2154,7 +2207,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xd
const/16 v2, 0xe
aget-object v1, v1, v2
@ -2174,7 +2227,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xe
const/16 v2, 0xf
aget-object v1, v1, v2
@ -2187,6 +2240,26 @@
return-object v0
.end method
.method private final getSheetLoadingContainer()Landroid/view/View;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->sheetLoadingContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x0
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
return-object v0
.end method
.method private final getUserProfileAdminCard()Landroid/view/View;
.locals 3
@ -2194,7 +2267,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x16
const/16 v2, 0x17
aget-object v1, v1, v2
@ -2214,7 +2287,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x17
const/16 v2, 0x18
aget-object v1, v1, v2
@ -2234,7 +2307,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x14
const/16 v2, 0x15
aget-object v1, v1, v2
@ -2254,7 +2327,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x1
const/4 v2, 0x2
aget-object v1, v1, v2
@ -2274,7 +2347,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x12
const/16 v2, 0x13
aget-object v1, v1, v2
@ -2294,7 +2367,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x6
const/4 v2, 0x7
aget-object v1, v1, v2
@ -2314,7 +2387,7 @@
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x11
const/16 v2, 0x12
aget-object v1, v1, v2
@ -2362,7 +2435,7 @@
.end method
.method private final handleEvent(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;)V
.locals 1
.locals 2
instance-of v0, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;
@ -2372,7 +2445,7 @@
invoke-direct {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->handleShowToast(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$ShowToast;)V
goto :goto_0
goto/16 :goto_0
:cond_0
instance-of v0, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchVoiceCall;
@ -2463,15 +2536,38 @@
goto :goto_0
:cond_8
instance-of p1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$DismissSheet;
instance-of v0, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;
if-eqz p1, :cond_9
if-eqz v0, :cond_9
const p1, 0x7f121384
const/4 v0, 0x0
const/4 v1, 0x4
invoke-static {p0, p1, v0, v1}, Le/a/b/j;->a(Landroidx/fragment/app/Fragment;III)V
invoke-direct {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->handleDismissSheet()V
goto :goto_0
:cond_9
instance-of p1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$DismissSheet;
if-eqz p1, :cond_a
invoke-direct {p0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->handleDismissSheet()V
:goto_0
return-void
:cond_a
new-instance p1, Lt/g;
invoke-direct {p1}, Lt/g;-><init>()V
throw p1
.end method
.method private final handleKickUser(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchKickUser;)V

View file

@ -61,20 +61,9 @@
.method public final invoke(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;)V
.locals 1
if-eqz p1, :cond_0
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
invoke-static {v0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->access$handleStoreState(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;)V
return-void
:cond_0
const-string p1, "storeState"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method

View file

@ -0,0 +1,42 @@
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;
.super Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
.source "WidgetUserSheetViewModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "UserNotFound"
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;-><init>()V
sput-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method

View file

@ -24,6 +24,7 @@
Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchBanUser;,
Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$LaunchMoveUser;,
Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$RequestPermissionsForSpectateStream;,
Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;,
Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$DismissSheet;
}
.end annotation

View file

@ -738,6 +738,17 @@
move-object/from16 v6, p0
if-nez p1, :cond_0
iget-object v0, v6, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->eventSubject:Lrx/subjects/PublishSubject;
sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$UserNotFound;
invoke-virtual {v0, v1}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
return-void
:cond_0
const-string v0, "handleStoreState. hashCode: "
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
@ -800,7 +811,7 @@
cmp-long v7, v2, v4
if-nez v7, :cond_0
if-nez v7, :cond_1
const/4 v2, 0x1
@ -808,7 +819,7 @@
goto :goto_0
:cond_0
:cond_1
const/4 v2, 0x0
const/4 v5, 0x0
@ -830,13 +841,13 @@
check-cast v1, Lcom/discord/models/domain/ModelGuildMember$Computed;
if-eqz v2, :cond_3
if-eqz v2, :cond_4
invoke-virtual {v2}, Lcom/discord/models/domain/ModelGuildMember$Computed;->getRoles()Ljava/util/List;
move-result-object v3
if-eqz v3, :cond_3
if-eqz v3, :cond_4
new-instance v7, Ljava/util/ArrayList;
@ -846,13 +857,13 @@
move-result-object v3
:cond_1
:cond_2
:goto_1
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v8
if-eqz v8, :cond_2
if-eqz v8, :cond_3
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
@ -866,22 +877,22 @@
check-cast v8, Lcom/discord/models/domain/ModelGuildRole;
if-eqz v8, :cond_1
if-eqz v8, :cond_2
invoke-interface {v7, v8}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_1
:cond_2
:cond_3
invoke-static {v7}, Lt/q/l;->sorted(Ljava/lang/Iterable;)Ljava/util/List;
move-result-object v3
if-eqz v3, :cond_3
if-eqz v3, :cond_4
goto :goto_2
:cond_3
:cond_4
sget-object v3, Lt/q/o;->d:Lt/q/o;
:goto_2
@ -889,15 +900,15 @@
const/16 v19, 0x0
if-eqz v2, :cond_5
if-eqz v2, :cond_6
if-eqz v1, :cond_5
if-eqz v1, :cond_6
if-nez v16, :cond_4
if-nez v16, :cond_5
goto :goto_3
:cond_4
:cond_5
sget-object v7, Lcom/discord/utilities/permissions/ManageUserContext;->Companion:Lcom/discord/utilities/permissions/ManageUserContext$Companion;
invoke-virtual {v1}, Lcom/discord/models/domain/ModelGuildMember$Computed;->getRoles()Ljava/util/List;
@ -934,12 +945,12 @@
goto :goto_4
:cond_5
:cond_6
:goto_3
move-object/from16 v7, v19
:goto_4
if-eqz v17, :cond_6
if-eqz v17, :cond_7
invoke-virtual/range {v17 .. v17}, Lcom/discord/models/domain/ModelChannel;->getOwnerId()J
@ -951,7 +962,7 @@
cmp-long v3, v1, v8
if-nez v3, :cond_6
if-nez v3, :cond_7
const/4 v1, 0x1
@ -959,7 +970,7 @@
goto :goto_5
:cond_6
:cond_7
const/4 v1, 0x0
const/4 v2, 0x0
@ -993,26 +1004,26 @@
check-cast v0, Lcom/discord/models/domain/ModelVoice$State;
if-nez v5, :cond_8
if-nez v5, :cond_9
iget-boolean v3, v6, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->isVoiceContext:Z
if-nez v3, :cond_7
if-nez v3, :cond_8
invoke-direct {v6, v0, v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->isInSameVoiceChannel(Lcom/discord/models/domain/ModelVoice$State;Lcom/discord/models/domain/ModelVoice$State;)Z
move-result v0
if-eqz v0, :cond_8
if-eqz v0, :cond_9
:cond_7
:cond_8
const/4 v0, 0x1
const/4 v10, 0x1
goto :goto_6
:cond_8
:cond_9
const/4 v0, 0x0
const/4 v10, 0x0
@ -1048,16 +1059,16 @@
check-cast v12, Lcom/discord/models/domain/ModelVoice$State;
if-nez v17, :cond_9
if-nez v17, :cond_a
goto :goto_8
:cond_9
:cond_a
invoke-virtual/range {v17 .. v17}, Lcom/discord/models/domain/ModelChannel;->isMultiUserDM()Z
move-result v0
if-eqz v0, :cond_a
if-eqz v0, :cond_b
invoke-virtual/range {v17 .. v17}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
@ -1065,8 +1076,8 @@
goto :goto_7
:cond_a
if-eqz v16, :cond_b
:cond_b
if-eqz v16, :cond_c
invoke-virtual/range {v16 .. v16}, Lcom/discord/models/domain/ModelGuild;->getName()Ljava/lang/String;
@ -1077,7 +1088,7 @@
goto :goto_9
:cond_b
:cond_c
:goto_8
move-object/from16 v14, v19
@ -1116,7 +1127,7 @@
move-result-object v1
if-eqz v16, :cond_c
if-eqz v16, :cond_d
invoke-virtual/range {v16 .. v16}, Lcom/discord/models/domain/ModelGuild;->getName()Ljava/lang/String;
@ -1124,16 +1135,16 @@
move-object/from16 v19, v2
:cond_c
:cond_d
invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;->getUserNote()Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_d
if-eqz v2, :cond_e
goto :goto_a
:cond_d
:cond_e
const-string v2, ""
:goto_a

View file

@ -0,0 +1,78 @@
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2$2;
.super Ljava/lang/Object;
.source "WidgetUserSheetViewModelFactory.kt"
# interfaces
.implements Lb0/l/i;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2;->call(Lkotlin/Pair;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lb0/l/i<",
"TT;TR;>;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2$2;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2$2;
invoke-direct {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2$2;-><init>()V
sput-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2$2;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2$2;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Long;
invoke-virtual {p0, p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2$2;->call(Ljava/lang/Long;)Ljava/lang/Void;
move-result-object p1
return-object p1
.end method
.method public final call(Ljava/lang/Long;)Ljava/lang/Void;
.locals 0
const/4 p1, 0x0
return-object p1
.end method

View file

@ -121,6 +121,7 @@
"Lcom/discord/models/domain/ModelUser;",
">;)",
"Lrx/Observable<",
"+",
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;",
">;"
}
@ -201,11 +202,19 @@
goto :goto_1
:cond_1
sget-object p1, Lb0/m/a/f;->e:Lrx/Observable;
const-wide/16 v0, 0x5
const-string v0, "Observable.empty()"
sget-object p1, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
invoke-static {p1, v0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, v1, p1}, Lrx/Observable;->i(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
move-result-object p1
sget-object v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2$2;->INSTANCE:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$2$2;
invoke-virtual {p1, v0}, Lrx/Observable;->f(Lb0/l/i;)Lrx/Observable;
move-result-object p1
:goto_1
return-object p1

View file

@ -428,7 +428,7 @@
move-result-object v0
const-string v1, "Observable\n .comb\u2026ervable.empty()\n }"
const-string v1, "Observable\n .comb\u2026S).map { null }\n }"
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

View file

@ -143,7 +143,7 @@
invoke-direct {p0}, Lcom/discord/app/AppDialog;-><init>()V
const v0, 0x7f0a08ab
const v0, 0x7f0a08ad
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -151,7 +151,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetCallFailed;->dialogHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08ac
const v0, 0x7f0a08ae
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -159,7 +159,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetCallFailed;->dialogText$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08aa
const v0, 0x7f0a08ac
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -167,7 +167,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetCallFailed;->dialogConfirm$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08a9
const v0, 0x7f0a08ab
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -48,7 +48,7 @@
invoke-static/range {v0 .. v6}, Lcom/discord/utilities/fcm/NotificationClient;->clear$default(Lcom/discord/utilities/fcm/NotificationClient;JLandroid/content/Context;ZILjava/lang/Object;)V
sget-object p2, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object p2, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;

View file

@ -77,7 +77,7 @@
invoke-direct {p0, p1, p2}, Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;-><init>(ILcom/discord/utilities/mg_recycler/MGRecyclerAdapter;)V
const p1, 0x7f0a08de
const p1, 0x7f0a08e0
invoke-static {p0, p1}, Lu/a/a2/w;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -278,7 +278,7 @@
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
const v0, 0x7f0a08ca
const v0, 0x7f0a08cc
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -286,7 +286,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallInline;->voiceConnectedContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08cb
const v0, 0x7f0a08cd
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -294,7 +294,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallInline;->voiceConnectedDescription$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08cc
const v0, 0x7f0a08ce
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -302,7 +302,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallInline;->voiceConnectedPTT$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08cf
const v0, 0x7f0a08d1
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -310,7 +310,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallInline;->voiceConnectedText$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08cd
const v0, 0x7f0a08cf
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -318,7 +318,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallInline;->voiceConnectedQuality$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08dc
const v0, 0x7f0a08de
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -326,7 +326,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallInline;->recycler$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08da
const v0, 0x7f0a08dc
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -334,7 +334,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallInline;->connectionIndicator$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08db
const v0, 0x7f0a08dd
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -342,7 +342,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallInline;->voiceInfoOverlay$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08df
const v0, 0x7f0a08e1
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -350,7 +350,7 @@
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallInline;->voiceOngoingContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08e0
const v0, 0x7f0a08e2
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -39,7 +39,7 @@
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
const v0, 0x7f0a08e3
const v0, 0x7f0a08e5
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -49,7 +49,7 @@
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
const v0, 0x7f0a08e6
const v0, 0x7f0a08e8
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -65,7 +65,7 @@
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
const v0, 0x7f0a08e7
const v0, 0x7f0a08e9
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -81,7 +81,7 @@
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
const v0, 0x7f0a08e4
const v0, 0x7f0a08e6
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -97,7 +97,7 @@
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
const v0, 0x7f0a08e2
const v0, 0x7f0a08e4
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -113,7 +113,7 @@
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
const v0, 0x7f0a08e5
const v0, 0x7f0a08e7
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
@ -129,7 +129,7 @@
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
const v0, 0x7f0a08e8
const v0, 0x7f0a08ea
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

View file

@ -291,7 +291,7 @@
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
const p2, 0x7f0a08d7
const p2, 0x7f0a08d9
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -299,7 +299,7 @@
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/VoiceControlsView;->numUsersConnectedTv$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a08d2
const p2, 0x7f0a08d4
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -307,7 +307,7 @@
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/VoiceControlsView;->connectButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a08d8
const p2, 0x7f0a08da
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -315,7 +315,7 @@
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/VoiceControlsView;->pttButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a08d3
const p2, 0x7f0a08d5
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -323,7 +323,7 @@
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/VoiceControlsView;->controlsWrap$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a08d4
const p2, 0x7f0a08d6
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -331,7 +331,7 @@
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/VoiceControlsView;->deafenStateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a08d9
const p2, 0x7f0a08db
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -339,7 +339,7 @@
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/VoiceControlsView;->speakerButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a08d6
const p2, 0x7f0a08d8
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
@ -347,7 +347,7 @@
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/VoiceControlsView;->muteStateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
const p2, 0x7f0a08d5
const p2, 0x7f0a08d7
invoke-static {p0, p2}, Lu/a/a2/w;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -119,7 +119,7 @@
invoke-direct {p0}, Lcom/discord/app/AppDialog;-><init>()V
const v0, 0x7f0a08ab
const v0, 0x7f0a08ad
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -127,7 +127,7 @@
iput-object v0, p0, Le/a/a/l;->d:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08ac
const v0, 0x7f0a08ae
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
@ -135,7 +135,7 @@
iput-object v0, p0, Le/a/a/l;->e:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a08aa
const v0, 0x7f0a08ac
invoke-static {p0, v0}, Lu/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;

View file

@ -315,7 +315,7 @@
new-instance v1, Lkotlin/text/Regex;
const-string v2, "^/profile/(\\d+)/?$"
const-string v2, "^/users/(\\d+)/?$"
invoke-direct {v1, v2, v0}, Lkotlin/text/Regex;-><init>(Ljava/lang/String;Lt/a0/h;)V

View file

@ -57,7 +57,7 @@
if-eqz v0, :cond_0
sget-object v0, Lcom/discord/app/DiscordConnectService;->e:Lcom/discord/app/DiscordConnectService$a;
sget-object v0, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;

View file

@ -489,11 +489,11 @@
.field public static final up:I = 0x7f0a0831
.field public static final view_offset_helper:I = 0x7f0a08ae
.field public static final view_offset_helper:I = 0x7f0a08b0
.field public static final visible:I = 0x7f0a08bf
.field public static final visible:I = 0x7f0a08c1
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
# direct methods

View file

@ -591,15 +591,15 @@
.field public static final up:I = 0x7f0a0831
.field public static final view_offset_helper:I = 0x7f0a08ae
.field public static final view_offset_helper:I = 0x7f0a08b0
.field public static final view_pager:I = 0x7f0a08b0
.field public static final view_pager:I = 0x7f0a08b2
.field public static final visible:I = 0x7f0a08bf
.field public static final visible:I = 0x7f0a08c1
.field public static final wrap:I = 0x7f0a090f
.field public static final wrap:I = 0x7f0a0911
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
# direct methods

View file

@ -267,17 +267,17 @@
.field public static final up:I = 0x7f0a0831
.field public static final view_overlay:I = 0x7f0a08af
.field public static final view_overlay:I = 0x7f0a08b1
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
.field public static final wrapper_controls:I = 0x7f0a0912
.field public static final wrapper_controls:I = 0x7f0a0914
.field public static final wrapper_reset_rotate:I = 0x7f0a0913
.field public static final wrapper_reset_rotate:I = 0x7f0a0915
.field public static final wrapper_rotate_by_angle:I = 0x7f0a0914
.field public static final wrapper_rotate_by_angle:I = 0x7f0a0916
.field public static final wrapper_states:I = 0x7f0a0915
.field public static final wrapper_states:I = 0x7f0a0917
# direct methods

View file

@ -259,17 +259,17 @@
.field public static final up:I = 0x7f0a0831
.field public static final view_overlay:I = 0x7f0a08af
.field public static final view_overlay:I = 0x7f0a08b1
.field public static final wrap_content:I = 0x7f0a0910
.field public static final wrap_content:I = 0x7f0a0912
.field public static final wrapper_controls:I = 0x7f0a0912
.field public static final wrapper_controls:I = 0x7f0a0914
.field public static final wrapper_reset_rotate:I = 0x7f0a0913
.field public static final wrapper_reset_rotate:I = 0x7f0a0915
.field public static final wrapper_rotate_by_angle:I = 0x7f0a0914
.field public static final wrapper_rotate_by_angle:I = 0x7f0a0916
.field public static final wrapper_states:I = 0x7f0a0915
.field public static final wrapper_states:I = 0x7f0a0917
# direct methods