104.1 - Alpha (104201)

This commit is contained in:
Juby210 2021-11-23 08:18:28 +01:00
parent 26375fdbe5
commit 8e8c9e9c98
73 changed files with 15571 additions and 14928 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 30
versionCode 104200
versionName "104.0 - Alpha"
versionCode 104201
versionName "104.1 - Alpha"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="104200" android:versionName="104.0 - Alpha" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="104201" android:versionName="104.1 - Alpha" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,18 @@
package com.discord.analytics.generated.events;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.analytics.generated.traits.TrackLocationMetadata;
import com.discord.analytics.generated.traits.TrackLocationMetadataReceiver;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackMultiAccountAccountRemove.kt */
public final class TrackMultiAccountAccountRemove implements AnalyticsSchema, TrackBaseReceiver, TrackLocationMetadataReceiver {
private final transient String analyticsSchemaTypeName = "multi_account_account_remove";
private TrackBase trackBase;
private TrackLocationMetadata trackLocationMetadata;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackMultiAccountAccountRemove.kt */
public interface TrackMultiAccountAccountRemoveReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,18 @@
package com.discord.analytics.generated.events;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.analytics.generated.traits.TrackLocationMetadata;
import com.discord.analytics.generated.traits.TrackLocationMetadataReceiver;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackMultiAccountSwitchAttempt.kt */
public final class TrackMultiAccountSwitchAttempt implements AnalyticsSchema, TrackBaseReceiver, TrackLocationMetadataReceiver {
private final transient String analyticsSchemaTypeName = "multi_account_switch_attempt";
private TrackBase trackBase;
private TrackLocationMetadata trackLocationMetadata;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackMultiAccountSwitchAttempt.kt */
public interface TrackMultiAccountSwitchAttemptReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,15 @@
package com.discord.analytics.generated.events;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackMultiAccountSwitchFailure.kt */
public final class TrackMultiAccountSwitchFailure implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "multi_account_switch_failure";
private TrackBase trackBase;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackMultiAccountSwitchFailure.kt */
public interface TrackMultiAccountSwitchFailureReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,49 @@
package com.discord.analytics.generated.events;
import c.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
import java.util.List;
/* compiled from: TrackMultiAccountSwitchSuccess.kt */
public final class TrackMultiAccountSwitchSuccess implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "multi_account_switch_success";
private final Long fromUserId = null;
private final List<Long> linkedUserIds = null;
private TrackBase trackBase;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackMultiAccountSwitchSuccess)) {
return false;
}
TrackMultiAccountSwitchSuccess trackMultiAccountSwitchSuccess = (TrackMultiAccountSwitchSuccess) obj;
return m.areEqual(this.fromUserId, trackMultiAccountSwitchSuccess.fromUserId) && m.areEqual(this.linkedUserIds, trackMultiAccountSwitchSuccess.linkedUserIds);
}
public int hashCode() {
Long l = this.fromUserId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
List<Long> list = this.linkedUserIds;
if (list != null) {
i = list.hashCode();
}
return hashCode + i;
}
public String toString() {
StringBuilder R = a.R("TrackMultiAccountSwitchSuccess(fromUserId=");
R.append(this.fromUserId);
R.append(", linkedUserIds=");
return a.J(R, this.linkedUserIds, ")");
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackMultiAccountSwitchSuccess.kt */
public interface TrackMultiAccountSwitchSuccessReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,51 @@
package com.discord.analytics.generated.events;
import c.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.analytics.generated.traits.TrackGuild;
import com.discord.analytics.generated.traits.TrackGuildReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackRoleSubscriptionListingDeletedV2.kt */
public final class TrackRoleSubscriptionListingDeletedV2 implements AnalyticsSchema, TrackBaseReceiver, TrackGuildReceiver {
private final transient String analyticsSchemaTypeName = "role_subscription_listing_deleted_v2";
private final Long roleSubscriptionGroupListingId = null;
private final Long roleSubscriptionListingId = null;
private TrackBase trackBase;
private TrackGuild trackGuild;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackRoleSubscriptionListingDeletedV2)) {
return false;
}
TrackRoleSubscriptionListingDeletedV2 trackRoleSubscriptionListingDeletedV2 = (TrackRoleSubscriptionListingDeletedV2) obj;
return m.areEqual(this.roleSubscriptionListingId, trackRoleSubscriptionListingDeletedV2.roleSubscriptionListingId) && m.areEqual(this.roleSubscriptionGroupListingId, trackRoleSubscriptionListingDeletedV2.roleSubscriptionGroupListingId);
}
public int hashCode() {
Long l = this.roleSubscriptionListingId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.roleSubscriptionGroupListingId;
if (l2 != null) {
i = l2.hashCode();
}
return hashCode + i;
}
public String toString() {
StringBuilder R = a.R("TrackRoleSubscriptionListingDeletedV2(roleSubscriptionListingId=");
R.append(this.roleSubscriptionListingId);
R.append(", roleSubscriptionGroupListingId=");
return a.F(R, this.roleSubscriptionGroupListingId, ")");
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackRoleSubscriptionListingDeletedV2.kt */
public interface TrackRoleSubscriptionListingDeletedV2Receiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,51 @@
package com.discord.analytics.generated.events;
import c.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.analytics.generated.traits.TrackGuild;
import com.discord.analytics.generated.traits.TrackGuildReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackRoleSubscriptionListingPublishedV2.kt */
public final class TrackRoleSubscriptionListingPublishedV2 implements AnalyticsSchema, TrackBaseReceiver, TrackGuildReceiver {
private final transient String analyticsSchemaTypeName = "role_subscription_listing_published_v2";
private final Long roleSubscriptionGroupListingId = null;
private final Long roleSubscriptionListingId = null;
private TrackBase trackBase;
private TrackGuild trackGuild;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackRoleSubscriptionListingPublishedV2)) {
return false;
}
TrackRoleSubscriptionListingPublishedV2 trackRoleSubscriptionListingPublishedV2 = (TrackRoleSubscriptionListingPublishedV2) obj;
return m.areEqual(this.roleSubscriptionListingId, trackRoleSubscriptionListingPublishedV2.roleSubscriptionListingId) && m.areEqual(this.roleSubscriptionGroupListingId, trackRoleSubscriptionListingPublishedV2.roleSubscriptionGroupListingId);
}
public int hashCode() {
Long l = this.roleSubscriptionListingId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.roleSubscriptionGroupListingId;
if (l2 != null) {
i = l2.hashCode();
}
return hashCode + i;
}
public String toString() {
StringBuilder R = a.R("TrackRoleSubscriptionListingPublishedV2(roleSubscriptionListingId=");
R.append(this.roleSubscriptionListingId);
R.append(", roleSubscriptionGroupListingId=");
return a.F(R, this.roleSubscriptionGroupListingId, ")");
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackRoleSubscriptionListingPublishedV2.kt */
public interface TrackRoleSubscriptionListingPublishedV2Receiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,51 @@
package com.discord.analytics.generated.events;
import c.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.analytics.generated.traits.TrackGuild;
import com.discord.analytics.generated.traits.TrackGuildReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackRoleSubscriptionListingUpdatedV2.kt */
public final class TrackRoleSubscriptionListingUpdatedV2 implements AnalyticsSchema, TrackBaseReceiver, TrackGuildReceiver {
private final transient String analyticsSchemaTypeName = "role_subscription_listing_updated_v2";
private final Long roleSubscriptionGroupListingId = null;
private final Long roleSubscriptionListingId = null;
private TrackBase trackBase;
private TrackGuild trackGuild;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackRoleSubscriptionListingUpdatedV2)) {
return false;
}
TrackRoleSubscriptionListingUpdatedV2 trackRoleSubscriptionListingUpdatedV2 = (TrackRoleSubscriptionListingUpdatedV2) obj;
return m.areEqual(this.roleSubscriptionListingId, trackRoleSubscriptionListingUpdatedV2.roleSubscriptionListingId) && m.areEqual(this.roleSubscriptionGroupListingId, trackRoleSubscriptionListingUpdatedV2.roleSubscriptionGroupListingId);
}
public int hashCode() {
Long l = this.roleSubscriptionListingId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.roleSubscriptionGroupListingId;
if (l2 != null) {
i = l2.hashCode();
}
return hashCode + i;
}
public String toString() {
StringBuilder R = a.R("TrackRoleSubscriptionListingUpdatedV2(roleSubscriptionListingId=");
R.append(this.roleSubscriptionListingId);
R.append(", roleSubscriptionGroupListingId=");
return a.F(R, this.roleSubscriptionGroupListingId, ")");
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackRoleSubscriptionListingUpdatedV2.kt */
public interface TrackRoleSubscriptionListingUpdatedV2Receiver extends AnalyticsSchema {
}

View File

@ -12,37 +12,19 @@ import d0.z.d.m;
import java.util.List;
/* compiled from: TrackRoleSubscriptionListingUpsellPageViewed.kt */
public final class TrackRoleSubscriptionListingUpsellPageViewed implements AnalyticsSchema, TrackBaseReceiver, TrackGuildReceiver, TrackChannelReceiver {
private final transient String analyticsSchemaTypeName;
private final Boolean isPremiumMember;
private final Long roleSubscriptionGroupListingId;
private final List<Long> roleSubscriptionListingIds;
private final transient String analyticsSchemaTypeName = "role_subscription_listing_upsell_page_viewed";
private final Boolean isPremiumMember = null;
private final Long roleSubscriptionGroupListingId = null;
private final List<Long> roleSubscriptionListingIds = null;
private TrackBase trackBase;
private TrackChannel trackChannel;
private TrackGuild trackGuild;
public TrackRoleSubscriptionListingUpsellPageViewed() {
this.roleSubscriptionGroupListingId = null;
this.roleSubscriptionListingIds = null;
this.isPremiumMember = null;
this.analyticsSchemaTypeName = "role_subscription_listing_upsell_page_viewed";
}
public TrackRoleSubscriptionListingUpsellPageViewed(Long l, List<Long> list, Boolean bool) {
this.roleSubscriptionGroupListingId = l;
this.roleSubscriptionListingIds = list;
this.isPremiumMember = bool;
this.analyticsSchemaTypeName = "role_subscription_listing_upsell_page_viewed";
}
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public void c(TrackBase trackBase) {
this.trackBase = trackBase;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;

View File

@ -0,0 +1,78 @@
package com.discord.analytics.generated.events;
import c.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.analytics.generated.traits.TrackChannel;
import com.discord.analytics.generated.traits.TrackChannelReceiver;
import com.discord.analytics.generated.traits.TrackGuild;
import com.discord.analytics.generated.traits.TrackGuildReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
import java.util.List;
/* compiled from: TrackRoleSubscriptionListingUpsellPageViewedV2.kt */
public final class TrackRoleSubscriptionListingUpsellPageViewedV2 implements AnalyticsSchema, TrackBaseReceiver, TrackGuildReceiver, TrackChannelReceiver {
private final transient String analyticsSchemaTypeName;
private final Boolean isPremiumMember;
private final Long roleSubscriptionGroupListingId;
private final List<Long> roleSubscriptionListingIds;
private TrackBase trackBase;
private TrackChannel trackChannel;
private TrackGuild trackGuild;
public TrackRoleSubscriptionListingUpsellPageViewedV2() {
this.roleSubscriptionGroupListingId = null;
this.roleSubscriptionListingIds = null;
this.isPremiumMember = null;
this.analyticsSchemaTypeName = "role_subscription_listing_upsell_page_viewed_v2";
}
public TrackRoleSubscriptionListingUpsellPageViewedV2(Long l, List<Long> list, Boolean bool) {
this.roleSubscriptionGroupListingId = l;
this.roleSubscriptionListingIds = list;
this.isPremiumMember = bool;
this.analyticsSchemaTypeName = "role_subscription_listing_upsell_page_viewed_v2";
}
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public void c(TrackBase trackBase) {
this.trackBase = trackBase;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackRoleSubscriptionListingUpsellPageViewedV2)) {
return false;
}
TrackRoleSubscriptionListingUpsellPageViewedV2 trackRoleSubscriptionListingUpsellPageViewedV2 = (TrackRoleSubscriptionListingUpsellPageViewedV2) obj;
return m.areEqual(this.roleSubscriptionGroupListingId, trackRoleSubscriptionListingUpsellPageViewedV2.roleSubscriptionGroupListingId) && m.areEqual(this.roleSubscriptionListingIds, trackRoleSubscriptionListingUpsellPageViewedV2.roleSubscriptionListingIds) && m.areEqual(this.isPremiumMember, trackRoleSubscriptionListingUpsellPageViewedV2.isPremiumMember);
}
public int hashCode() {
Long l = this.roleSubscriptionGroupListingId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
List<Long> list = this.roleSubscriptionListingIds;
int hashCode2 = (hashCode + (list != null ? list.hashCode() : 0)) * 31;
Boolean bool = this.isPremiumMember;
if (bool != null) {
i = bool.hashCode();
}
return hashCode2 + i;
}
public String toString() {
StringBuilder R = a.R("TrackRoleSubscriptionListingUpsellPageViewedV2(roleSubscriptionGroupListingId=");
R.append(this.roleSubscriptionGroupListingId);
R.append(", roleSubscriptionListingIds=");
R.append(this.roleSubscriptionListingIds);
R.append(", isPremiumMember=");
return a.C(R, this.isPremiumMember, ")");
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackRoleSubscriptionListingUpsellPageViewedV2.kt */
public interface TrackRoleSubscriptionListingUpsellPageViewedV2Receiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,37 @@
package com.discord.analytics.generated.events;
import c.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackUserReauth.kt */
public final class TrackUserReauth implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "user_reauth";
private final Boolean success = null;
private TrackBase trackBase;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof TrackUserReauth) && m.areEqual(this.success, ((TrackUserReauth) obj).success);
}
return true;
}
public int hashCode() {
Boolean bool = this.success;
if (bool != null) {
return bool.hashCode();
}
return 0;
}
public String toString() {
return a.C(a.R("TrackUserReauth(success="), this.success, ")");
}
}

View File

@ -0,0 +1,37 @@
package com.discord.analytics.generated.events;
import c.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackUserReauthCheck.kt */
public final class TrackUserReauthCheck implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "user_reauth_check";
private final Boolean requireAuth = null;
private TrackBase trackBase;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof TrackUserReauthCheck) && m.areEqual(this.requireAuth, ((TrackUserReauthCheck) obj).requireAuth);
}
return true;
}
public int hashCode() {
Boolean bool = this.requireAuth;
if (bool != null) {
return bool.hashCode();
}
return 0;
}
public String toString() {
return a.C(a.R("TrackUserReauthCheck(requireAuth="), this.requireAuth, ")");
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackUserReauthCheck.kt */
public interface TrackUserReauthCheckReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackUserReauth.kt */
public interface TrackUserReauthReceiver extends AnalyticsSchema {
}

View File

@ -0,0 +1,27 @@
package com.discord.analytics.generated.events.impression;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.analytics.generated.traits.TrackChannel;
import com.discord.analytics.generated.traits.TrackChannelReceiver;
import com.discord.analytics.generated.traits.TrackGuild;
import com.discord.analytics.generated.traits.TrackGuildReceiver;
import com.discord.analytics.generated.traits.TrackImpressionMetadata;
import com.discord.analytics.generated.traits.TrackImpressionMetadataReceiver;
import com.discord.analytics.generated.traits.TrackLocationMetadata;
import com.discord.analytics.generated.traits.TrackLocationMetadataReceiver;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackImpressionMultiAccountSwitchLanding.kt */
public final class TrackImpressionMultiAccountSwitchLanding implements AnalyticsSchema, TrackBaseReceiver, TrackGuildReceiver, TrackChannelReceiver, TrackLocationMetadataReceiver, TrackImpressionMetadataReceiver {
private final transient String analyticsSchemaTypeName = "impression_multi_account_switch_landing";
private TrackBase trackBase;
private TrackChannel trackChannel;
private TrackGuild trackGuild;
private TrackImpressionMetadata trackImpressionMetadata;
private TrackLocationMetadata trackLocationMetadata;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
}

View File

@ -0,0 +1,6 @@
package com.discord.analytics.generated.events.impression;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackImpressionMultiAccountSwitchLanding.kt */
public interface TrackImpressionMultiAccountSwitchLandingReceiver extends AnalyticsSchema {
}

View File

@ -13,17 +13,19 @@ import d0.z.d.m;
public final class TrackNetworkActionUserLogin implements AnalyticsSchema, TrackBaseReceiver, TrackLocationMetadataReceiver, TrackNetworkMetadataReceiver {
private final transient String analyticsSchemaTypeName;
private final CharSequence inviteCode;
private final Boolean isMultiAccount;
private TrackBase trackBase;
private TrackLocationMetadata trackLocationMetadata;
private TrackNetworkMetadata trackNetworkMetadata;
public TrackNetworkActionUserLogin() {
this.inviteCode = null;
this.analyticsSchemaTypeName = "network_action_user_login";
this(null, null, 3);
}
public TrackNetworkActionUserLogin(CharSequence charSequence) {
this.inviteCode = charSequence;
public TrackNetworkActionUserLogin(CharSequence charSequence, Boolean bool, int i) {
int i2 = i & 2;
this.inviteCode = (i & 1) != 0 ? null : charSequence;
this.isMultiAccount = null;
this.analyticsSchemaTypeName = "network_action_user_login";
}
@ -38,21 +40,31 @@ public final class TrackNetworkActionUserLogin implements AnalyticsSchema, Track
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof TrackNetworkActionUserLogin) && m.areEqual(this.inviteCode, ((TrackNetworkActionUserLogin) obj).inviteCode);
if (this == obj) {
return true;
}
return true;
if (!(obj instanceof TrackNetworkActionUserLogin)) {
return false;
}
TrackNetworkActionUserLogin trackNetworkActionUserLogin = (TrackNetworkActionUserLogin) obj;
return m.areEqual(this.inviteCode, trackNetworkActionUserLogin.inviteCode) && m.areEqual(this.isMultiAccount, trackNetworkActionUserLogin.isMultiAccount);
}
public int hashCode() {
CharSequence charSequence = this.inviteCode;
if (charSequence != null) {
return charSequence.hashCode();
int i = 0;
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
Boolean bool = this.isMultiAccount;
if (bool != null) {
i = bool.hashCode();
}
return 0;
return hashCode + i;
}
public String toString() {
return a.D(a.R("TrackNetworkActionUserLogin(inviteCode="), this.inviteCode, ")");
StringBuilder R = a.R("TrackNetworkActionUserLogin(inviteCode=");
R.append(this.inviteCode);
R.append(", isMultiAccount=");
return a.C(R, this.isMultiAccount, ")");
}
}

View File

@ -26,5 +26,6 @@ public enum GuildFeature {
SEVEN_DAY_THREAD_ARCHIVE,
NEW_THREAD_PERMISSIONS,
ROLE_ICONS,
ANIMATED_BANNER,
TEXT_IN_VOICE_ENABLED
}

View File

@ -10,7 +10,7 @@ public final class SubscriptionPlan {
private final SubscriptionInterval interval;
private final int intervalCount;
private final String name;
private final int priceTier;
private final int price;
public final long a() {
return this.f1623id;
@ -25,7 +25,7 @@ public final class SubscriptionPlan {
}
public final int d() {
return this.priceTier;
return this.price;
}
public boolean equals(Object obj) {
@ -36,7 +36,7 @@ public final class SubscriptionPlan {
return false;
}
SubscriptionPlan subscriptionPlan = (SubscriptionPlan) obj;
return this.f1623id == subscriptionPlan.f1623id && this.intervalCount == subscriptionPlan.intervalCount && m.areEqual(this.interval, subscriptionPlan.interval) && m.areEqual(this.name, subscriptionPlan.name) && this.priceTier == subscriptionPlan.priceTier;
return this.f1623id == subscriptionPlan.f1623id && this.intervalCount == subscriptionPlan.intervalCount && m.areEqual(this.interval, subscriptionPlan.interval) && m.areEqual(this.name, subscriptionPlan.name) && this.price == subscriptionPlan.price;
}
public int hashCode() {
@ -49,7 +49,7 @@ public final class SubscriptionPlan {
if (str != null) {
i2 = str.hashCode();
}
return ((hashCode + i2) * 31) + this.priceTier;
return ((hashCode + i2) * 31) + this.price;
}
public String toString() {
@ -61,7 +61,7 @@ public final class SubscriptionPlan {
R.append(this.interval);
R.append(", name=");
R.append(this.name);
R.append(", priceTier=");
return a.A(R, this.priceTier, ")");
R.append(", price=");
return a.A(R, this.price, ")");
}
}

View File

@ -18,37 +18,44 @@ import com.discord.widgets.user.profile.UserProfileAdminView;
import com.discord.widgets.user.profile.UserProfileConnectionsView;
import com.discord.widgets.user.profile.UserProfileHeaderView;
import com.discord.widgets.user.usersheet.UserProfileVoiceSettingsView;
import com.facebook.drawee.view.SimpleDraweeView;
import com.google.android.flexbox.FlexboxLayout;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.textfield.TextInputEditText;
import com.google.android.material.textfield.TextInputLayout;
public final class WidgetUserSheetBinding implements ViewBinding {
@NonNull
public final LinearLayout A;
public final TextInputEditText A;
@NonNull
public final View B;
public final TextInputLayout B;
@NonNull
public final MaterialButton C;
public final Button C;
@NonNull
public final FlexboxLayout D;
public final LinearLayout D;
@NonNull
public final UserProfileHeaderView E;
public final View E;
@NonNull
public final MaterialButton F;
@NonNull
public final CardView G;
public final FlexboxLayout G;
@NonNull
public final UserProfileStageActionsView H;
public final UserProfileHeaderView H;
@NonNull
public final TextView I;
public final MaterialButton I;
@NonNull
public final UserProfileVoiceSettingsView J;
public final CardView J;
@NonNull
public final RolesListView K;
public final UserProfileStageActionsView K;
@NonNull
public final Button L;
public final TextView L;
@NonNull
public final CardView M;
public final UserProfileVoiceSettingsView M;
@NonNull
public final RolesListView N;
@NonNull
public final Button O;
@NonNull
public final CardView P;
@NonNull
public final NestedScrollView a;
@NonNull
@ -56,102 +63,105 @@ public final class WidgetUserSheetBinding implements ViewBinding {
@NonNull
/* renamed from: c reason: collision with root package name */
public final TextView f2118c;
public final SimpleDraweeView f2118c;
@NonNull
public final LinkifiedTextView d;
public final TextView d;
@NonNull
public final FrameLayout e;
public final TextView e;
@NonNull
public final Button f;
public final FlexboxLayout f;
@NonNull
public final CardView g;
public final LinkifiedTextView g;
@NonNull
public final UserProfileAdminView h;
public final FrameLayout h;
@NonNull
public final Button i;
@NonNull
public final TextView j;
public final CardView j;
@NonNull
public final UserProfileConnectionsView k;
public final UserProfileAdminView k;
@NonNull
public final TextView l;
public final Button l;
@NonNull
public final TextView m;
@NonNull
public final MaterialButton n;
public final UserProfileConnectionsView n;
@NonNull
public final MaterialButton o;
public final TextView o;
@NonNull
public final LinearLayout p;
public final TextView p;
@NonNull
public final LinearLayout q;
public final MaterialButton q;
@NonNull
public final TextView r;
public final MaterialButton r;
@NonNull
/* renamed from: s reason: collision with root package name */
public final TextView f2119s;
public final LinearLayout f2119s;
@NonNull
public final FrameLayout t;
public final LinearLayout t;
@NonNull
public final Button u;
public final TextView u;
@NonNull
public final ImageView v;
public final TextView v;
@NonNull
public final TextView w;
public final FrameLayout w;
@NonNull
/* renamed from: x reason: collision with root package name */
public final TextInputEditText f2120x;
public final Button f2120x;
@NonNull
/* renamed from: y reason: collision with root package name */
public final TextInputLayout f2121y;
public final ImageView f2121y;
@NonNull
/* renamed from: z reason: collision with root package name */
public final Button f2122z;
public final TextView f2122z;
public WidgetUserSheetBinding(@NonNull NestedScrollView nestedScrollView, @NonNull CardView cardView, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull ContentLoadingProgressBar contentLoadingProgressBar, @NonNull FrameLayout frameLayout, @NonNull Button button, @NonNull CardView cardView2, @NonNull UserProfileAdminView userProfileAdminView, @NonNull Button button2, @NonNull TextView textView2, @NonNull UserProfileConnectionsView userProfileConnectionsView, @NonNull LinearLayout linearLayout, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull LinearLayout linearLayout2, @NonNull LinearLayout linearLayout3, @NonNull TextView textView5, @NonNull TextView textView6, @NonNull FrameLayout frameLayout2, @NonNull Button button3, @NonNull ImageView imageView, @NonNull TextView textView7, @NonNull TextInputEditText textInputEditText, @NonNull TextInputLayout textInputLayout, @NonNull Button button4, @NonNull LinearLayout linearLayout4, @NonNull View view, @NonNull MaterialButton materialButton3, @NonNull FlexboxLayout flexboxLayout, @NonNull UserProfileHeaderView userProfileHeaderView, @NonNull MaterialButton materialButton4, @NonNull CardView cardView3, @NonNull UserProfileStageActionsView userProfileStageActionsView, @NonNull TextView textView8, @NonNull UserProfileVoiceSettingsView userProfileVoiceSettingsView, @NonNull RolesListView rolesListView, @NonNull Button button5, @NonNull CardView cardView4) {
public WidgetUserSheetBinding(@NonNull NestedScrollView nestedScrollView, @NonNull CardView cardView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull FlexboxLayout flexboxLayout, @NonNull LinkifiedTextView linkifiedTextView, @NonNull ContentLoadingProgressBar contentLoadingProgressBar, @NonNull FrameLayout frameLayout, @NonNull Button button, @NonNull CardView cardView2, @NonNull UserProfileAdminView userProfileAdminView, @NonNull Button button2, @NonNull TextView textView3, @NonNull UserProfileConnectionsView userProfileConnectionsView, @NonNull LinearLayout linearLayout, @NonNull TextView textView4, @NonNull TextView textView5, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull LinearLayout linearLayout2, @NonNull LinearLayout linearLayout3, @NonNull TextView textView6, @NonNull TextView textView7, @NonNull FrameLayout frameLayout2, @NonNull Button button3, @NonNull ImageView imageView, @NonNull TextView textView8, @NonNull TextInputEditText textInputEditText, @NonNull TextInputLayout textInputLayout, @NonNull Button button4, @NonNull LinearLayout linearLayout4, @NonNull View view, @NonNull MaterialButton materialButton3, @NonNull FlexboxLayout flexboxLayout2, @NonNull UserProfileHeaderView userProfileHeaderView, @NonNull MaterialButton materialButton4, @NonNull CardView cardView3, @NonNull UserProfileStageActionsView userProfileStageActionsView, @NonNull TextView textView9, @NonNull UserProfileVoiceSettingsView userProfileVoiceSettingsView, @NonNull RolesListView rolesListView, @NonNull Button button5, @NonNull CardView cardView4) {
this.a = nestedScrollView;
this.b = cardView;
this.f2118c = textView;
this.d = linkifiedTextView;
this.e = frameLayout;
this.f = button;
this.g = cardView2;
this.h = userProfileAdminView;
this.i = button2;
this.j = textView2;
this.k = userProfileConnectionsView;
this.l = textView3;
this.m = textView4;
this.n = materialButton;
this.o = materialButton2;
this.p = linearLayout2;
this.q = linearLayout3;
this.r = textView5;
this.f2119s = textView6;
this.t = frameLayout2;
this.u = button3;
this.v = imageView;
this.w = textView7;
this.f2120x = textInputEditText;
this.f2121y = textInputLayout;
this.f2122z = button4;
this.A = linearLayout4;
this.B = view;
this.C = materialButton3;
this.D = flexboxLayout;
this.E = userProfileHeaderView;
this.F = materialButton4;
this.G = cardView3;
this.H = userProfileStageActionsView;
this.I = textView8;
this.J = userProfileVoiceSettingsView;
this.K = rolesListView;
this.L = button5;
this.M = cardView4;
this.f2118c = simpleDraweeView;
this.d = textView;
this.e = textView2;
this.f = flexboxLayout;
this.g = linkifiedTextView;
this.h = frameLayout;
this.i = button;
this.j = cardView2;
this.k = userProfileAdminView;
this.l = button2;
this.m = textView3;
this.n = userProfileConnectionsView;
this.o = textView4;
this.p = textView5;
this.q = materialButton;
this.r = materialButton2;
this.f2119s = linearLayout2;
this.t = linearLayout3;
this.u = textView6;
this.v = textView7;
this.w = frameLayout2;
this.f2120x = button3;
this.f2121y = imageView;
this.f2122z = textView8;
this.A = textInputEditText;
this.B = textInputLayout;
this.C = button4;
this.D = linearLayout4;
this.E = view;
this.F = materialButton3;
this.G = flexboxLayout2;
this.H = userProfileHeaderView;
this.I = materialButton4;
this.J = cardView3;
this.K = userProfileStageActionsView;
this.L = textView9;
this.M = userProfileVoiceSettingsView;
this.N = rolesListView;
this.O = button5;
this.P = cardView4;
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -33,7 +33,7 @@ public final class StoreAuthentication$login$1<T, R> implements b<String, Observ
public final TrackNetworkMetadataReceiver invoke(ModelLoginResult modelLoginResult) {
Observable<T> L = ObservableExtensionsKt.takeSingleUntilTimeout$default(StoreStream.Companion.getInviteSettings().getInvite(), 250, false, 2, null).L(StoreAuthentication$login$1$1$invite$1.INSTANCE);
ModelInvite modelInvite = (ModelInvite) new a(L).a(L.y());
return new TrackNetworkActionUserLogin(modelInvite != null ? modelInvite.code : null);
return new TrackNetworkActionUserLogin(modelInvite != null ? modelInvite.code : null, null, 2);
}
}

View File

@ -13,7 +13,7 @@ import com.adjust.sdk.Adjust;
import com.adjust.sdk.AdjustAttribution;
import com.adjust.sdk.AdjustEvent;
import com.discord.analytics.generated.events.TrackAgeGateSubmitted;
import com.discord.analytics.generated.events.TrackRoleSubscriptionListingUpsellPageViewed;
import com.discord.analytics.generated.events.TrackRoleSubscriptionListingUpsellPageViewedV2;
import com.discord.analytics.generated.events.impression.TrackImpressionInviteAccept;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackSourceMetadata;
@ -1416,9 +1416,9 @@ public final class AnalyticsTracker {
public final void guildRoleSubscriptionUpsellOpened(long j, List<Long> list, boolean z2, String str) {
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_LOCATION);
AnalyticsUtils.Tracker tracker2 = tracker;
TrackRoleSubscriptionListingUpsellPageViewed trackRoleSubscriptionListingUpsellPageViewed = new TrackRoleSubscriptionListingUpsellPageViewed(Long.valueOf(j), list, Boolean.valueOf(z2));
trackRoleSubscriptionListingUpsellPageViewed.c(new TrackBase(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, str, null, null, null, null, null, null, null, null, -1, -1073741825, 127));
tracker2.track(trackRoleSubscriptionListingUpsellPageViewed);
TrackRoleSubscriptionListingUpsellPageViewedV2 trackRoleSubscriptionListingUpsellPageViewedV2 = new TrackRoleSubscriptionListingUpsellPageViewedV2(Long.valueOf(j), list, Boolean.valueOf(z2));
trackRoleSubscriptionListingUpsellPageViewedV2.c(new TrackBase(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, str, null, null, null, null, null, null, null, null, -1, -1073741825, 127));
tracker2.track(trackRoleSubscriptionListingUpsellPageViewedV2);
}
public final void guildTemplateResolved(ModelGuildTemplate modelGuildTemplate) {

File diff suppressed because one or more lines are too long

View File

@ -92,18 +92,24 @@ public final class IconUtils {
return null;
}
public static /* synthetic */ String getBannerForGuild$default(IconUtils iconUtils, Guild guild, Integer num, int i, Object obj) {
public static /* synthetic */ String getBannerForGuild$default(IconUtils iconUtils, Guild guild, Integer num, boolean z2, int i, Object obj) {
if ((i & 2) != 0) {
num = null;
}
return iconUtils.getBannerForGuild(guild, num);
if ((i & 4) != 0) {
z2 = false;
}
return iconUtils.getBannerForGuild(guild, num, z2);
}
public static /* synthetic */ String getBannerForGuild$default(IconUtils iconUtils, Long l, String str, Integer num, int i, Object obj) {
public static /* synthetic */ String getBannerForGuild$default(IconUtils iconUtils, Long l, String str, Integer num, boolean z2, int i, Object obj) {
if ((i & 4) != 0) {
num = null;
}
return iconUtils.getBannerForGuild(l, str, num);
if ((i & 8) != 0) {
z2 = false;
}
return iconUtils.getBannerForGuild(l, str, num, z2);
}
public static final String getForChannel(long j, String str, int i, boolean z2, Integer num) {
@ -667,37 +673,36 @@ public final class IconUtils {
}
}
public final String getBannerForGuild(Guild guild, Integer num) {
public final String getBannerForGuild(Guild guild, Integer num, boolean z2) {
String str = null;
Long valueOf = guild != null ? Long.valueOf(guild.getId()) : null;
if (guild != null) {
str = guild.getBanner();
}
return getBannerForGuild(valueOf, str, num);
return getBannerForGuild(valueOf, str, num, z2);
}
public final String getBannerForGuild(Long l, String str, Integer num) {
String str2 = null;
public final String getBannerForGuild(Long l, String str, Integer num, boolean z2) {
String str2;
String str3 = null;
if (l == null || str == null) {
return null;
}
Integer valueOf = num != null ? Integer.valueOf(getMediaProxySize(num.intValue())) : null;
if (BuildConfig.HOST_CDN.length() == 0) {
return "https://discord.com/api//guilds/" + l + "/banners/" + str + ".jpg";
}
StringBuilder sb = new StringBuilder();
sb.append("https://cdn.discordapp.com/banners/");
sb.append(l);
sb.append(MentionUtilsKt.SLASH_CHAR);
sb.append(str);
sb.append(".jpg");
if (valueOf != null) {
str2 = a.p("?size=", valueOf.intValue());
}
if (str2 == null) {
str2 = "";
if (BuildConfig.HOST_CDN.length() == 0) {
str2 = "https://discord.com/api//guilds/" + l + "/banners/" + str + ".jpg";
} else {
str2 = "https://cdn.discordapp.com/banners/" + l + MentionUtilsKt.SLASH_CHAR + str + '.' + getImageExtension(str, z2);
}
sb.append(str2);
if (valueOf != null) {
str3 = a.p("?size=", valueOf.intValue());
}
if (str3 == null) {
str3 = "";
}
sb.append(str3);
return sb.toString();
}

View File

@ -16,10 +16,10 @@ public final class WidgetAuthMfa$onViewBound$1<T1, T2> implements Action2<MenuIt
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_auth_mfa_backup_codes /* 2131364205 */:
case R.id.menu_auth_mfa_backup_codes /* 2131364208 */:
WidgetAuthMfa.access$showBackupCodesDialog(this.this$0);
return;
case R.id.menu_auth_mfa_info /* 2131364206 */:
case R.id.menu_auth_mfa_info /* 2131364209 */:
WidgetAuthMfa.access$showInfoDialog(this.this$0);
return;
default:

View File

@ -21,6 +21,7 @@ import com.discord.R;
import com.discord.api.guild.GuildFeature;
import com.discord.app.AppFragment;
import com.discord.databinding.WidgetChannelsListBinding;
import com.discord.models.experiments.domain.Experiment;
import com.discord.models.guild.Guild;
import com.discord.stores.StoreNavigation;
import com.discord.stores.StoreStream;
@ -30,6 +31,7 @@ import com.discord.utilities.dimen.DimenUtils;
import com.discord.utilities.drawable.DrawableCompat;
import com.discord.utilities.hubs.HubUtilsKt;
import com.discord.utilities.icon.IconUtils;
import com.discord.utilities.images.MGImages;
import com.discord.utilities.mg_recycler.MGRecyclerAdapter;
import com.discord.utilities.rx.ObservableExtensionsKt;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
@ -209,6 +211,9 @@ public final class WidgetChannelsList extends AppFragment {
textView.setCompoundDrawablesWithIntrinsicBounds(drawable2, (Drawable) null, drawable, (Drawable) null);
}
/* JADX WARNING: Code restructure failed: missing block: B:112:0x01ec, code lost:
if ((r1 != null ? r1.hasFeature(com.discord.api.guild.GuildFeature.ANIMATED_BANNER) : false) != false) goto L_0x01f0;
*/
private final void configureUI(WidgetChannelListModel widgetChannelListModel) {
Guild selectedGuild = widgetChannelListModel.getSelectedGuild();
String str = null;
@ -278,10 +283,7 @@ public final class WidgetChannelsList extends AppFragment {
simpleDraweeView.setVisibility(z3 ? 0 : 8);
FrameLayout frameLayout = getBinding().e;
m.checkNotNullExpressionValue(frameLayout, "binding.channelsListBannerForeground");
if (!z3 || this.isCollapsed) {
z2 = false;
}
frameLayout.setVisibility(z2 ? 0 : 8);
frameLayout.setVisibility(z3 && !this.isCollapsed ? 0 : 8);
if (z3) {
SimpleDraweeView simpleDraweeView2 = getBinding().d;
ViewGroup.LayoutParams layoutParams3 = simpleDraweeView2.getLayoutParams();
@ -289,7 +291,12 @@ public final class WidgetChannelsList extends AppFragment {
ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) layoutParams3;
marginLayoutParams.bottomMargin = !widgetChannelListModel.getStartsWithPaddedElement() ? DimenUtils.dpToPixels(8) : 0;
simpleDraweeView2.setLayoutParams(marginLayoutParams);
simpleDraweeView2.setImageURI(IconUtils.INSTANCE.getBannerForGuild(selectedGuild, Integer.valueOf(simpleDraweeView2.getResources().getDimensionPixelSize(R.dimen.nav_panel_width))));
Experiment guildExperiment = StoreStream.Companion.getExperiments().getGuildExperiment("2021-10_animated_guild_banners", selectedGuild != null ? selectedGuild.getId() : 0, true);
if (guildExperiment != null && guildExperiment.getBucket() == 1) {
}
z2 = false;
m.checkNotNullExpressionValue(simpleDraweeView2, "this");
MGImages.setImage$default(simpleDraweeView2, IconUtils.INSTANCE.getBannerForGuild(selectedGuild, Integer.valueOf(simpleDraweeView2.getResources().getDimensionPixelSize(R.dimen.nav_panel_width)), z2), 0, 0, false, null, null, 124, null);
}
getBinding().b.setOnPercentCollapsedCallback(new WidgetChannelsList$configureUI$5(this, selectedGuild, widgetChannelListModel, z3));
ConstraintLayout constraintLayout = getBinding().h;

View File

@ -99,68 +99,68 @@ public final class WidgetChannelSettingsEditPermissions extends AppFragment {
@SuppressLint({"NonConstantResourceId"})
private final long getPermission(@IdRes int i) {
switch (i) {
case R.id.channel_permission_events_manage_events /* 2131362349 */:
case R.id.channel_permission_events_manage_events /* 2131362352 */:
return Permission.MANAGE_EVENTS;
case R.id.channel_permission_general_create_instant_invite /* 2131362350 */:
case R.id.channel_permission_general_create_instant_invite /* 2131362353 */:
return 1;
case R.id.channel_permission_general_manage_channel /* 2131362351 */:
case R.id.channel_permission_general_manage_channel /* 2131362354 */:
return 16;
case R.id.channel_permission_general_manage_permissions /* 2131362352 */:
case R.id.channel_permission_general_manage_permissions /* 2131362355 */:
return Permission.MANAGE_ROLES;
case R.id.channel_permission_general_manage_threads /* 2131362353 */:
case R.id.channel_permission_general_manage_threads /* 2131362356 */:
return Permission.MANAGE_THREADS;
case R.id.channel_permission_general_manage_webhooks /* 2131362354 */:
case R.id.channel_permission_general_manage_webhooks /* 2131362357 */:
return Permission.MANAGE_WEBHOOKS;
case R.id.channel_permission_owner_view /* 2131362355 */:
case R.id.channel_permission_owner_view /* 2131362358 */:
default:
throw new IllegalArgumentException(a.p("Invalid ID: ", i));
case R.id.channel_permission_stage_request_to_speak /* 2131362356 */:
case R.id.channel_permission_stage_request_to_speak /* 2131362359 */:
return Permission.REQUEST_TO_SPEAK;
case R.id.channel_permission_text_add_reactions /* 2131362357 */:
case R.id.channel_permission_text_add_reactions /* 2131362360 */:
return 64;
case R.id.channel_permission_text_attach_files /* 2131362358 */:
case R.id.channel_permission_text_attach_files /* 2131362361 */:
return Permission.ATTACH_FILES;
case R.id.channel_permission_text_create_private_threads /* 2131362359 */:
case R.id.channel_permission_text_create_private_threads /* 2131362362 */:
return Permission.CREATE_PRIVATE_THREADS;
case R.id.channel_permission_text_create_public_threads /* 2131362360 */:
case R.id.channel_permission_text_create_public_threads /* 2131362363 */:
return Permission.CREATE_PUBLIC_THREADS;
case R.id.channel_permission_text_embed_links /* 2131362361 */:
case R.id.channel_permission_text_embed_links /* 2131362364 */:
return Permission.EMBED_LINKS;
case R.id.channel_permission_text_manage_messages /* 2131362362 */:
case R.id.channel_permission_text_manage_messages /* 2131362365 */:
return Permission.MANAGE_MESSAGES;
case R.id.channel_permission_text_mention_everyone /* 2131362363 */:
case R.id.channel_permission_text_mention_everyone /* 2131362366 */:
return Permission.MENTION_EVERYONE;
case R.id.channel_permission_text_read_message_history /* 2131362364 */:
case R.id.channel_permission_text_read_message_history /* 2131362367 */:
return Permission.READ_MESSAGE_HISTORY;
case R.id.channel_permission_text_read_messages /* 2131362365 */:
case R.id.channel_permission_text_read_messages /* 2131362368 */:
return Permission.VIEW_CHANNEL;
case R.id.channel_permission_text_send_messages /* 2131362366 */:
case R.id.channel_permission_text_send_messages /* 2131362369 */:
return Permission.SEND_MESSAGES;
case R.id.channel_permission_text_send_messages_in_threads /* 2131362367 */:
case R.id.channel_permission_text_send_messages_in_threads /* 2131362370 */:
return Permission.SEND_MESSAGES_IN_THREADS;
case R.id.channel_permission_text_send_tts_messages /* 2131362368 */:
case R.id.channel_permission_text_send_tts_messages /* 2131362371 */:
return Permission.SEND_TTS_MESSAGES;
case R.id.channel_permission_text_use_external_emojis /* 2131362369 */:
case R.id.channel_permission_text_use_external_emojis /* 2131362372 */:
return Permission.USE_EXTERNAL_EMOJIS;
case R.id.channel_permission_text_use_external_stickers /* 2131362370 */:
case R.id.channel_permission_text_use_external_stickers /* 2131362373 */:
return Permission.USE_EXTERNAL_STICKERS;
case R.id.channel_permission_use_application_commands /* 2131362371 */:
case R.id.channel_permission_use_application_commands /* 2131362374 */:
return Permission.USE_APPLICATION_COMMANDS;
case R.id.channel_permission_voice_connect /* 2131362372 */:
case R.id.channel_permission_voice_connect /* 2131362375 */:
return Permission.CONNECT;
case R.id.channel_permission_voice_deafen_members /* 2131362373 */:
case R.id.channel_permission_voice_deafen_members /* 2131362376 */:
return Permission.DEAFEN_MEMBERS;
case R.id.channel_permission_voice_move_members /* 2131362374 */:
case R.id.channel_permission_voice_move_members /* 2131362377 */:
return Permission.MOVE_MEMBERS;
case R.id.channel_permission_voice_mute_members /* 2131362375 */:
case R.id.channel_permission_voice_mute_members /* 2131362378 */:
return Permission.MUTE_MEMBERS;
case R.id.channel_permission_voice_priority_speaker /* 2131362376 */:
case R.id.channel_permission_voice_priority_speaker /* 2131362379 */:
return 256;
case R.id.channel_permission_voice_speak /* 2131362377 */:
case R.id.channel_permission_voice_speak /* 2131362380 */:
return Permission.SPEAK;
case R.id.channel_permission_voice_use_vad /* 2131362378 */:
case R.id.channel_permission_voice_use_vad /* 2131362381 */:
return Permission.USE_VAD;
case R.id.channel_permission_voice_video /* 2131362379 */:
case R.id.channel_permission_voice_video /* 2131362382 */:
return 512;
}
}

View File

@ -21,7 +21,7 @@ public final class WidgetTextChannelSettings$configureUI$1<T1, T2> implements Ac
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_channel_settings_delete /* 2131364211 */:
case R.id.menu_channel_settings_delete /* 2131364214 */:
if (this.$this_configureUI.isPublicGuildRulesChannel() || this.$this_configureUI.isPublicGuildUpdatesChannel()) {
WidgetTextChannelSettings.access$cannotDeleteWarn(this.this$0, this.$this_configureUI.isPublicGuildRulesChannel());
return;
@ -29,7 +29,7 @@ public final class WidgetTextChannelSettings$configureUI$1<T1, T2> implements Ac
WidgetTextChannelSettings.access$confirmDelete(this.this$0, this.$this_configureUI.getChannel());
return;
}
case R.id.menu_channel_settings_reset /* 2131364212 */:
case R.id.menu_channel_settings_reset /* 2131364215 */:
StoreUserGuildSettings userGuildSettings = StoreStream.Companion.getUserGuildSettings();
m.checkNotNullExpressionValue(context, "context");
userGuildSettings.setChannelNotificationsDefault(context, this.$this_configureUI.getChannel());

View File

@ -19,11 +19,11 @@ public final class WidgetThreadBrowser$updateMenu$1<T1, T2> implements Action2<M
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_thread_browser_create_thread /* 2131364257 */:
case R.id.menu_thread_browser_create_thread /* 2131364260 */:
ChannelSelector.openCreateThread$default(ChannelSelector.Companion.getInstance(), WidgetThreadBrowser.access$getGuildId$p(this.this$0), WidgetThreadBrowser.access$getChannelId$p(this.this$0), null, "Thread Browser Toolbar", 4, null);
this.this$0.requireAppActivity().finish();
return;
case R.id.menu_thread_browser_filters /* 2131364258 */:
case R.id.menu_thread_browser_filters /* 2131364261 */:
WidgetThreadBrowserFilterSheet.Companion companion = WidgetThreadBrowserFilterSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");

View File

@ -27,19 +27,19 @@ public final class WidgetFriendsList$configureToolbar$1<T1, T2> implements Actio
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_friends_add_friend /* 2131364231 */:
case R.id.menu_friends_add_friend /* 2131364234 */:
WidgetFriendsAdd.Companion companion = WidgetFriendsAdd.Companion;
m.checkNotNullExpressionValue(context, "context");
WidgetFriendsAdd.Companion.show$default(companion, context, null, "Friends", 2, null);
return;
case R.id.menu_friends_contact_sync /* 2131364232 */:
case R.id.menu_friends_contact_sync /* 2131364235 */:
ContactSyncFlowAnalytics.Companion.trackStart$default(ContactSyncFlowAnalytics.Companion, false, g0.mapOf(o.to("location_page", "Friends List Icon")), 1, null);
AnalyticsTracker.INSTANCE.openModal("Contact Sync", new Traits.Location("Friends List Icon", null, null, null, null, 30, null));
WidgetContactSync.Companion companion2 = WidgetContactSync.Companion;
m.checkNotNullExpressionValue(context, "context");
WidgetContactSync.Companion.launch$default(companion2, context, null, false, false, false, 30, null);
return;
case R.id.menu_friends_start_group /* 2131364233 */:
case R.id.menu_friends_start_group /* 2131364236 */:
if (GroupInviteFriendsSheetFeatureFlag.Companion.getINSTANCE().isEnabled()) {
GroupInviteFriendsSheet.Companion companion3 = GroupInviteFriendsSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();

View File

@ -45,8 +45,8 @@ public final class GuildRoleSubscriptionUtilsKt {
return Boolean.valueOf(!PermissionUtils.INSTANCE.canRole(Permission.VIEW_CHANNEL, map != null ? map.get(Long.valueOf(guildRoleSubscriptionGroupListing.e())) : null, null));
}
public static final int getPriceTier(GuildRoleSubscriptionTierListing guildRoleSubscriptionTierListing) {
m.checkNotNullParameter(guildRoleSubscriptionTierListing, "$this$getPriceTier");
public static final int getPrice(GuildRoleSubscriptionTierListing guildRoleSubscriptionTierListing) {
m.checkNotNullParameter(guildRoleSubscriptionTierListing, "$this$getPrice");
SubscriptionPlan subscriptionPlan = (SubscriptionPlan) u.getOrNull(guildRoleSubscriptionTierListing.i(), 0);
if (subscriptionPlan != null) {
return subscriptionPlan.d();

View File

@ -416,7 +416,7 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (banner.getHash() != null) {
int ordinal = banner.getType().ordinal();
if (ordinal == 0) {
str = IconUtils.INSTANCE.getBannerForGuild(Long.valueOf(banner.getGuildId()), banner.getHash(), Integer.valueOf(getResources().getDimensionPixelSize(R.dimen.nav_panel_width)));
str = IconUtils.getBannerForGuild$default(IconUtils.INSTANCE, Long.valueOf(banner.getGuildId()), banner.getHash(), Integer.valueOf(getResources().getDimensionPixelSize(R.dimen.nav_panel_width)), false, 8, null);
} else if (ordinal == 1) {
str = IconUtils.INSTANCE.getGuildSplashUrl(banner.getGuildId(), banner.getHash(), Integer.valueOf(getResources().getDimensionPixelSize(R.dimen.nav_panel_width)));
} else {

View File

@ -47,25 +47,25 @@ public final class WidgetHomeHeaderManager$getOnSelectedAction$1 implements Acti
m.checkNotNullExpressionValue(parentFragmentManager, "appFragment.parentFragmentManager");
PrivateCallLauncher privateCallLauncher = new PrivateCallLauncher(appFragment, appFragment, context, parentFragmentManager);
switch (menuItem.getItemId()) {
case R.id.menu_chat_add_friend /* 2131364213 */:
case R.id.menu_chat_add_friend /* 2131364216 */:
WidgetFriendsAdd.Companion.show$default(WidgetFriendsAdd.Companion, context, null, "Toolbar", 2, null);
break;
case R.id.menu_chat_search /* 2131364214 */:
case R.id.menu_chat_search /* 2131364217 */:
launchForSearch(context);
break;
case R.id.menu_chat_side_panel /* 2131364215 */:
case R.id.menu_chat_side_panel /* 2131364218 */:
this.$panelLayout.openEndPanel();
break;
case R.id.menu_chat_start_call /* 2131364216 */:
case R.id.menu_chat_start_call /* 2131364219 */:
privateCallLauncher.launchVoiceCall(this.$this_getOnSelectedAction.getChannelId());
break;
case R.id.menu_chat_start_group /* 2131364217 */:
case R.id.menu_chat_start_group /* 2131364220 */:
ChannelInviteLaunchUtils.inviteToChannel$default(ChannelInviteLaunchUtils.INSTANCE, this.$appFragment, this.$this_getOnSelectedAction.getChannel(), "Toolbar", null, null, 24, null);
break;
case R.id.menu_chat_start_video_call /* 2131364218 */:
case R.id.menu_chat_start_video_call /* 2131364221 */:
privateCallLauncher.launchVideoCall(this.$this_getOnSelectedAction.getChannelId());
break;
case R.id.menu_chat_stop_call /* 2131364219 */:
case R.id.menu_chat_stop_call /* 2131364222 */:
StoreStream.Companion.getVoiceChannelSelected().clear();
break;
}

View File

@ -116,16 +116,16 @@ public final class WidgetMedia$onViewBoundOrOnResume$1<T1, T2> implements Action
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_media_browser /* 2131364236 */:
case R.id.menu_media_browser /* 2131364239 */:
m.checkNotNullExpressionValue(context, "context");
String uri = this.$sourceUri.toString();
m.checkNotNullExpressionValue(uri, "sourceUri.toString()");
UriHandler.handleOrUntrusted$default(context, uri, null, 4, null);
return;
case R.id.menu_media_download /* 2131364237 */:
case R.id.menu_media_download /* 2131364240 */:
this.this$0.requestMediaDownload(new AnonymousClass1(this, context));
return;
case R.id.menu_media_share /* 2131364238 */:
case R.id.menu_media_share /* 2131364241 */:
m.checkNotNullExpressionValue(context, "context");
String uri2 = this.$sourceUri.toString();
m.checkNotNullExpressionValue(uri2, "sourceUri.toString()");

View File

@ -64,11 +64,11 @@ public final class WidgetNoticeDialog extends AppDialog {
private static final String ARG_THEME_ID = "theme_id";
/* renamed from: CANCEL_BUTTON */
public static final int notice_cancel = 2131364385;
public static final int notice_cancel = 2131364388;
public static final Companion Companion = new Companion(null);
/* renamed from: OK_BUTTON */
public static final int notice_ok = 2131364390;
public static final int notice_ok = 2131364393;
public static final int ON_SHOW = 0;
private final FragmentViewBindingDelegate binding$delegate = FragmentViewBindingDelegateKt.viewBinding$default(this, WidgetNoticeDialog$binding$2.INSTANCE, null, 2, null);
private Map<Integer, ? extends Function1<? super View, Unit>> listenerMap;

View File

@ -45,13 +45,13 @@ public final class WidgetServerSettingsChannels$configureUI$1<T1, T2> implements
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_sort_channel /* 2131364254 */:
case R.id.menu_sort_channel /* 2131364257 */:
WidgetServerSettingsChannelsSortActions.Companion companion = WidgetServerSettingsChannelsSortActions.Companion;
FragmentManager childFragmentManager = this.this$0.getChildFragmentManager();
m.checkNotNullExpressionValue(childFragmentManager, "childFragmentManager");
companion.show(childFragmentManager, new AnonymousClass1(this));
return;
case R.id.menu_sort_done /* 2131364255 */:
case R.id.menu_sort_done /* 2131364258 */:
WidgetServerSettingsChannels.access$getChannelSortTypeSubject$p(this.this$0).onNext(-1);
return;
default:

View File

@ -51,9 +51,9 @@ public final class WidgetServerSettingsEditIntegration extends AppFragment {
public static final Companion Companion = new Companion(null);
private static final String INTENT_EXTRA_GUILD_ID = "INTENT_EXTRA_GUILD_ID";
private static final String INTENT_EXTRA_INTEGRATION_ID = "INTENT_EXTRA_INTEGRATION_ID";
private static final int STATE_KEY_ENABLE_TWITCH_EMOTES = 2131363075;
private static final int STATE_KEY_EXPIRE_BEHAVIOR = 2131363078;
private static final int STATE_KEY_GRACE_PERIOD = 2131363079;
private static final int STATE_KEY_ENABLE_TWITCH_EMOTES = 2131363078;
private static final int STATE_KEY_EXPIRE_BEHAVIOR = 2131363081;
private static final int STATE_KEY_GRACE_PERIOD = 2131363082;
private static final int[] gracePeriodDays = {1, 3, 7, 14, 30};
private final FragmentViewBindingDelegate binding$delegate = FragmentViewBindingDelegateKt.viewBinding$default(this, WidgetServerSettingsEditIntegration$binding$2.INSTANCE, null, 2, null);
private RadioManager expiryBehaviorRadioManager;

View File

@ -571,135 +571,135 @@ public final class WidgetServerSettingsEditRole extends AppFragment {
for (CheckedSetting checkedSetting : n.listOf((Object[]) new CheckedSetting[]{getBinding().g, getBinding().h, getBinding().i, getBinding().j, getBinding().m, getBinding().r, getBinding().u, getBinding().v, getBinding().f1857y, getBinding().C, getBinding().f1858z, getBinding().w, getBinding().A, getBinding().B, getBinding().D, getBinding().E, getBinding().H, getBinding().I, getBinding().N, getBinding().O, getBinding().o, getBinding().n, getBinding().P, getBinding().Q, getBinding().R, getBinding().S, getBinding().f, getBinding().T, getBinding().V, getBinding().Z, getBinding().f1853b0, getBinding().Y, getBinding().W, getBinding().X, getBinding().f1852a0, getBinding().G, getBinding().U, getBinding().J, getBinding().f1856x})) {
m.checkNotNullExpressionValue(checkedSetting, "setting");
switch (checkedSetting.getId()) {
case R.id.role_settings_add_reactions /* 2131364820 */:
case R.id.role_settings_add_reactions /* 2131364823 */:
j = 64;
break;
case R.id.role_settings_administrator /* 2131364821 */:
case R.id.role_settings_administrator /* 2131364824 */:
j = 8;
break;
case R.id.role_settings_attach_files /* 2131364822 */:
case R.id.role_settings_attach_files /* 2131364825 */:
j = Permission.ATTACH_FILES;
break;
case R.id.role_settings_ban_members /* 2131364823 */:
case R.id.role_settings_ban_members /* 2131364826 */:
j = 4;
break;
case R.id.role_settings_change_nickname /* 2131364824 */:
case R.id.role_settings_change_nickname /* 2131364827 */:
j = Permission.CHANGE_NICKNAME;
break;
case R.id.role_settings_color_disabled_overlay /* 2131364825 */:
case R.id.role_settings_color_selector_container /* 2131364826 */:
case R.id.role_settings_current_color_display /* 2131364830 */:
case R.id.role_settings_edit_name_disabled_overlay /* 2131364831 */:
case R.id.role_settings_hoist_checkedsetting /* 2131364833 */:
case R.id.role_settings_icon_container /* 2131364834 */:
case R.id.role_settings_mentionable_checkedsetting /* 2131364846 */:
case R.id.role_settings_overview_scroll /* 2131364847 */:
case R.id.role_settings_role_icon /* 2131364852 */:
case R.id.role_settings_role_icon_divider /* 2131364853 */:
case R.id.role_settings_role_icon_header /* 2131364854 */:
case R.id.role_settings_color_disabled_overlay /* 2131364828 */:
case R.id.role_settings_color_selector_container /* 2131364829 */:
case R.id.role_settings_current_color_display /* 2131364833 */:
case R.id.role_settings_edit_name_disabled_overlay /* 2131364834 */:
case R.id.role_settings_hoist_checkedsetting /* 2131364836 */:
case R.id.role_settings_icon_container /* 2131364837 */:
case R.id.role_settings_mentionable_checkedsetting /* 2131364849 */:
case R.id.role_settings_overview_scroll /* 2131364850 */:
case R.id.role_settings_role_icon /* 2131364855 */:
case R.id.role_settings_role_icon_divider /* 2131364856 */:
case R.id.role_settings_role_icon_header /* 2131364857 */:
default:
j = 0;
break;
case R.id.role_settings_create_instant_invite /* 2131364827 */:
case R.id.role_settings_create_instant_invite /* 2131364830 */:
j = 1;
break;
case R.id.role_settings_create_private_threads /* 2131364828 */:
case R.id.role_settings_create_private_threads /* 2131364831 */:
j = Permission.CREATE_PRIVATE_THREADS;
break;
case R.id.role_settings_create_public_threads /* 2131364829 */:
case R.id.role_settings_create_public_threads /* 2131364832 */:
j = Permission.CREATE_PUBLIC_THREADS;
break;
case R.id.role_settings_embed_links /* 2131364832 */:
case R.id.role_settings_embed_links /* 2131364835 */:
j = Permission.EMBED_LINKS;
break;
case R.id.role_settings_kick_members /* 2131364835 */:
case R.id.role_settings_kick_members /* 2131364838 */:
j = 2;
break;
case R.id.role_settings_manage_channels /* 2131364836 */:
case R.id.role_settings_manage_channels /* 2131364839 */:
j = 16;
break;
case R.id.role_settings_manage_emojis_and_stickers /* 2131364837 */:
case R.id.role_settings_manage_emojis_and_stickers /* 2131364840 */:
j = Permission.MANAGE_EMOJIS_AND_STICKERS;
break;
case R.id.role_settings_manage_events /* 2131364838 */:
case R.id.role_settings_manage_events /* 2131364841 */:
j = Permission.MANAGE_EVENTS;
break;
case R.id.role_settings_manage_messages /* 2131364839 */:
case R.id.role_settings_manage_messages /* 2131364842 */:
j = Permission.MANAGE_MESSAGES;
break;
case R.id.role_settings_manage_nicknames /* 2131364840 */:
case R.id.role_settings_manage_nicknames /* 2131364843 */:
j = Permission.MANAGE_NICKNAMES;
break;
case R.id.role_settings_manage_roles /* 2131364841 */:
case R.id.role_settings_manage_roles /* 2131364844 */:
j = Permission.MANAGE_ROLES;
break;
case R.id.role_settings_manage_server /* 2131364842 */:
case R.id.role_settings_manage_server /* 2131364845 */:
j = 32;
break;
case R.id.role_settings_manage_threads /* 2131364843 */:
case R.id.role_settings_manage_threads /* 2131364846 */:
j = Permission.MANAGE_THREADS;
break;
case R.id.role_settings_manage_webhooks /* 2131364844 */:
case R.id.role_settings_manage_webhooks /* 2131364847 */:
j = Permission.MANAGE_WEBHOOKS;
break;
case R.id.role_settings_mention_everyone /* 2131364845 */:
case R.id.role_settings_mention_everyone /* 2131364848 */:
j = Permission.MENTION_EVERYONE;
break;
case R.id.role_settings_priority_speaker /* 2131364848 */:
case R.id.role_settings_priority_speaker /* 2131364851 */:
j = 256;
break;
case R.id.role_settings_read_message_history /* 2131364849 */:
case R.id.role_settings_read_message_history /* 2131364852 */:
j = Permission.READ_MESSAGE_HISTORY;
break;
case R.id.role_settings_read_messages /* 2131364850 */:
case R.id.role_settings_read_messages /* 2131364853 */:
j = Permission.VIEW_CHANNEL;
break;
case R.id.role_settings_request_to_speak /* 2131364851 */:
case R.id.role_settings_request_to_speak /* 2131364854 */:
j = Permission.REQUEST_TO_SPEAK;
break;
case R.id.role_settings_send_messages /* 2131364855 */:
case R.id.role_settings_send_messages /* 2131364858 */:
j = Permission.SEND_MESSAGES;
break;
case R.id.role_settings_send_messages_in_threads /* 2131364856 */:
case R.id.role_settings_send_messages_in_threads /* 2131364859 */:
j = Permission.SEND_MESSAGES_IN_THREADS;
break;
case R.id.role_settings_send_tts_messages /* 2131364857 */:
case R.id.role_settings_send_tts_messages /* 2131364860 */:
j = Permission.SEND_TTS_MESSAGES;
break;
case R.id.role_settings_use_application_commands /* 2131364858 */:
case R.id.role_settings_use_application_commands /* 2131364861 */:
j = Permission.USE_APPLICATION_COMMANDS;
break;
case R.id.role_settings_use_external_emojis /* 2131364859 */:
case R.id.role_settings_use_external_emojis /* 2131364862 */:
j = Permission.USE_EXTERNAL_EMOJIS;
break;
case R.id.role_settings_use_external_stickers /* 2131364860 */:
case R.id.role_settings_use_external_stickers /* 2131364863 */:
j = Permission.USE_EXTERNAL_STICKERS;
break;
case R.id.role_settings_view_audit_log /* 2131364861 */:
case R.id.role_settings_view_audit_log /* 2131364864 */:
j = 128;
break;
case R.id.role_settings_view_guild_analytics /* 2131364862 */:
case R.id.role_settings_view_guild_analytics /* 2131364865 */:
j = Permission.VIEW_GUILD_ANALYTICS;
break;
case R.id.role_settings_voice_connect /* 2131364863 */:
case R.id.role_settings_voice_connect /* 2131364866 */:
j = Permission.CONNECT;
break;
case R.id.role_settings_voice_deafen_members /* 2131364864 */:
case R.id.role_settings_voice_deafen_members /* 2131364867 */:
j = Permission.DEAFEN_MEMBERS;
break;
case R.id.role_settings_voice_move_members /* 2131364865 */:
case R.id.role_settings_voice_move_members /* 2131364868 */:
j = Permission.MOVE_MEMBERS;
break;
case R.id.role_settings_voice_mute_members /* 2131364866 */:
case R.id.role_settings_voice_mute_members /* 2131364869 */:
j = Permission.MUTE_MEMBERS;
break;
case R.id.role_settings_voice_speak /* 2131364867 */:
case R.id.role_settings_voice_speak /* 2131364870 */:
j = Permission.SPEAK;
break;
case R.id.role_settings_voice_use_voice_activity /* 2131364868 */:
case R.id.role_settings_voice_use_voice_activity /* 2131364871 */:
j = Permission.USE_VAD;
break;
case R.id.role_settings_voice_video /* 2131364869 */:
case R.id.role_settings_voice_video /* 2131364872 */:
j = 512;
break;
}

View File

@ -379,7 +379,7 @@ public final class WidgetServerSettingsOverview extends AppFragment {
Resources resources = getResources();
m.checkNotNullExpressionValue(resources, "resources");
DisplayMetrics displayMetrics = resources.getDisplayMetrics();
configureBannerImage(iconUtils.getBannerForGuild(guild, displayMetrics != null ? Integer.valueOf(displayMetrics.widthPixels) : null), null, false);
configureBannerImage(IconUtils.getBannerForGuild$default(iconUtils, guild, displayMetrics != null ? Integer.valueOf(displayMetrics.widthPixels) : null, false, 4, null), null, false);
return;
}
TextView textView5 = getBinding().h.g;

View File

@ -33,10 +33,10 @@ public final class WidgetServerSettingsAuditLog$onViewBound$1<T> implements Acti
public final boolean onMenuItemClick(MenuItem menuItem) {
m.checkNotNullExpressionValue(menuItem, "it");
switch (menuItem.getItemId()) {
case R.id.menu_audit_log_sort_actions /* 2131364203 */:
case R.id.menu_audit_log_sort_actions /* 2131364206 */:
WidgetServerSettingsAuditLogFilter.Companion.show(a.x(this.$view, "view", "view.context"), WidgetServerSettingsAuditLog.access$getGuildId$p(this.this$0.this$0.this$0), 1);
break;
case R.id.menu_audit_log_sort_users /* 2131364204 */:
case R.id.menu_audit_log_sort_users /* 2131364207 */:
WidgetServerSettingsAuditLogFilter.Companion.show(a.x(this.$view, "view", "view.context"), WidgetServerSettingsAuditLog.access$getGuildId$p(this.this$0.this$0.this$0), 0);
break;
}

View File

@ -14,9 +14,9 @@ public final class ServerSettingsGuildRoleSubscriptionTierListItemGeneratorKt {
for (GuildRoleSubscriptionTierListing guildRoleSubscriptionTierListing : list) {
long c2 = guildRoleSubscriptionTierListing.c();
String e = guildRoleSubscriptionTierListing.e();
int priceTier = GuildRoleSubscriptionUtilsKt.getPriceTier(guildRoleSubscriptionTierListing);
int price = GuildRoleSubscriptionUtilsKt.getPrice(guildRoleSubscriptionTierListing);
ImageAsset d = guildRoleSubscriptionTierListing.d();
arrayList.add(new ServerSettingsGuildRoleSubscriptionTierAdapterItem.Tier(c2, e, priceTier, guildRoleSubscriptionTierListing.a(), guildRoleSubscriptionTierListing.f(), d != null ? Long.valueOf(d.a()) : null));
arrayList.add(new ServerSettingsGuildRoleSubscriptionTierAdapterItem.Tier(c2, e, price, guildRoleSubscriptionTierListing.a(), guildRoleSubscriptionTierListing.f(), d != null ? Long.valueOf(d.a()) : null));
}
}
if ((list != null ? list.size() : 0) < i) {

View File

@ -11,7 +11,6 @@ import com.discord.api.guildrolesubscription.GuildRoleSubscriptionGroupListing;
import com.discord.api.guildrolesubscription.GuildRoleSubscriptionTierListing;
import com.discord.api.guildrolesubscription.ImageAsset;
import com.discord.api.permission.Permission;
import com.discord.api.premium.SubscriptionPlan;
import com.discord.api.role.GuildRole;
import com.discord.app.AppViewModel;
import com.discord.models.domain.emoji.Emoji;
@ -35,7 +34,6 @@ import com.discord.widgets.guild_role_subscriptions.GuildRoleSubscriptionUtilsKt
import com.discord.widgets.guild_role_subscriptions.tier.model.Benefit;
import com.discord.widgets.guild_role_subscriptions.tier.model.GuildRoleSubscriptionTier;
import d0.g0.t;
import d0.t.u;
import d0.z.d.m;
import d0.z.d.o;
import java.util.ArrayList;
@ -655,7 +653,6 @@ public final class ServerSettingsGuildRoleSubscriptionEditTierViewModel extends
private final void handleLoadedStoreState(StoreGuildRoleSubscriptions.GuildRoleSubscriptionGroupState.Loaded loaded, Map<Long, Channel> map, EmojiSet emojiSet, Map<Long, GuildRole> map2) {
List<GuildRoleSubscriptionTierListing> h;
int i;
Long l;
Object obj;
String str;
@ -664,7 +661,6 @@ public final class ServerSettingsGuildRoleSubscriptionEditTierViewModel extends
if (!(guildRoleSubscriptionGroupListing == null || (h = guildRoleSubscriptionGroupListing.h()) == null)) {
Iterator<T> it = h.iterator();
while (true) {
i = 0;
l = null;
if (!it.hasNext()) {
obj = null;
@ -722,11 +718,7 @@ public final class ServerSettingsGuildRoleSubscriptionEditTierViewModel extends
if (d != null) {
l = Long.valueOf(d.a());
}
SubscriptionPlan subscriptionPlan = (SubscriptionPlan) u.getOrNull(guildRoleSubscriptionTierListing.i(), 0);
if (subscriptionPlan != null) {
i = subscriptionPlan.d();
}
GuildRoleSubscriptionTier guildRoleSubscriptionTier = new GuildRoleSubscriptionTier(e, valueOf2, Integer.valueOf(i), valueOf, null, guildRole, null, l, b2, Boolean.valueOf(guildRoleSubscriptionTierListing.f()), Boolean.valueOf(canRole), arrayList, arrayList2, 80, null);
GuildRoleSubscriptionTier guildRoleSubscriptionTier = new GuildRoleSubscriptionTier(e, valueOf2, Integer.valueOf(GuildRoleSubscriptionUtilsKt.getPrice(guildRoleSubscriptionTierListing)), valueOf, null, guildRole, null, l, b2, Boolean.valueOf(guildRoleSubscriptionTierListing.f()), Boolean.valueOf(canRole), arrayList, arrayList2, 80, null);
Boolean fullServerGatingOverwrite = GuildRoleSubscriptionUtilsKt.getFullServerGatingOverwrite(loaded.getGuildRoleSubscriptionGroupListing(), map2);
boolean booleanValue = fullServerGatingOverwrite != null ? fullServerGatingOverwrite.booleanValue() : loaded.getGuildRoleSubscriptionGroupListing().d();
this.isFullServerGating = Boolean.valueOf(booleanValue);

View File

@ -17,12 +17,12 @@ public final class WidgetSettings$configureToolbar$1<T1, T2> implements Action2<
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_settings_debugging /* 2131364249 */:
case R.id.menu_settings_debugging /* 2131364252 */:
WidgetDebugging.Companion companion = WidgetDebugging.Companion;
m.checkNotNullExpressionValue(context, "context");
companion.launch(context);
return;
case R.id.menu_settings_log_out /* 2131364250 */:
case R.id.menu_settings_log_out /* 2131364253 */:
WidgetSettings widgetSettings = this.this$0;
m.checkNotNullExpressionValue(context, "context");
WidgetSettings.access$showLogoutDialog(widgetSettings, context);

View File

@ -346,7 +346,7 @@ public final class WidgetSettings extends AppFragment implements OnTabSelectedLi
TextView textView = binding.f;
m.checkNotNullExpressionValue(textView, "appInfoHeader");
String string = getString(R.string.app_information);
textView.setText(string + " - 104.0 - Alpha (104200)");
textView.setText(string + " - 104.1 - Alpha (104201)");
binding.B.setOnClickListener(new WidgetSettings$onViewBound$$inlined$with$lambda$3(this));
binding.u.setOnClickListener(WidgetSettings$onViewBound$1$5.INSTANCE);
binding.q.setOnClickListener(WidgetSettings$onViewBound$1$6.INSTANCE);

View File

@ -105,7 +105,7 @@ public final class WidgetSettingsPremiumGuildSubscriptionAdapter extends MGRecyc
IconUtils iconUtils = IconUtils.INSTANCE;
Guild guild = guildItem.getGuild();
m.checkNotNullExpressionValue(context, "context");
simpleDraweeView.setImageURI(iconUtils.getBannerForGuild(guild, Integer.valueOf(context.getResources().getDimensionPixelSize(R.dimen.nav_panel_width))));
simpleDraweeView.setImageURI(IconUtils.getBannerForGuild$default(iconUtils, guild, Integer.valueOf(context.getResources().getDimensionPixelSize(R.dimen.nav_panel_width)), false, 4, null));
View view2 = this.binding.f1733c;
m.checkNotNullExpressionValue(view2, "binding.boostedGuildGradient");
view2.setVisibility(0);

View File

@ -65,13 +65,13 @@ public final class WidgetBanUser$onViewBound$3 implements View.OnClickListener {
List access$getHistoryRadios$p = WidgetBanUser.access$getHistoryRadios$p(this.this$0);
RadioManager access$getDeleteHistoryRadioManager$p = WidgetBanUser.access$getDeleteHistoryRadioManager$p(this.this$0);
switch (((CheckedSetting) access$getHistoryRadios$p.get(access$getDeleteHistoryRadioManager$p != null ? access$getDeleteHistoryRadioManager$p.b() : 0)).getId()) {
case R.id.ban_user_delete_messages_1_day /* 2131362109 */:
case R.id.ban_user_delete_messages_1_day /* 2131362112 */:
i = 1;
break;
case R.id.ban_user_delete_messages_7_days /* 2131362110 */:
case R.id.ban_user_delete_messages_7_days /* 2131362113 */:
i = 7;
break;
case R.id.ban_user_delete_messages_none /* 2131362111 */:
case R.id.ban_user_delete_messages_none /* 2131362114 */:
default:
i = 0;
break;

View File

@ -330,7 +330,7 @@ public final class UserProfileHeaderView extends ConstraintLayout {
int dimension = (int) getResources().getDimension(R.dimen.avatar_size_profile_small);
Context context = getContext();
m.checkNotNullExpressionValue(context, "context");
DraweeSpanStringBuilderExtensionsKt.setAvatar(draweeSpanStringBuilder, context, IconUtils.getForUser(loaded.getUser(), false, Integer.valueOf(dimension)), false, Integer.valueOf(dimension), Integer.valueOf(this.userProfileHeaderBackgroundColor), 8194);
DraweeSpanStringBuilderExtensionsKt.setAvatar$default(draweeSpanStringBuilder, context, IconUtils.getForUser(loaded.getUser(), false, Integer.valueOf(dimension)), false, Integer.valueOf(dimension), Integer.valueOf(this.userProfileHeaderBackgroundColor), null, 32, null);
}
CharSequence secondaryNameTextForUser = getSecondaryNameTextForUser(user, guildMember);
boolean z2 = true;

View File

@ -17,6 +17,7 @@ import com.discord.widgets.stage.usersheet.UserProfileStageActionsView;
import com.discord.widgets.user.profile.UserProfileAdminView;
import com.discord.widgets.user.profile.UserProfileConnectionsView;
import com.discord.widgets.user.profile.UserProfileHeaderView;
import com.facebook.drawee.view.SimpleDraweeView;
import com.google.android.flexbox.FlexboxLayout;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.textfield.TextInputEditText;
@ -37,124 +38,136 @@ public final /* synthetic */ class WidgetUserSheet$binding$2 extends k implement
int i = R.id.about_me_card;
CardView cardView = (CardView) view.findViewById(R.id.about_me_card);
if (cardView != null) {
i = R.id.about_me_header;
TextView textView = (TextView) view.findViewById(R.id.about_me_header);
if (textView != null) {
i = R.id.about_me_text;
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view.findViewById(R.id.about_me_text);
if (linkifiedTextView != null) {
i = R.id.loading_progress_bar;
ContentLoadingProgressBar contentLoadingProgressBar = (ContentLoadingProgressBar) view.findViewById(R.id.loading_progress_bar);
if (contentLoadingProgressBar != null) {
i = R.id.rich_presence_container;
FrameLayout frameLayout = (FrameLayout) view.findViewById(R.id.rich_presence_container);
if (frameLayout != null) {
i = R.id.user_sheet_add_friend_action_button;
Button button = (Button) view.findViewById(R.id.user_sheet_add_friend_action_button);
if (button != null) {
i = R.id.user_sheet_admin_card;
CardView cardView2 = (CardView) view.findViewById(R.id.user_sheet_admin_card);
if (cardView2 != null) {
i = R.id.user_sheet_admin_view;
UserProfileAdminView userProfileAdminView = (UserProfileAdminView) view.findViewById(R.id.user_sheet_admin_view);
if (userProfileAdminView != null) {
i = R.id.user_sheet_call_action_button;
Button button2 = (Button) view.findViewById(R.id.user_sheet_call_action_button);
if (button2 != null) {
i = R.id.user_sheet_connections_header;
TextView textView2 = (TextView) view.findViewById(R.id.user_sheet_connections_header);
if (textView2 != null) {
i = R.id.user_sheet_connections_view;
UserProfileConnectionsView userProfileConnectionsView = (UserProfileConnectionsView) view.findViewById(R.id.user_sheet_connections_view);
if (userProfileConnectionsView != null) {
i = R.id.user_sheet_content;
LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.user_sheet_content);
if (linearLayout != null) {
i = R.id.user_sheet_copy_id;
TextView textView3 = (TextView) view.findViewById(R.id.user_sheet_copy_id);
i = R.id.about_me_guild_icon;
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view.findViewById(R.id.about_me_guild_icon);
if (simpleDraweeView != null) {
i = R.id.about_me_guild_icon_name;
TextView textView = (TextView) view.findViewById(R.id.about_me_guild_icon_name);
if (textView != null) {
i = R.id.about_me_header;
TextView textView2 = (TextView) view.findViewById(R.id.about_me_header);
if (textView2 != null) {
i = R.id.about_me_header_container;
FlexboxLayout flexboxLayout = (FlexboxLayout) view.findViewById(R.id.about_me_header_container);
if (flexboxLayout != null) {
i = R.id.about_me_text;
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view.findViewById(R.id.about_me_text);
if (linkifiedTextView != null) {
i = R.id.loading_progress_bar;
ContentLoadingProgressBar contentLoadingProgressBar = (ContentLoadingProgressBar) view.findViewById(R.id.loading_progress_bar);
if (contentLoadingProgressBar != null) {
i = R.id.rich_presence_container;
FrameLayout frameLayout = (FrameLayout) view.findViewById(R.id.rich_presence_container);
if (frameLayout != null) {
i = R.id.user_sheet_add_friend_action_button;
Button button = (Button) view.findViewById(R.id.user_sheet_add_friend_action_button);
if (button != null) {
i = R.id.user_sheet_admin_card;
CardView cardView2 = (CardView) view.findViewById(R.id.user_sheet_admin_card);
if (cardView2 != null) {
i = R.id.user_sheet_admin_view;
UserProfileAdminView userProfileAdminView = (UserProfileAdminView) view.findViewById(R.id.user_sheet_admin_view);
if (userProfileAdminView != null) {
i = R.id.user_sheet_call_action_button;
Button button2 = (Button) view.findViewById(R.id.user_sheet_call_action_button);
if (button2 != null) {
i = R.id.user_sheet_connections_header;
TextView textView3 = (TextView) view.findViewById(R.id.user_sheet_connections_header);
if (textView3 != null) {
i = R.id.user_sheet_developer_header;
TextView textView4 = (TextView) view.findViewById(R.id.user_sheet_developer_header);
if (textView4 != null) {
i = R.id.user_sheet_friend_request_accept_button;
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.user_sheet_friend_request_accept_button);
if (materialButton != null) {
i = R.id.user_sheet_friend_request_ignore_button;
MaterialButton materialButton2 = (MaterialButton) view.findViewById(R.id.user_sheet_friend_request_ignore_button);
if (materialButton2 != null) {
i = R.id.user_sheet_friend_request_incoming_container;
LinearLayout linearLayout2 = (LinearLayout) view.findViewById(R.id.user_sheet_friend_request_incoming_container);
if (linearLayout2 != null) {
i = R.id.user_sheet_guild_container;
LinearLayout linearLayout3 = (LinearLayout) view.findViewById(R.id.user_sheet_guild_container);
if (linearLayout3 != null) {
i = R.id.user_sheet_guild_header;
TextView textView5 = (TextView) view.findViewById(R.id.user_sheet_guild_header);
if (textView5 != null) {
i = R.id.user_sheet_incoming_friend_request_header;
TextView textView6 = (TextView) view.findViewById(R.id.user_sheet_incoming_friend_request_header);
if (textView6 != null) {
i = R.id.user_sheet_loading_container;
FrameLayout frameLayout2 = (FrameLayout) view.findViewById(R.id.user_sheet_loading_container);
if (frameLayout2 != null) {
i = R.id.user_sheet_message_action_button;
Button button3 = (Button) view.findViewById(R.id.user_sheet_message_action_button);
if (button3 != null) {
i = R.id.user_sheet_more_button;
ImageView imageView = (ImageView) view.findViewById(R.id.user_sheet_more_button);
if (imageView != null) {
i = R.id.user_sheet_note_header;
TextView textView7 = (TextView) view.findViewById(R.id.user_sheet_note_header);
if (textView7 != null) {
i = R.id.user_sheet_note_text_field;
TextInputEditText textInputEditText = (TextInputEditText) view.findViewById(R.id.user_sheet_note_text_field);
if (textInputEditText != null) {
i = R.id.user_sheet_note_text_field_wrap;
TextInputLayout textInputLayout = (TextInputLayout) view.findViewById(R.id.user_sheet_note_text_field_wrap);
if (textInputLayout != null) {
i = R.id.user_sheet_pending_friend_request_action_button;
Button button4 = (Button) view.findViewById(R.id.user_sheet_pending_friend_request_action_button);
if (button4 != null) {
i = R.id.user_sheet_profile_actions_container;
LinearLayout linearLayout4 = (LinearLayout) view.findViewById(R.id.user_sheet_profile_actions_container);
if (linearLayout4 != null) {
i = R.id.user_sheet_profile_actions_divider;
View findViewById = view.findViewById(R.id.user_sheet_profile_actions_divider);
if (findViewById != null) {
i = R.id.user_sheet_profile_edit_button;
MaterialButton materialButton3 = (MaterialButton) view.findViewById(R.id.user_sheet_profile_edit_button);
if (materialButton3 != null) {
i = R.id.user_sheet_profile_edit_container;
FlexboxLayout flexboxLayout = (FlexboxLayout) view.findViewById(R.id.user_sheet_profile_edit_container);
if (flexboxLayout != null) {
i = R.id.user_sheet_profile_header_view;
UserProfileHeaderView userProfileHeaderView = (UserProfileHeaderView) view.findViewById(R.id.user_sheet_profile_header_view);
if (userProfileHeaderView != null) {
i = R.id.user_sheet_profile_identity_button;
MaterialButton materialButton4 = (MaterialButton) view.findViewById(R.id.user_sheet_profile_identity_button);
if (materialButton4 != null) {
i = R.id.user_sheet_profile_stage_actions_card;
CardView cardView3 = (CardView) view.findViewById(R.id.user_sheet_profile_stage_actions_card);
if (cardView3 != null) {
i = R.id.user_sheet_profile_stage_actions_view;
UserProfileStageActionsView userProfileStageActionsView = (UserProfileStageActionsView) view.findViewById(R.id.user_sheet_profile_stage_actions_view);
if (userProfileStageActionsView != null) {
i = R.id.user_sheet_profile_voice_settings_header;
TextView textView8 = (TextView) view.findViewById(R.id.user_sheet_profile_voice_settings_header);
if (textView8 != null) {
i = R.id.user_sheet_profile_voice_settings_view;
UserProfileVoiceSettingsView userProfileVoiceSettingsView = (UserProfileVoiceSettingsView) view.findViewById(R.id.user_sheet_profile_voice_settings_view);
if (userProfileVoiceSettingsView != null) {
i = R.id.user_sheet_roles_list;
RolesListView rolesListView = (RolesListView) view.findViewById(R.id.user_sheet_roles_list);
if (rolesListView != null) {
i = R.id.user_sheet_video_action_button;
Button button5 = (Button) view.findViewById(R.id.user_sheet_video_action_button);
if (button5 != null) {
i = R.id.voice_settings_view_card;
CardView cardView4 = (CardView) view.findViewById(R.id.voice_settings_view_card);
if (cardView4 != null) {
return new WidgetUserSheetBinding((NestedScrollView) view, cardView, textView, linkifiedTextView, contentLoadingProgressBar, frameLayout, button, cardView2, userProfileAdminView, button2, textView2, userProfileConnectionsView, linearLayout, textView3, textView4, materialButton, materialButton2, linearLayout2, linearLayout3, textView5, textView6, frameLayout2, button3, imageView, textView7, textInputEditText, textInputLayout, button4, linearLayout4, findViewById, materialButton3, flexboxLayout, userProfileHeaderView, materialButton4, cardView3, userProfileStageActionsView, textView8, userProfileVoiceSettingsView, rolesListView, button5, cardView4);
i = R.id.user_sheet_connections_view;
UserProfileConnectionsView userProfileConnectionsView = (UserProfileConnectionsView) view.findViewById(R.id.user_sheet_connections_view);
if (userProfileConnectionsView != null) {
i = R.id.user_sheet_content;
LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.user_sheet_content);
if (linearLayout != null) {
i = R.id.user_sheet_copy_id;
TextView textView4 = (TextView) view.findViewById(R.id.user_sheet_copy_id);
if (textView4 != null) {
i = R.id.user_sheet_developer_header;
TextView textView5 = (TextView) view.findViewById(R.id.user_sheet_developer_header);
if (textView5 != null) {
i = R.id.user_sheet_friend_request_accept_button;
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.user_sheet_friend_request_accept_button);
if (materialButton != null) {
i = R.id.user_sheet_friend_request_ignore_button;
MaterialButton materialButton2 = (MaterialButton) view.findViewById(R.id.user_sheet_friend_request_ignore_button);
if (materialButton2 != null) {
i = R.id.user_sheet_friend_request_incoming_container;
LinearLayout linearLayout2 = (LinearLayout) view.findViewById(R.id.user_sheet_friend_request_incoming_container);
if (linearLayout2 != null) {
i = R.id.user_sheet_guild_container;
LinearLayout linearLayout3 = (LinearLayout) view.findViewById(R.id.user_sheet_guild_container);
if (linearLayout3 != null) {
i = R.id.user_sheet_guild_header;
TextView textView6 = (TextView) view.findViewById(R.id.user_sheet_guild_header);
if (textView6 != null) {
i = R.id.user_sheet_incoming_friend_request_header;
TextView textView7 = (TextView) view.findViewById(R.id.user_sheet_incoming_friend_request_header);
if (textView7 != null) {
i = R.id.user_sheet_loading_container;
FrameLayout frameLayout2 = (FrameLayout) view.findViewById(R.id.user_sheet_loading_container);
if (frameLayout2 != null) {
i = R.id.user_sheet_message_action_button;
Button button3 = (Button) view.findViewById(R.id.user_sheet_message_action_button);
if (button3 != null) {
i = R.id.user_sheet_more_button;
ImageView imageView = (ImageView) view.findViewById(R.id.user_sheet_more_button);
if (imageView != null) {
i = R.id.user_sheet_note_header;
TextView textView8 = (TextView) view.findViewById(R.id.user_sheet_note_header);
if (textView8 != null) {
i = R.id.user_sheet_note_text_field;
TextInputEditText textInputEditText = (TextInputEditText) view.findViewById(R.id.user_sheet_note_text_field);
if (textInputEditText != null) {
i = R.id.user_sheet_note_text_field_wrap;
TextInputLayout textInputLayout = (TextInputLayout) view.findViewById(R.id.user_sheet_note_text_field_wrap);
if (textInputLayout != null) {
i = R.id.user_sheet_pending_friend_request_action_button;
Button button4 = (Button) view.findViewById(R.id.user_sheet_pending_friend_request_action_button);
if (button4 != null) {
i = R.id.user_sheet_profile_actions_container;
LinearLayout linearLayout4 = (LinearLayout) view.findViewById(R.id.user_sheet_profile_actions_container);
if (linearLayout4 != null) {
i = R.id.user_sheet_profile_actions_divider;
View findViewById = view.findViewById(R.id.user_sheet_profile_actions_divider);
if (findViewById != null) {
i = R.id.user_sheet_profile_edit_button;
MaterialButton materialButton3 = (MaterialButton) view.findViewById(R.id.user_sheet_profile_edit_button);
if (materialButton3 != null) {
i = R.id.user_sheet_profile_edit_container;
FlexboxLayout flexboxLayout2 = (FlexboxLayout) view.findViewById(R.id.user_sheet_profile_edit_container);
if (flexboxLayout2 != null) {
i = R.id.user_sheet_profile_header_view;
UserProfileHeaderView userProfileHeaderView = (UserProfileHeaderView) view.findViewById(R.id.user_sheet_profile_header_view);
if (userProfileHeaderView != null) {
i = R.id.user_sheet_profile_identity_button;
MaterialButton materialButton4 = (MaterialButton) view.findViewById(R.id.user_sheet_profile_identity_button);
if (materialButton4 != null) {
i = R.id.user_sheet_profile_stage_actions_card;
CardView cardView3 = (CardView) view.findViewById(R.id.user_sheet_profile_stage_actions_card);
if (cardView3 != null) {
i = R.id.user_sheet_profile_stage_actions_view;
UserProfileStageActionsView userProfileStageActionsView = (UserProfileStageActionsView) view.findViewById(R.id.user_sheet_profile_stage_actions_view);
if (userProfileStageActionsView != null) {
i = R.id.user_sheet_profile_voice_settings_header;
TextView textView9 = (TextView) view.findViewById(R.id.user_sheet_profile_voice_settings_header);
if (textView9 != null) {
i = R.id.user_sheet_profile_voice_settings_view;
UserProfileVoiceSettingsView userProfileVoiceSettingsView = (UserProfileVoiceSettingsView) view.findViewById(R.id.user_sheet_profile_voice_settings_view);
if (userProfileVoiceSettingsView != null) {
i = R.id.user_sheet_roles_list;
RolesListView rolesListView = (RolesListView) view.findViewById(R.id.user_sheet_roles_list);
if (rolesListView != null) {
i = R.id.user_sheet_video_action_button;
Button button5 = (Button) view.findViewById(R.id.user_sheet_video_action_button);
if (button5 != null) {
i = R.id.voice_settings_view_card;
CardView cardView4 = (CardView) view.findViewById(R.id.voice_settings_view_card);
if (cardView4 != null) {
return new WidgetUserSheetBinding((NestedScrollView) view, cardView, simpleDraweeView, textView, textView2, flexboxLayout, linkifiedTextView, contentLoadingProgressBar, frameLayout, button, cardView2, userProfileAdminView, button2, textView3, userProfileConnectionsView, linearLayout, textView4, textView5, materialButton, materialButton2, linearLayout2, linearLayout3, textView6, textView7, frameLayout2, button3, imageView, textView8, textInputEditText, textInputLayout, button4, linearLayout4, findViewById, materialButton3, flexboxLayout2, userProfileHeaderView, materialButton4, cardView3, userProfileStageActionsView, textView9, userProfileVoiceSettingsView, rolesListView, button5, cardView4);
}
}
}
}
}
}

View File

@ -0,0 +1,25 @@
package com.discord.widgets.user.usersheet;
import android.view.View;
import c.a.k.b;
import com.discord.R;
import com.discord.widgets.user.usersheet.WidgetUserSheetViewModel;
import d0.z.d.m;
/* compiled from: WidgetUserSheet.kt */
public final class WidgetUserSheet$configureAboutMe$1 implements View.OnClickListener {
public final /* synthetic */ WidgetUserSheetViewModel.ViewState.Loaded $viewState;
public final /* synthetic */ WidgetUserSheet this$0;
public WidgetUserSheet$configureAboutMe$1(WidgetUserSheet widgetUserSheet, WidgetUserSheetViewModel.ViewState.Loaded loaded) {
this.this$0 = widgetUserSheet;
this.$viewState = loaded;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
if (this.$viewState.getHasGuildMemberBio()) {
m.checkNotNullExpressionValue(view, "it");
c.a.d.m.h(view.getContext(), b.k(this.this$0, R.string.guild_identity_bio_toast, new Object[]{this.$viewState.getGuildName()}, null, 4), 0, null, 12);
}
}
}

View File

@ -18,7 +18,7 @@ public final class WidgetUserSheet$onViewCreated$14 implements View.OnFocusChang
if (!z2) {
WidgetUserSheetViewModel access$getViewModel$p = WidgetUserSheet.access$getViewModel$p(this.this$0);
Context context = this.this$0.getContext();
TextInputLayout textInputLayout = WidgetUserSheet.access$getBinding$p(this.this$0).f2121y;
TextInputLayout textInputLayout = WidgetUserSheet.access$getBinding$p(this.this$0).B;
m.checkNotNullExpressionValue(textInputLayout, "binding.userSheetNoteTextFieldWrap");
access$getViewModel$p.saveUserNote(context, ViewExtensions.getTextOrEmpty(textInputLayout));
}

View File

@ -33,10 +33,10 @@ public final class WidgetUserSheet$onViewCreated$15 extends o implements Functio
m.checkNotNullParameter(textView, "it");
WidgetUserSheetViewModel access$getViewModel$p = WidgetUserSheet.access$getViewModel$p(this.this$0);
Context context = this.this$0.getContext();
TextInputLayout textInputLayout = WidgetUserSheet.access$getBinding$p(this.this$0).f2121y;
TextInputLayout textInputLayout = WidgetUserSheet.access$getBinding$p(this.this$0).B;
m.checkNotNullExpressionValue(textInputLayout, "binding.userSheetNoteTextFieldWrap");
access$getViewModel$p.saveUserNote(context, ViewExtensions.getTextOrEmpty(textInputLayout));
WidgetUserSheet.access$getBinding$p(this.this$0).f2121y.clearFocus();
WidgetUserSheet.access$getBinding$p(this.this$0).B.clearFocus();
this.this$0.hideKeyboard(this.$view);
}
}

View File

@ -17,6 +17,6 @@ public final class WidgetUserSheet$onViewCreated$16 extends AccessibilityDelegat
m.checkNotNullParameter(view, "host");
m.checkNotNullParameter(accessibilityNodeInfoCompat, "info");
super.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfoCompat);
accessibilityNodeInfoCompat.setTraversalAfter(WidgetUserSheet.access$getBinding$p(this.this$0).l);
accessibilityNodeInfoCompat.setTraversalAfter(WidgetUserSheet.access$getBinding$p(this.this$0).o);
}
}

View File

@ -36,6 +36,9 @@ import com.discord.stores.StoreUserNotes;
import com.discord.utilities.accessibility.AccessibilityUtils;
import com.discord.utilities.analytics.AnalyticsTracker;
import com.discord.utilities.color.ColorCompat;
import com.discord.utilities.guilds.GuildUtilsKt;
import com.discord.utilities.icon.IconUtils;
import com.discord.utilities.images.MGImages;
import com.discord.utilities.presence.ActivityUtilsKt;
import com.discord.utilities.presence.PresenceUtils;
import com.discord.utilities.rest.RestAPIAbortMessages;
@ -64,6 +67,7 @@ import com.discord.widgets.user.profile.UserProfileHeaderViewModel;
import com.discord.widgets.user.usersheet.UserProfileVoiceSettingsView;
import com.discord.widgets.user.usersheet.WidgetUserSheetViewModel;
import com.discord.widgets.voice.fullscreen.WidgetCallFullscreen;
import com.facebook.drawee.view.SimpleDraweeView;
import com.google.android.flexbox.FlexboxLayout;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.textfield.TextInputLayout;
@ -233,12 +237,40 @@ public final class WidgetUserSheet extends AppBottomSheet {
}
private final void configureAboutMe(WidgetUserSheetViewModel.ViewState.Loaded loaded) {
String str;
List<Node<MessageRenderContext>> bioAst = loaded.getBioAst();
TextView textView = getBinding().f2118c;
getBinding().f.setOnClickListener(new WidgetUserSheet$configureAboutMe$1(this, loaded));
TextView textView = getBinding().e;
m.checkNotNullExpressionValue(textView, "binding.aboutMeHeader");
boolean z2 = true;
int i = 0;
textView.setVisibility(bioAst != null ? 0 : 8);
SimpleDraweeView simpleDraweeView = getBinding().f2118c;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.aboutMeGuildIcon");
simpleDraweeView.setVisibility(loaded.getHasGuildMemberBio() ? 0 : 8);
String guildIconURL = loaded.getGuildIconURL();
if (guildIconURL == null || guildIconURL.length() == 0) {
SimpleDraweeView simpleDraweeView2 = getBinding().f2118c;
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.aboutMeGuildIcon");
IconUtils.setIcon$default(simpleDraweeView2, IconUtils.DEFAULT_ICON_BLURPLE, 0, (Function1) null, (MGImages.ChangeDetector) null, 28, (Object) null);
TextView textView2 = getBinding().d;
m.checkNotNullExpressionValue(textView2, "binding.aboutMeGuildIconName");
textView2.setVisibility(0);
TextView textView3 = getBinding().d;
m.checkNotNullExpressionValue(textView3, "binding.aboutMeGuildIconName");
String guildName = loaded.getGuildName();
if (guildName == null || (str = GuildUtilsKt.computeShortName(guildName)) == null) {
str = "";
}
textView3.setText(str);
} else {
SimpleDraweeView simpleDraweeView3 = getBinding().f2118c;
m.checkNotNullExpressionValue(simpleDraweeView3, "binding.aboutMeGuildIcon");
IconUtils.setIcon$default(simpleDraweeView3, loaded.getGuildIconURL(), 0, (Function1) null, (MGImages.ChangeDetector) null, 28, (Object) null);
TextView textView4 = getBinding().d;
m.checkNotNullExpressionValue(textView4, "binding.aboutMeGuildIconName");
textView4.setVisibility(8);
}
CardView cardView = getBinding().b;
m.checkNotNullExpressionValue(cardView, "binding.aboutMeCard");
if (bioAst == null) {
@ -249,21 +281,21 @@ public final class WidgetUserSheet extends AppBottomSheet {
}
cardView.setVisibility(i);
if (bioAst != null) {
LinkifiedTextView linkifiedTextView = getBinding().d;
LinkifiedTextView linkifiedTextView = getBinding().g;
m.checkNotNullExpressionValue(linkifiedTextView, "binding.aboutMeText");
Context context = linkifiedTextView.getContext();
m.checkNotNullExpressionValue(context, "binding.aboutMeText.context");
getBinding().d.setDraweeSpanStringBuilder(AstRenderer.render(loaded.getBioAst(), new MessageRenderContext(context, 0, false, null, null, null, 0, null, null, 0, 0, new WidgetUserSheet$configureAboutMe$renderContext$1(getViewModel()), null, null, 14328, null)));
getBinding().g.setDraweeSpanStringBuilder(AstRenderer.render(loaded.getBioAst(), new MessageRenderContext(context, 0, false, null, null, null, 0, null, null, 0, 0, new WidgetUserSheet$configureAboutMe$renderContext$1(getViewModel()), null, null, 14328, null)));
}
}
private final void configureConnectionsSection(WidgetUserSheetViewModel.ViewState.Loaded loaded) {
UserProfileConnectionsView.ViewState connectionsViewState = loaded.getConnectionsViewState();
TextView textView = getBinding().j;
TextView textView = getBinding().m;
m.checkNotNullExpressionValue(textView, "binding.userSheetConnectionsHeader");
int i = 0;
textView.setVisibility(connectionsViewState.getShowConnectionsSection() ? 0 : 8);
UserProfileConnectionsView userProfileConnectionsView = getBinding().k;
UserProfileConnectionsView userProfileConnectionsView = getBinding().n;
m.checkNotNullExpressionValue(userProfileConnectionsView, "binding.userSheetConnectionsView");
if (!connectionsViewState.getShowConnectionsSection()) {
i = 8;
@ -271,18 +303,18 @@ public final class WidgetUserSheet extends AppBottomSheet {
userProfileConnectionsView.setVisibility(i);
WidgetUserSheet$configureConnectionsSection$onConnectedAccountClick$1 widgetUserSheet$configureConnectionsSection$onConnectedAccountClick$1 = new WidgetUserSheet$configureConnectionsSection$onConnectedAccountClick$1(this);
User user = loaded.getUser();
getBinding().k.updateViewState(connectionsViewState, widgetUserSheet$configureConnectionsSection$onConnectedAccountClick$1, new WidgetUserSheet$configureConnectionsSection$onMutualGuildsItemClick$1(this, user), new WidgetUserSheet$configureConnectionsSection$onMutualFriendsItemClick$1(this, user));
getBinding().n.updateViewState(connectionsViewState, widgetUserSheet$configureConnectionsSection$onConnectedAccountClick$1, new WidgetUserSheet$configureConnectionsSection$onMutualGuildsItemClick$1(this, user), new WidgetUserSheet$configureConnectionsSection$onMutualFriendsItemClick$1(this, user));
}
private final void configureDeveloperSection(WidgetUserSheetViewModel.ViewState.Loaded loaded) {
TextView textView = getBinding().l;
TextView textView = getBinding().o;
int i = 8;
textView.setVisibility(StoreStream.Companion.getUserSettings().getIsDeveloperMode() ? 0 : 8);
textView.setOnClickListener(new WidgetUserSheet$configureDeveloperSection$$inlined$apply$lambda$1(textView, this, loaded));
TextView textView2 = getBinding().l;
TextView textView2 = getBinding().o;
m.checkNotNullExpressionValue(textView2, "binding.userSheetCopyId");
boolean z2 = textView2.getVisibility() == 0;
TextView textView3 = getBinding().m;
TextView textView3 = getBinding().p;
m.checkNotNullExpressionValue(textView3, "binding.userSheetDeveloperHeader");
if (z2) {
i = 0;
@ -297,85 +329,85 @@ public final class WidgetUserSheet extends AppBottomSheet {
boolean z2 = true;
int i = 0;
boolean z3 = adminViewState != null && adminViewState.isAdminSectionEnabled();
LinearLayout linearLayout = getBinding().q;
LinearLayout linearLayout = getBinding().t;
m.checkNotNullExpressionValue(linearLayout, "binding.userSheetGuildContainer");
if (!shouldShowRoles && !z3) {
z2 = false;
}
linearLayout.setVisibility(z2 ? 0 : 8);
RolesListView rolesListView = getBinding().K;
RolesListView rolesListView = getBinding().N;
m.checkNotNullExpressionValue(rolesListView, "binding.userSheetRolesList");
rolesListView.setVisibility(shouldShowRoles ? 0 : 8);
Long guildId = loaded.getGuildId();
if (shouldShowRoles && guildId != null) {
RolesListView rolesListView2 = getBinding().K;
RolesListView rolesListView3 = getBinding().K;
RolesListView rolesListView2 = getBinding().N;
RolesListView rolesListView3 = getBinding().N;
m.checkNotNullExpressionValue(rolesListView3, "binding.userSheetRolesList");
rolesListView2.updateView(roleItems, ColorCompat.getThemedColor(rolesListView3.getContext(), (int) R.attr.primary_300), guildId.longValue());
}
String guildSectionHeaderText = loaded.getGuildSectionHeaderText();
if (guildSectionHeaderText != null) {
TextView textView = getBinding().r;
TextView textView = getBinding().u;
m.checkNotNullExpressionValue(textView, "binding.userSheetGuildHeader");
textView.setText(guildSectionHeaderText);
}
CardView cardView = getBinding().g;
CardView cardView = getBinding().j;
m.checkNotNullExpressionValue(cardView, "binding.userSheetAdminCard");
cardView.setVisibility(z3 ? 0 : 8);
UserProfileAdminView userProfileAdminView = getBinding().h;
UserProfileAdminView userProfileAdminView = getBinding().k;
m.checkNotNullExpressionValue(userProfileAdminView, "binding.userSheetAdminView");
if (!z3) {
i = 8;
}
userProfileAdminView.setVisibility(i);
if (adminViewState != null) {
getBinding().h.updateView(adminViewState);
getBinding().k.updateView(adminViewState);
}
}
private final void configureIncomingFriendRequest(WidgetUserSheetViewModel.ViewState.Loaded loaded) {
int i = 0;
boolean z2 = ModelUserRelationship.getType(Integer.valueOf(loaded.getUserRelationshipType())) == 3;
TextView textView = getBinding().f2119s;
TextView textView = getBinding().v;
m.checkNotNullExpressionValue(textView, "binding.userSheetIncomingFriendRequestHeader");
textView.setVisibility(z2 ? 0 : 8);
LinearLayout linearLayout = getBinding().p;
LinearLayout linearLayout = getBinding().f2119s;
m.checkNotNullExpressionValue(linearLayout, "binding.userSheetFriendRequestIncomingContainer");
if (!z2) {
i = 8;
}
linearLayout.setVisibility(i);
getBinding().n.setOnClickListener(new WidgetUserSheet$configureIncomingFriendRequest$1(this, loaded));
getBinding().o.setOnClickListener(new WidgetUserSheet$configureIncomingFriendRequest$2(this));
getBinding().q.setOnClickListener(new WidgetUserSheet$configureIncomingFriendRequest$1(this, loaded));
getBinding().r.setOnClickListener(new WidgetUserSheet$configureIncomingFriendRequest$2(this));
}
private final void configureNote(WidgetUserSheetViewModel.ViewState.Loaded loaded) {
getBinding().f2120x.setRawInputType(1);
getBinding().A.setRawInputType(1);
StoreUserNotes.UserNoteState userNoteFetchState = loaded.getUserNoteFetchState();
if (userNoteFetchState instanceof StoreUserNotes.UserNoteState.Empty) {
TextInputLayout textInputLayout = getBinding().f2121y;
TextInputLayout textInputLayout = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout, "binding.userSheetNoteTextFieldWrap");
textInputLayout.setHint(getString(R.string.note_placeholder_mobile));
TextInputLayout textInputLayout2 = getBinding().f2121y;
TextInputLayout textInputLayout2 = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout2, "binding.userSheetNoteTextFieldWrap");
textInputLayout2.setEnabled(true);
} else if (userNoteFetchState instanceof StoreUserNotes.UserNoteState.Loading) {
TextInputLayout textInputLayout3 = getBinding().f2121y;
TextInputLayout textInputLayout3 = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout3, "binding.userSheetNoteTextFieldWrap");
textInputLayout3.setHint(getString(R.string.loading_note));
TextInputLayout textInputLayout4 = getBinding().f2121y;
TextInputLayout textInputLayout4 = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout4, "binding.userSheetNoteTextFieldWrap");
textInputLayout4.setEnabled(false);
} else if (userNoteFetchState instanceof StoreUserNotes.UserNoteState.Loaded) {
TextInputLayout textInputLayout5 = getBinding().f2121y;
TextInputLayout textInputLayout5 = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout5, "binding.userSheetNoteTextFieldWrap");
textInputLayout5.setHint(getString(R.string.note_placeholder_mobile));
TextInputLayout textInputLayout6 = getBinding().f2121y;
TextInputLayout textInputLayout6 = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout6, "binding.userSheetNoteTextFieldWrap");
textInputLayout6.setEnabled(true);
}
if (loaded.getUserNote() != null) {
TextInputLayout textInputLayout7 = getBinding().f2121y;
TextInputLayout textInputLayout7 = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout7, "binding.userSheetNoteTextFieldWrap");
ViewExtensions.setTextIfDifferent(textInputLayout7, loaded.getUserNote());
}
@ -394,70 +426,70 @@ public final class WidgetUserSheet extends AppBottomSheet {
boolean z3;
boolean isMe = loaded.isMe();
Long currentGuildId = loaded.getCurrentGuildId();
FlexboxLayout flexboxLayout = getBinding().D;
FlexboxLayout flexboxLayout = getBinding().G;
m.checkNotNullExpressionValue(flexboxLayout, "binding.userSheetProfileEditContainer");
int i = 8;
flexboxLayout.setVisibility(isMe ? 0 : 8);
getBinding().C.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$1(this));
MaterialButton materialButton = getBinding().F;
getBinding().F.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$1(this));
MaterialButton materialButton = getBinding().I;
m.checkNotNullExpressionValue(materialButton, "binding.userSheetProfileIdentityButton");
boolean z4 = true;
if (isMe) {
if ((currentGuildId != null ? currentGuildId.longValue() : 0) > 0) {
z2 = true;
materialButton.setVisibility(!z2 ? 0 : 8);
getBinding().F.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$2(currentGuildId));
getBinding().I.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$2(currentGuildId));
boolean isBot = loaded.getUser().isBot();
boolean isSystemUser = loaded.getUser().isSystemUser();
int userRelationshipType = loaded.getUserRelationshipType();
z3 = isMe && !isSystemUser;
View view = getBinding().B;
View view = getBinding().E;
m.checkNotNullExpressionValue(view, "binding.userSheetProfileActionsDivider");
view.setVisibility(!z3 ? 0 : 8);
LinearLayout linearLayout = getBinding().A;
LinearLayout linearLayout = getBinding().D;
m.checkNotNullExpressionValue(linearLayout, "binding.userSheetProfileActionsContainer");
linearLayout.setVisibility(!z3 ? 0 : 8);
if (!z3) {
Button button = getBinding().u;
Button button = getBinding().f2120x;
m.checkNotNullExpressionValue(button, "binding.userSheetMessageActionButton");
Channel channel = loaded.getChannel();
button.setVisibility(channel == null || channel.A() != 1 ? 0 : 8);
getBinding().u.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$3(this, loaded));
getBinding().i.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$4(this));
getBinding().L.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$5(this));
getBinding().f2120x.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$3(this, loaded));
getBinding().l.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$4(this));
getBinding().O.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$5(this));
if (userRelationshipType == 0) {
Button button2 = getBinding().f;
Button button2 = getBinding().i;
m.checkNotNullExpressionValue(button2, "binding.userSheetAddFriendActionButton");
button2.setVisibility(0);
Button button3 = getBinding().f2122z;
Button button3 = getBinding().C;
m.checkNotNullExpressionValue(button3, "binding.userSheetPendingFriendRequestActionButton");
button3.setVisibility(8);
} else if (userRelationshipType == 3 || userRelationshipType == 4) {
Button button4 = getBinding().f;
Button button4 = getBinding().i;
m.checkNotNullExpressionValue(button4, "binding.userSheetAddFriendActionButton");
button4.setVisibility(8);
Button button5 = getBinding().f2122z;
Button button5 = getBinding().C;
m.checkNotNullExpressionValue(button5, "binding.userSheetPendingFriendRequestActionButton");
button5.setVisibility(0);
} else {
Button button6 = getBinding().f;
Button button6 = getBinding().i;
m.checkNotNullExpressionValue(button6, "binding.userSheetAddFriendActionButton");
button6.setVisibility(8);
Button button7 = getBinding().f2122z;
Button button7 = getBinding().C;
m.checkNotNullExpressionValue(button7, "binding.userSheetPendingFriendRequestActionButton");
button7.setVisibility(8);
}
if (isMe || isBot || userRelationshipType != 0) {
z4 = false;
}
Button button8 = getBinding().f;
Button button8 = getBinding().i;
m.checkNotNullExpressionValue(button8, "binding.userSheetAddFriendActionButton");
if (z4) {
i = 0;
}
button8.setVisibility(i);
getBinding().f.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$6(this, loaded));
getBinding().f2122z.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$7(this, userRelationshipType, loaded));
getBinding().i.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$6(this, loaded));
getBinding().C.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$7(this, userRelationshipType, loaded));
return;
}
return;
@ -465,16 +497,16 @@ public final class WidgetUserSheet extends AppBottomSheet {
}
z2 = false;
materialButton.setVisibility(!z2 ? 0 : 8);
getBinding().F.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$2(currentGuildId));
getBinding().I.setOnClickListener(new WidgetUserSheet$configureProfileActionButtons$2(currentGuildId));
boolean isBot = loaded.getUser().isBot();
boolean isSystemUser = loaded.getUser().isSystemUser();
int userRelationshipType = loaded.getUserRelationshipType();
if (isMe) {
}
View view = getBinding().B;
View view = getBinding().E;
m.checkNotNullExpressionValue(view, "binding.userSheetProfileActionsDivider");
view.setVisibility(!z3 ? 0 : 8);
LinearLayout linearLayout = getBinding().A;
LinearLayout linearLayout = getBinding().D;
m.checkNotNullExpressionValue(linearLayout, "binding.userSheetProfileActionsContainer");
linearLayout.setVisibility(!z3 ? 0 : 8);
if (!z3) {
@ -482,10 +514,10 @@ public final class WidgetUserSheet extends AppBottomSheet {
}
private final void configureStageActionsSection(WidgetUserSheetViewModel.ViewState.Loaded loaded) {
getBinding().H.updateView(loaded.getStageViewState());
CardView cardView = getBinding().G;
getBinding().K.updateView(loaded.getStageViewState());
CardView cardView = getBinding().J;
m.checkNotNullExpressionValue(cardView, "binding.userSheetProfileStageActionsCard");
UserProfileStageActionsView userProfileStageActionsView = getBinding().H;
UserProfileStageActionsView userProfileStageActionsView = getBinding().K;
m.checkNotNullExpressionValue(userProfileStageActionsView, "binding.userSheetProfileStageActionsView");
int i = 0;
if (!(userProfileStageActionsView.getVisibility() == 0)) {
@ -497,11 +529,11 @@ public final class WidgetUserSheet extends AppBottomSheet {
private final void configureUI(WidgetUserSheetViewModel.ViewState viewState) {
int i = 0;
if (viewState instanceof WidgetUserSheetViewModel.ViewState.Uninitialized) {
FrameLayout frameLayout = getBinding().t;
FrameLayout frameLayout = getBinding().w;
m.checkNotNullExpressionValue(frameLayout, "binding.userSheetLoadingContainer");
frameLayout.setVisibility(0);
} else if (viewState instanceof WidgetUserSheetViewModel.ViewState.Loaded) {
FrameLayout frameLayout2 = getBinding().t;
FrameLayout frameLayout2 = getBinding().w;
m.checkNotNullExpressionValue(frameLayout2, "binding.userSheetLoadingContainer");
frameLayout2.setVisibility(8);
WidgetUserSheetViewModel.ViewState.Loaded loaded = (WidgetUserSheetViewModel.ViewState.Loaded) viewState;
@ -515,8 +547,8 @@ public final class WidgetUserSheet extends AppBottomSheet {
AnalyticsTracker.INSTANCE.openUserSheet(loaded.getHasPremiumCustomization(), primaryActivity != null ? primaryActivity.h() : null, primaryActivity != null ? ActivityUtilsKt.getGamePlatform(primaryActivity) : null, loaded.getGuildMember());
getViewModel().setOpenPopoutLogged(true);
}
getBinding().E.setOnBannerPress(new WidgetUserSheet$configureUI$1(this));
ImageView imageView = getBinding().v;
getBinding().H.setOnBannerPress(new WidgetUserSheet$configureUI$1(this));
ImageView imageView = getBinding().f2121y;
m.checkNotNullExpressionValue(imageView, "binding.userSheetMoreButton");
if (isMe || isSystemUser) {
z2 = false;
@ -526,10 +558,10 @@ public final class WidgetUserSheet extends AppBottomSheet {
}
imageView.setVisibility(i);
if (loaded.getConnectionsViewState().getShowConnectionsSection()) {
setPeekHeightBottomView(getBinding().j);
setPeekHeightBottomView(getBinding().m);
}
ViewHolderUserRichPresence.Companion companion = ViewHolderUserRichPresence.Companion;
FrameLayout frameLayout3 = getBinding().e;
FrameLayout frameLayout3 = getBinding().h;
m.checkNotNullExpressionValue(frameLayout3, "binding.richPresenceContainer");
ViewHolderUserRichPresence richPresence = companion.setRichPresence(frameLayout3, primaryActivity, loaded.getStreamContext(), this.activityViewHolder);
FragmentManager parentFragmentManager = getParentFragmentManager();
@ -570,17 +602,17 @@ public final class WidgetUserSheet extends AppBottomSheet {
private final void configureVoiceSection(WidgetUserSheetViewModel.ViewState.Loaded loaded) {
UserProfileVoiceSettingsView.ViewState voiceSettingsViewState = loaded.getVoiceSettingsViewState();
boolean showVoiceSettings = loaded.getShowVoiceSettings();
TextView textView = getBinding().I;
TextView textView = getBinding().L;
m.checkNotNullExpressionValue(textView, "binding.userSheetProfileVoiceSettingsHeader");
int i = 0;
textView.setVisibility(showVoiceSettings ? 0 : 8);
CardView cardView = getBinding().M;
CardView cardView = getBinding().P;
m.checkNotNullExpressionValue(cardView, "binding.voiceSettingsViewCard");
if (!showVoiceSettings) {
i = 8;
}
cardView.setVisibility(i);
getBinding().J.updateView(voiceSettingsViewState);
getBinding().M.updateView(voiceSettingsViewState);
}
private final WidgetUserSheetBinding getBinding() {
@ -735,7 +767,7 @@ public final class WidgetUserSheet extends AppBottomSheet {
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.bindToComponentLifecycle$default(getViewModel().observeViewState(), this, null, 2, null), WidgetUserSheet.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new WidgetUserSheet$bindSubscriptions$1(this), 62, (Object) null);
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.bindToComponentLifecycle$default(getViewModel().observeEvents(), this, null, 2, null), WidgetUserSheet.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new WidgetUserSheet$bindSubscriptions$2(this), 62, (Object) null);
UserProfileHeaderView.Companion companion = UserProfileHeaderView.Companion;
UserProfileHeaderView userProfileHeaderView = getBinding().E;
UserProfileHeaderView userProfileHeaderView = getBinding().H;
m.checkNotNullExpressionValue(userProfileHeaderView, "binding.userSheetProfileHeaderView");
companion.bind(userProfileHeaderView, this, getViewModelUserProfileHeader().observeViewState());
}
@ -767,10 +799,10 @@ public final class WidgetUserSheet extends AppBottomSheet {
if (j > 0 && j2 > 0) {
StoreStream.Companion.getGuildSubscriptions().unsubscribeUser(j2, j);
}
hideKeyboard(getBinding().f2121y);
hideKeyboard(getBinding().B);
WidgetUserSheetViewModel viewModel = getViewModel();
Context context = getContext();
TextInputLayout textInputLayout = getBinding().f2121y;
TextInputLayout textInputLayout = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout, "binding.userSheetNoteTextFieldWrap");
viewModel.saveUserNote(context, ViewExtensions.getTextOrEmpty(textInputLayout));
super.onPause();
@ -793,34 +825,34 @@ public final class WidgetUserSheet extends AppBottomSheet {
super.onViewCreated(view, bundle);
long j = getArgumentsOrDefault().getLong(ARG_USER_ID);
boolean z2 = j == StoreStream.Companion.getUsers().getMe().getId();
getBinding().v.setOnClickListener(new WidgetUserSheet$onViewCreated$1(this, j));
UserProfileHeaderView userProfileHeaderView = getBinding().E;
getBinding().f2121y.setOnClickListener(new WidgetUserSheet$onViewCreated$1(this, j));
UserProfileHeaderView userProfileHeaderView = getBinding().H;
Badge.Companion companion = Badge.Companion;
FragmentManager parentFragmentManager = getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
Context requireContext = requireContext();
m.checkNotNullExpressionValue(requireContext, "requireContext()");
userProfileHeaderView.setOnBadgeClick(companion.onBadgeClick(parentFragmentManager, requireContext));
getBinding().H.setOnInviteToSpeak(new WidgetUserSheet$onViewCreated$2(this, z2));
getBinding().H.setOnMoveToAudience(new WidgetUserSheet$onViewCreated$3(this));
getBinding().J.setOnMuteChecked(new WidgetUserSheet$onViewCreated$4(this));
getBinding().J.setOnDeafenChecked(new WidgetUserSheet$onViewCreated$5(this));
getBinding().J.setOnVolumeChange(new WidgetUserSheet$onViewCreated$6(this));
getBinding().h.setOnEditMember(new WidgetUserSheet$onViewCreated$7(this));
getBinding().h.setOnKick(new WidgetUserSheet$onViewCreated$8(this));
getBinding().h.setOnBan(new WidgetUserSheet$onViewCreated$9(this));
getBinding().h.setOnServerMute(new WidgetUserSheet$onViewCreated$10(this));
getBinding().h.setOnServerDeafen(new WidgetUserSheet$onViewCreated$11(this));
getBinding().h.setOnServerMove(new WidgetUserSheet$onViewCreated$12(this));
getBinding().h.setOnDisconnect(new WidgetUserSheet$onViewCreated$13(this));
TextInputLayout textInputLayout = getBinding().f2121y;
getBinding().K.setOnInviteToSpeak(new WidgetUserSheet$onViewCreated$2(this, z2));
getBinding().K.setOnMoveToAudience(new WidgetUserSheet$onViewCreated$3(this));
getBinding().M.setOnMuteChecked(new WidgetUserSheet$onViewCreated$4(this));
getBinding().M.setOnDeafenChecked(new WidgetUserSheet$onViewCreated$5(this));
getBinding().M.setOnVolumeChange(new WidgetUserSheet$onViewCreated$6(this));
getBinding().k.setOnEditMember(new WidgetUserSheet$onViewCreated$7(this));
getBinding().k.setOnKick(new WidgetUserSheet$onViewCreated$8(this));
getBinding().k.setOnBan(new WidgetUserSheet$onViewCreated$9(this));
getBinding().k.setOnServerMute(new WidgetUserSheet$onViewCreated$10(this));
getBinding().k.setOnServerDeafen(new WidgetUserSheet$onViewCreated$11(this));
getBinding().k.setOnServerMove(new WidgetUserSheet$onViewCreated$12(this));
getBinding().k.setOnDisconnect(new WidgetUserSheet$onViewCreated$13(this));
TextInputLayout textInputLayout = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout, "binding.userSheetNoteTextFieldWrap");
ViewExtensions.setOnEditTextFocusChangeListener(textInputLayout, new WidgetUserSheet$onViewCreated$14(this));
TextInputLayout textInputLayout2 = getBinding().f2121y;
TextInputLayout textInputLayout2 = getBinding().B;
m.checkNotNullExpressionValue(textInputLayout2, "binding.userSheetNoteTextFieldWrap");
ViewExtensions.setOnImeActionDone$default(textInputLayout2, false, new WidgetUserSheet$onViewCreated$15(this, view), 1, null);
ViewCompat.setAccessibilityDelegate(getBinding().v, new WidgetUserSheet$onViewCreated$16(this));
for (TextView textView : n.listOf((Object[]) new TextView[]{getBinding().j, getBinding().r, getBinding().w, getBinding().m, getBinding().f2119s, getBinding().I})) {
ViewCompat.setAccessibilityDelegate(getBinding().f2121y, new WidgetUserSheet$onViewCreated$16(this));
for (TextView textView : n.listOf((Object[]) new TextView[]{getBinding().m, getBinding().u, getBinding().f2122z, getBinding().p, getBinding().v, getBinding().L})) {
AccessibilityUtils accessibilityUtils = AccessibilityUtils.INSTANCE;
m.checkNotNullExpressionValue(textView, "header");
accessibilityUtils.setViewIsHeading(textView);

View File

@ -23,14 +23,14 @@ public final class WidgetUserSheetViewModel$inviteUserToSpeak$1 extends o implem
return Unit.a;
}
public final void invoke(Void r28) {
public final void invoke(Void r29) {
WidgetUserSheetViewModel.ViewState access$getViewState$p = WidgetUserSheetViewModel.access$getViewState$p(this.this$0);
if (!(access$getViewState$p instanceof WidgetUserSheetViewModel.ViewState.Loaded)) {
access$getViewState$p = null;
}
WidgetUserSheetViewModel.ViewState.Loaded loaded = (WidgetUserSheetViewModel.ViewState.Loaded) access$getViewState$p;
if (loaded != null) {
WidgetUserSheetViewModel.access$updateViewState(this.this$0, WidgetUserSheetViewModel.ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, UserProfileStageActionsView.ViewState.m45copyam1GJgw$default(loaded.getStageViewState(), false, null, null, null, false, false, false, false, 127, null), null, null, null, 0, null, null, null, false, null, false, null, null, 4193791, null));
WidgetUserSheetViewModel.access$updateViewState(this.this$0, WidgetUserSheetViewModel.ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, UserProfileStageActionsView.ViewState.m45copyam1GJgw$default(loaded.getStageViewState(), false, null, null, null, false, false, false, false, 127, null), null, null, null, null, 0, null, null, null, false, null, false, null, null, 8388095, null));
WidgetUserSheetViewModel.access$emitDismissSheetEvent(this.this$0);
}
}

View File

@ -23,14 +23,14 @@ public final class WidgetUserSheetViewModel$setUserSuppressedInChannel$1 extends
return Unit.a;
}
public final void invoke(Void r28) {
public final void invoke(Void r29) {
WidgetUserSheetViewModel.ViewState access$getViewState$p = WidgetUserSheetViewModel.access$getViewState$p(this.this$0);
if (!(access$getViewState$p instanceof WidgetUserSheetViewModel.ViewState.Loaded)) {
access$getViewState$p = null;
}
WidgetUserSheetViewModel.ViewState.Loaded loaded = (WidgetUserSheetViewModel.ViewState.Loaded) access$getViewState$p;
if (loaded != null) {
WidgetUserSheetViewModel.access$updateViewState(this.this$0, WidgetUserSheetViewModel.ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, UserProfileStageActionsView.ViewState.m45copyam1GJgw$default(loaded.getStageViewState(), false, null, null, null, false, false, false, false, 191, null), null, null, null, 0, null, null, null, false, null, false, null, null, 4193791, null));
WidgetUserSheetViewModel.access$updateViewState(this.this$0, WidgetUserSheetViewModel.ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, UserProfileStageActionsView.ViewState.m45copyam1GJgw$default(loaded.getStageViewState(), false, null, null, null, false, false, false, false, 191, null), null, null, null, null, 0, null, null, null, false, null, false, null, null, 8388095, null));
WidgetUserSheetViewModel.access$emitDismissSheetEvent(this.this$0);
}
}

View File

@ -34,6 +34,7 @@ import com.discord.stores.StoreMediaSettings;
import com.discord.stores.StoreStream;
import com.discord.stores.StoreUserNotes;
import com.discord.stores.StoreUserProfile;
import com.discord.utilities.dimen.DimenUtils;
import com.discord.utilities.guilds.RoleUtils;
import com.discord.utilities.icon.IconUtils;
import com.discord.utilities.permissions.ManageUserContext;
@ -1135,10 +1136,13 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
private final VoiceState channelVoiceState;
private final UserProfileConnectionsView.ViewState connectionsViewState;
private final Long currentGuildId;
private final String guildIcon;
private final String guildIconURL;
private final Long guildId;
private final GuildMember guildMember;
private final String guildName;
private final String guildSectionHeaderText;
private final boolean hasGuildMemberBio;
private final boolean hasPremiumCustomization;
private final boolean isMe;
private final boolean profileLoaded;
@ -1155,7 +1159,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
private final UserProfileVoiceSettingsView.ViewState voiceSettingsViewState;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public Loaded(User user, boolean z2, boolean z3, UserProfileVoiceSettingsView.ViewState viewState, VoiceState voiceState, ModelRichPresence modelRichPresence, String str, List<GuildRole> list, UserProfileAdminView.ViewState viewState2, UserProfileStageActionsView.ViewState viewState3, Channel channel, StreamContext streamContext, String str2, int i, UserProfileConnectionsView.ViewState viewState4, StoreUserNotes.UserNoteState userNoteState, String str3, boolean z4, List<Node<MessageRenderContext>> list2, boolean z5, Long l, GuildMember guildMember) {
public Loaded(User user, boolean z2, boolean z3, UserProfileVoiceSettingsView.ViewState viewState, VoiceState voiceState, ModelRichPresence modelRichPresence, String str, List<GuildRole> list, UserProfileAdminView.ViewState viewState2, UserProfileStageActionsView.ViewState viewState3, Channel channel, StreamContext streamContext, String str2, String str3, int i, UserProfileConnectionsView.ViewState viewState4, StoreUserNotes.UserNoteState userNoteState, String str4, boolean z4, List<Node<MessageRenderContext>> list2, boolean z5, Long l, GuildMember guildMember) {
super(null);
String avatar;
m.checkNotNullParameter(user, "user");
@ -1164,6 +1168,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
m.checkNotNullParameter(viewState3, "stageViewState");
m.checkNotNullParameter(viewState4, "connectionsViewState");
m.checkNotNullParameter(userNoteState, "userNoteFetchState");
String str5 = null;
this.user = user;
this.isMe = z2;
this.showVoiceSettings = z3;
@ -1177,25 +1182,26 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
this.channel = channel;
this.streamContext = streamContext;
this.guildName = str2;
this.guildIcon = str3;
this.userRelationshipType = i;
this.connectionsViewState = viewState4;
this.userNoteFetchState = userNoteState;
this.userNote = str3;
this.userNote = str4;
this.userInSameVoiceChannel = z4;
this.bioAst = list2;
this.profileLoaded = z5;
this.guildId = l;
this.guildMember = guildMember;
boolean z6 = true;
if (user.getBanner() == null && ((avatar = user.getAvatar()) == null || !IconUtils.INSTANCE.isImageHashAnimated(avatar))) {
z6 = false;
}
this.hasPremiumCustomization = z6;
boolean z6 = false;
this.hasPremiumCustomization = user.getBanner() != null || ((avatar = user.getAvatar()) != null && IconUtils.INSTANCE.isImageHashAnimated(avatar));
this.currentGuildId = channel != null ? Long.valueOf(channel.f()) : l;
String bio = guildMember != null ? guildMember.getBio() : null;
this.hasGuildMemberBio = !((bio == null || bio.length() == 0) ? true : z6);
this.guildIconURL = str3 != null ? IconUtils.getForGuild$default(l, str3, null, false, Integer.valueOf(DimenUtils.dpToPixels(16)), 4, null) : str5;
}
public static /* synthetic */ Loaded copy$default(Loaded loaded, User user, boolean z2, boolean z3, UserProfileVoiceSettingsView.ViewState viewState, VoiceState voiceState, ModelRichPresence modelRichPresence, String str, List list, UserProfileAdminView.ViewState viewState2, UserProfileStageActionsView.ViewState viewState3, Channel channel, StreamContext streamContext, String str2, int i, UserProfileConnectionsView.ViewState viewState4, StoreUserNotes.UserNoteState userNoteState, String str3, boolean z4, List list2, boolean z5, Long l, GuildMember guildMember, int i2, Object obj) {
return loaded.copy((i2 & 1) != 0 ? loaded.user : user, (i2 & 2) != 0 ? loaded.isMe : z2, (i2 & 4) != 0 ? loaded.showVoiceSettings : z3, (i2 & 8) != 0 ? loaded.voiceSettingsViewState : viewState, (i2 & 16) != 0 ? loaded.channelVoiceState : voiceState, (i2 & 32) != 0 ? loaded.richPresence : modelRichPresence, (i2 & 64) != 0 ? loaded.guildSectionHeaderText : str, (i2 & 128) != 0 ? loaded.roleItems : list, (i2 & 256) != 0 ? loaded.adminViewState : viewState2, (i2 & 512) != 0 ? loaded.stageViewState : viewState3, (i2 & 1024) != 0 ? loaded.channel : channel, (i2 & 2048) != 0 ? loaded.streamContext : streamContext, (i2 & 4096) != 0 ? loaded.guildName : str2, (i2 & 8192) != 0 ? loaded.userRelationshipType : i, (i2 & 16384) != 0 ? loaded.connectionsViewState : viewState4, (i2 & 32768) != 0 ? loaded.userNoteFetchState : userNoteState, (i2 & 65536) != 0 ? loaded.userNote : str3, (i2 & 131072) != 0 ? loaded.userInSameVoiceChannel : z4, (i2 & 262144) != 0 ? loaded.bioAst : list2, (i2 & 524288) != 0 ? loaded.profileLoaded : z5, (i2 & 1048576) != 0 ? loaded.guildId : l, (i2 & 2097152) != 0 ? loaded.guildMember : guildMember);
public static /* synthetic */ Loaded copy$default(Loaded loaded, User user, boolean z2, boolean z3, UserProfileVoiceSettingsView.ViewState viewState, VoiceState voiceState, ModelRichPresence modelRichPresence, String str, List list, UserProfileAdminView.ViewState viewState2, UserProfileStageActionsView.ViewState viewState3, Channel channel, StreamContext streamContext, String str2, String str3, int i, UserProfileConnectionsView.ViewState viewState4, StoreUserNotes.UserNoteState userNoteState, String str4, boolean z4, List list2, boolean z5, Long l, GuildMember guildMember, int i2, Object obj) {
return loaded.copy((i2 & 1) != 0 ? loaded.user : user, (i2 & 2) != 0 ? loaded.isMe : z2, (i2 & 4) != 0 ? loaded.showVoiceSettings : z3, (i2 & 8) != 0 ? loaded.voiceSettingsViewState : viewState, (i2 & 16) != 0 ? loaded.channelVoiceState : voiceState, (i2 & 32) != 0 ? loaded.richPresence : modelRichPresence, (i2 & 64) != 0 ? loaded.guildSectionHeaderText : str, (i2 & 128) != 0 ? loaded.roleItems : list, (i2 & 256) != 0 ? loaded.adminViewState : viewState2, (i2 & 512) != 0 ? loaded.stageViewState : viewState3, (i2 & 1024) != 0 ? loaded.channel : channel, (i2 & 2048) != 0 ? loaded.streamContext : streamContext, (i2 & 4096) != 0 ? loaded.guildName : str2, (i2 & 8192) != 0 ? loaded.guildIcon : str3, (i2 & 16384) != 0 ? loaded.userRelationshipType : i, (i2 & 32768) != 0 ? loaded.connectionsViewState : viewState4, (i2 & 65536) != 0 ? loaded.userNoteFetchState : userNoteState, (i2 & 131072) != 0 ? loaded.userNote : str4, (i2 & 262144) != 0 ? loaded.userInSameVoiceChannel : z4, (i2 & 524288) != 0 ? loaded.bioAst : list2, (i2 & 1048576) != 0 ? loaded.profileLoaded : z5, (i2 & 2097152) != 0 ? loaded.guildId : l, (i2 & 4194304) != 0 ? loaded.guildMember : guildMember);
}
public final User component1() {
@ -1218,43 +1224,47 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
return this.guildName;
}
public final int component14() {
public final String component14() {
return this.guildIcon;
}
public final int component15() {
return this.userRelationshipType;
}
public final UserProfileConnectionsView.ViewState component15() {
public final UserProfileConnectionsView.ViewState component16() {
return this.connectionsViewState;
}
public final StoreUserNotes.UserNoteState component16() {
public final StoreUserNotes.UserNoteState component17() {
return this.userNoteFetchState;
}
public final String component17() {
public final String component18() {
return this.userNote;
}
public final boolean component18() {
public final boolean component19() {
return this.userInSameVoiceChannel;
}
public final List<Node<MessageRenderContext>> component19() {
return this.bioAst;
}
public final boolean component2() {
return this.isMe;
}
public final boolean component20() {
public final List<Node<MessageRenderContext>> component20() {
return this.bioAst;
}
public final boolean component21() {
return this.profileLoaded;
}
public final Long component21() {
public final Long component22() {
return this.guildId;
}
public final GuildMember component22() {
public final GuildMember component23() {
return this.guildMember;
}
@ -1286,14 +1296,14 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
return this.adminViewState;
}
public final Loaded copy(User user, boolean z2, boolean z3, UserProfileVoiceSettingsView.ViewState viewState, VoiceState voiceState, ModelRichPresence modelRichPresence, String str, List<GuildRole> list, UserProfileAdminView.ViewState viewState2, UserProfileStageActionsView.ViewState viewState3, Channel channel, StreamContext streamContext, String str2, int i, UserProfileConnectionsView.ViewState viewState4, StoreUserNotes.UserNoteState userNoteState, String str3, boolean z4, List<Node<MessageRenderContext>> list2, boolean z5, Long l, GuildMember guildMember) {
public final Loaded copy(User user, boolean z2, boolean z3, UserProfileVoiceSettingsView.ViewState viewState, VoiceState voiceState, ModelRichPresence modelRichPresence, String str, List<GuildRole> list, UserProfileAdminView.ViewState viewState2, UserProfileStageActionsView.ViewState viewState3, Channel channel, StreamContext streamContext, String str2, String str3, int i, UserProfileConnectionsView.ViewState viewState4, StoreUserNotes.UserNoteState userNoteState, String str4, boolean z4, List<Node<MessageRenderContext>> list2, boolean z5, Long l, GuildMember guildMember) {
m.checkNotNullParameter(user, "user");
m.checkNotNullParameter(viewState, "voiceSettingsViewState");
m.checkNotNullParameter(list, "roleItems");
m.checkNotNullParameter(viewState3, "stageViewState");
m.checkNotNullParameter(viewState4, "connectionsViewState");
m.checkNotNullParameter(userNoteState, "userNoteFetchState");
return new Loaded(user, z2, z3, viewState, voiceState, modelRichPresence, str, list, viewState2, viewState3, channel, streamContext, str2, i, viewState4, userNoteState, str3, z4, list2, z5, l, guildMember);
return new Loaded(user, z2, z3, viewState, voiceState, modelRichPresence, str, list, viewState2, viewState3, channel, streamContext, str2, str3, i, viewState4, userNoteState, str4, z4, list2, z5, l, guildMember);
}
public boolean equals(Object obj) {
@ -1304,7 +1314,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
return false;
}
Loaded loaded = (Loaded) obj;
return m.areEqual(this.user, loaded.user) && this.isMe == loaded.isMe && this.showVoiceSettings == loaded.showVoiceSettings && m.areEqual(this.voiceSettingsViewState, loaded.voiceSettingsViewState) && m.areEqual(this.channelVoiceState, loaded.channelVoiceState) && m.areEqual(this.richPresence, loaded.richPresence) && m.areEqual(this.guildSectionHeaderText, loaded.guildSectionHeaderText) && m.areEqual(this.roleItems, loaded.roleItems) && m.areEqual(this.adminViewState, loaded.adminViewState) && m.areEqual(this.stageViewState, loaded.stageViewState) && m.areEqual(this.channel, loaded.channel) && m.areEqual(this.streamContext, loaded.streamContext) && m.areEqual(this.guildName, loaded.guildName) && this.userRelationshipType == loaded.userRelationshipType && m.areEqual(this.connectionsViewState, loaded.connectionsViewState) && m.areEqual(this.userNoteFetchState, loaded.userNoteFetchState) && m.areEqual(this.userNote, loaded.userNote) && this.userInSameVoiceChannel == loaded.userInSameVoiceChannel && m.areEqual(this.bioAst, loaded.bioAst) && this.profileLoaded == loaded.profileLoaded && m.areEqual(this.guildId, loaded.guildId) && m.areEqual(this.guildMember, loaded.guildMember);
return m.areEqual(this.user, loaded.user) && this.isMe == loaded.isMe && this.showVoiceSettings == loaded.showVoiceSettings && m.areEqual(this.voiceSettingsViewState, loaded.voiceSettingsViewState) && m.areEqual(this.channelVoiceState, loaded.channelVoiceState) && m.areEqual(this.richPresence, loaded.richPresence) && m.areEqual(this.guildSectionHeaderText, loaded.guildSectionHeaderText) && m.areEqual(this.roleItems, loaded.roleItems) && m.areEqual(this.adminViewState, loaded.adminViewState) && m.areEqual(this.stageViewState, loaded.stageViewState) && m.areEqual(this.channel, loaded.channel) && m.areEqual(this.streamContext, loaded.streamContext) && m.areEqual(this.guildName, loaded.guildName) && m.areEqual(this.guildIcon, loaded.guildIcon) && this.userRelationshipType == loaded.userRelationshipType && m.areEqual(this.connectionsViewState, loaded.connectionsViewState) && m.areEqual(this.userNoteFetchState, loaded.userNoteFetchState) && m.areEqual(this.userNote, loaded.userNote) && this.userInSameVoiceChannel == loaded.userInSameVoiceChannel && m.areEqual(this.bioAst, loaded.bioAst) && this.profileLoaded == loaded.profileLoaded && m.areEqual(this.guildId, loaded.guildId) && m.areEqual(this.guildMember, loaded.guildMember);
}
public final UserProfileAdminView.ViewState getAdminViewState() {
@ -1331,6 +1341,14 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
return this.currentGuildId;
}
public final String getGuildIcon() {
return this.guildIcon;
}
public final String getGuildIconURL() {
return this.guildIconURL;
}
public final Long getGuildId() {
return this.guildId;
}
@ -1347,6 +1365,10 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
return this.guildSectionHeaderText;
}
public final boolean getHasGuildMemberBio() {
return this.hasGuildMemberBio;
}
public final boolean getHasPremiumCustomization() {
return this.hasPremiumCustomization;
}
@ -1447,13 +1469,15 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
StreamContext streamContext = this.streamContext;
int hashCode10 = (hashCode9 + (streamContext != null ? streamContext.hashCode() : 0)) * 31;
String str2 = this.guildName;
int hashCode11 = (((hashCode10 + (str2 != null ? str2.hashCode() : 0)) * 31) + this.userRelationshipType) * 31;
int hashCode11 = (hashCode10 + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.guildIcon;
int hashCode12 = (((hashCode11 + (str3 != null ? str3.hashCode() : 0)) * 31) + this.userRelationshipType) * 31;
UserProfileConnectionsView.ViewState viewState4 = this.connectionsViewState;
int hashCode12 = (hashCode11 + (viewState4 != null ? viewState4.hashCode() : 0)) * 31;
int hashCode13 = (hashCode12 + (viewState4 != null ? viewState4.hashCode() : 0)) * 31;
StoreUserNotes.UserNoteState userNoteState = this.userNoteFetchState;
int hashCode13 = (hashCode12 + (userNoteState != null ? userNoteState.hashCode() : 0)) * 31;
String str3 = this.userNote;
int hashCode14 = (hashCode13 + (str3 != null ? str3.hashCode() : 0)) * 31;
int hashCode14 = (hashCode13 + (userNoteState != null ? userNoteState.hashCode() : 0)) * 31;
String str4 = this.userNote;
int hashCode15 = (hashCode14 + (str4 != null ? str4.hashCode() : 0)) * 31;
boolean z4 = this.userInSameVoiceChannel;
if (z4) {
z4 = true;
@ -1461,21 +1485,21 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
int i11 = z4 ? 1 : 0;
int i12 = z4 ? 1 : 0;
int i13 = z4 ? 1 : 0;
int i14 = (hashCode14 + i11) * 31;
int i14 = (hashCode15 + i11) * 31;
List<Node<MessageRenderContext>> list2 = this.bioAst;
int hashCode15 = (i14 + (list2 != null ? list2.hashCode() : 0)) * 31;
int hashCode16 = (i14 + (list2 != null ? list2.hashCode() : 0)) * 31;
boolean z5 = this.profileLoaded;
if (!z5) {
i2 = z5 ? 1 : 0;
}
int i15 = (hashCode15 + i2) * 31;
int i15 = (hashCode16 + i2) * 31;
Long l = this.guildId;
int hashCode16 = (i15 + (l != null ? l.hashCode() : 0)) * 31;
int hashCode17 = (i15 + (l != null ? l.hashCode() : 0)) * 31;
GuildMember guildMember = this.guildMember;
if (guildMember != null) {
i = guildMember.hashCode();
}
return hashCode16 + i;
return hashCode17 + i;
}
public final boolean isMe() {
@ -1514,6 +1538,8 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
R.append(this.streamContext);
R.append(", guildName=");
R.append(this.guildName);
R.append(", guildIcon=");
R.append(this.guildIcon);
R.append(", userRelationshipType=");
R.append(this.userRelationshipType);
R.append(", connectionsViewState=");
@ -1769,6 +1795,8 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
/* JADX WARNING: Removed duplicated region for block: B:138:0x029a */
/* JADX WARNING: Removed duplicated region for block: B:142:0x02a6 */
/* JADX WARNING: Removed duplicated region for block: B:143:0x02ad */
/* JADX WARNING: Removed duplicated region for block: B:145:0x02b1 */
/* JADX WARNING: Removed duplicated region for block: B:146:0x02b8 */
/* JADX WARNING: Removed duplicated region for block: B:82:0x01f0 */
/* JADX WARNING: Removed duplicated region for block: B:91:0x0216 */
/* JADX WARNING: Removed duplicated region for block: B:98:0x022d */
@ -1890,7 +1918,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
} else {
str = null;
}
updateViewState(new ViewState.Loaded(user, z7, z9, viewState2, voiceState3, storeState.getRichPresence(), c2, list, createAdminViewState, viewState3, channel, streamContext, guild == null ? guild.getName() : null, type, createConnectionsViewState, storeState.getUserNoteFetchState(), str, isInSameVoiceChannel, list2, z4, this.guildId, guildMember));
updateViewState(new ViewState.Loaded(user, z7, z9, viewState2, voiceState3, storeState.getRichPresence(), c2, list, createAdminViewState, viewState3, channel, streamContext, guild == null ? guild.getName() : null, guild == null ? guild.getIcon() : null, type, createConnectionsViewState, storeState.getUserNoteFetchState(), str, isInSameVoiceChannel, list2, z4, this.guildId, guildMember));
this.mostRecentStoreState = storeState;
}
}
@ -1914,7 +1942,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
if (note == null) {
}
str = note;
updateViewState(new ViewState.Loaded(user, z7, z9, viewState2, voiceState3, storeState.getRichPresence(), c2, list, createAdminViewState, viewState3, channel, streamContext, guild == null ? guild.getName() : null, type, createConnectionsViewState, storeState.getUserNoteFetchState(), str, isInSameVoiceChannel, list2, z4, this.guildId, guildMember));
updateViewState(new ViewState.Loaded(user, z7, z9, viewState2, voiceState3, storeState.getRichPresence(), c2, list, createAdminViewState, viewState3, channel, streamContext, guild == null ? guild.getName() : null, guild == null ? guild.getIcon() : null, type, createConnectionsViewState, storeState.getUserNoteFetchState(), str, isInSameVoiceChannel, list2, z4, this.guildId, guildMember));
this.mostRecentStoreState = storeState;
}
user = user2;
@ -1942,7 +1970,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
if (note == null) {
}
str = note;
updateViewState(new ViewState.Loaded(user, z7, z9, viewState2, voiceState3, storeState.getRichPresence(), c2, list, createAdminViewState, viewState3, channel, streamContext, guild == null ? guild.getName() : null, type, createConnectionsViewState, storeState.getUserNoteFetchState(), str, isInSameVoiceChannel, list2, z4, this.guildId, guildMember));
updateViewState(new ViewState.Loaded(user, z7, z9, viewState2, voiceState3, storeState.getRichPresence(), c2, list, createAdminViewState, viewState3, channel, streamContext, guild == null ? guild.getName() : null, guild == null ? guild.getIcon() : null, type, createConnectionsViewState, storeState.getUserNoteFetchState(), str, isInSameVoiceChannel, list2, z4, this.guildId, guildMember));
this.mostRecentStoreState = storeState;
}
}
@ -1976,7 +2004,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
if (note == null) {
}
str = note;
updateViewState(new ViewState.Loaded(user, z7, z9, viewState2, voiceState3, storeState.getRichPresence(), c2, list, createAdminViewState, viewState3, channel, streamContext, guild == null ? guild.getName() : null, type, createConnectionsViewState, storeState.getUserNoteFetchState(), str, isInSameVoiceChannel, list2, z4, this.guildId, guildMember));
updateViewState(new ViewState.Loaded(user, z7, z9, viewState2, voiceState3, storeState.getRichPresence(), c2, list, createAdminViewState, viewState3, channel, streamContext, guild == null ? guild.getName() : null, guild == null ? guild.getIcon() : null, type, createConnectionsViewState, storeState.getUserNoteFetchState(), str, isInSameVoiceChannel, list2, z4, this.guildId, guildMember));
this.mostRecentStoreState = storeState;
}
@ -2101,7 +2129,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
ViewState.Loaded loaded = (ViewState.Loaded) viewState;
if (loaded != null && (storeState = this.mostRecentStoreState) != null && (userProfile = storeState.getUserProfile()) != null && (f = userProfile.f()) != null && (d = f.d()) != null && (a = d.a()) != null) {
this.revealedBioIndices.add(Integer.valueOf(spoilerNode.getId()));
updateViewState(ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, null, null, null, null, 0, null, null, null, false, createAndProcessBioAstFromText(a), false, null, null, 3932159, null));
updateViewState(ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, null, null, null, null, null, 0, null, null, null, false, createAndProcessBioAstFromText(a), false, null, null, 7864319, null));
}
}
@ -2114,7 +2142,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
ViewState.Loaded loaded = (ViewState.Loaded) viewState;
if (loaded != null && (channel = loaded.getStageViewState().getChannel()) != null) {
long id2 = loaded.getUser().getId();
updateViewState(ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, UserProfileStageActionsView.ViewState.m45copyam1GJgw$default(loaded.getStageViewState(), false, null, null, null, false, false, false, true, 127, null), null, null, null, 0, null, null, null, false, null, false, null, null, 4193791, null));
updateViewState(ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, UserProfileStageActionsView.ViewState.m45copyam1GJgw$default(loaded.getStageViewState(), false, null, null, null, false, false, false, true, 127, null), null, null, null, null, 0, null, null, null, false, null, false, null, null, 8388095, null));
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(StageChannelAPI.setUserSuppressedInChannel$default(StageChannelAPI.INSTANCE, channel, id2, false, 0, 8, null), false, 1, null), this, null, 2, null), WidgetUserSheetViewModel.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new WidgetUserSheetViewModel$inviteUserToSpeak$1(this), 62, (Object) null);
}
}
@ -2231,7 +2259,7 @@ public final class WidgetUserSheetViewModel extends AppViewModel<ViewState> {
ViewState.Loaded loaded = (ViewState.Loaded) viewState;
if (loaded != null && (channel = loaded.getStageViewState().getChannel()) != null) {
long id2 = loaded.getUser().getId();
updateViewState(ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, UserProfileStageActionsView.ViewState.m45copyam1GJgw$default(loaded.getStageViewState(), false, null, null, null, false, false, true, false, 191, null), null, null, null, 0, null, null, null, false, null, false, null, null, 4193791, null));
updateViewState(ViewState.Loaded.copy$default(loaded, null, false, false, null, null, null, null, null, null, UserProfileStageActionsView.ViewState.m45copyam1GJgw$default(loaded.getStageViewState(), false, null, null, null, false, false, true, false, 191, null), null, null, null, null, 0, null, null, null, false, null, false, null, null, 8388095, null));
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(StageChannelAPI.setUserSuppressedInChannel$default(StageChannelAPI.INSTANCE, channel, id2, z2, 0, 8, null), false, 1, null), this, null, 2, null), WidgetUserSheetViewModel.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new WidgetUserSheetViewModel$setUserSuppressedInChannel$1(this), 62, (Object) null);
}
}

View File

@ -52,21 +52,21 @@ public final class WidgetCallFullscreen$configureMenu$1<T1, T2> implements Actio
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_call_overlay_launcher /* 2131364207 */:
case R.id.menu_call_overlay_launcher /* 2131364210 */:
DiscordOverlayService.Companion companion = DiscordOverlayService.Companion;
m.checkNotNullExpressionValue(context, "context");
companion.launchForConnect(context);
return;
case R.id.menu_call_switch_camera /* 2131364208 */:
case R.id.menu_call_switch_camera /* 2131364211 */:
WidgetCallFullscreen.access$getViewModel$p(this.this$0).switchCameraInputPressed();
return;
case R.id.menu_call_video_list /* 2131364209 */:
case R.id.menu_call_video_list /* 2131364212 */:
WidgetVoiceBottomSheet.Companion companion2 = WidgetVoiceBottomSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
companion2.show(parentFragmentManager, this.$viewState.getCallModel().getChannel().h(), false, WidgetVoiceBottomSheet.FeatureContext.FULLSCREEN_CALL).setOnStreamPreviewClickedListener(new AnonymousClass1(this));
return;
case R.id.menu_call_voice_settings /* 2131364210 */:
case R.id.menu_call_voice_settings /* 2131364213 */:
WidgetVoiceSettingsBottomSheet.Companion companion3 = WidgetVoiceSettingsBottomSheet.Companion;
Long valueOf = Long.valueOf(this.$viewState.getCallModel().getChannel().h());
FragmentManager parentFragmentManager2 = this.this$0.getParentFragmentManager();

View File

@ -26,7 +26,13 @@
<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" android:layout_marginEnd="8dp" 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" style="@style/UiKit_Material_Button_Green_Fit"/>
</LinearLayout>
<TextView android:id="@+id/about_me_header" android:visibility="gone" android:text="@string/user_popout_about_me" style="@style/UserProfile_Section_Header"/>
<com.google.android.flexbox.FlexboxLayout android:orientation="horizontal" android:id="@+id/about_me_header_container" android:paddingTop="8dp" android:layout_width="match_parent" android:layout_height="wrap_content" app:alignItems="2">
<TextView android:id="@+id/about_me_header" android:paddingTop="0dp" android:visibility="gone" android:layout_width="wrap_content" android:text="@string/user_popout_about_me" android:layout_marginEnd="4dp" style="@style/UserProfile_Section_Header"/>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.facebook.drawee.view.SimpleDraweeView android:layout_gravity="center" android:id="@+id/about_me_guild_icon" android:visibility="gone" android:layout_width="16dp" android:layout_height="16dp" app:placeholderImage="@drawable/drawable_squircle_brand_500" app:roundedCornerRadius="16dp"/>
<TextView android:textSize="8sp" android:gravity="center" android:layout_gravity="center" android:id="@+id/about_me_guild_icon_name" android:layout_width="16dp" android:layout_height="16dp" style="@style/UiKit_TextView_SingleLine"/>
</FrameLayout>
</com.google.android.flexbox.FlexboxLayout>
<androidx.cardview.widget.CardView android:id="@+id/about_me_card" android:visibility="gone" style="@style/UserProfile_Section_Card">
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/about_me_text" android:padding="16dp" android:maxLines="6" android:lineSpacingMultiplier="1.25" style="@style/UiKit_TextView"/>
</androidx.cardview.widget.CardView>

View File

@ -26,7 +26,13 @@
<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" android:layout_marginEnd="8dp" 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" style="@style/UiKit_Material_Button_Green_Fit"/>
</LinearLayout>
<TextView android:id="@+id/about_me_header" android:visibility="gone" android:text="@string/user_popout_about_me" style="@style/UserProfile_Section_Header"/>
<com.google.android.flexbox.FlexboxLayout android:orientation="horizontal" android:id="@+id/about_me_header_container" android:paddingTop="8dp" android:layout_width="match_parent" android:layout_height="wrap_content" app:alignItems="2">
<TextView android:id="@+id/about_me_header" android:paddingTop="0dp" android:visibility="gone" android:layout_width="wrap_content" android:text="@string/user_popout_about_me" android:layout_marginEnd="4dp" style="@style/UserProfile_Section_Header"/>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.facebook.drawee.view.SimpleDraweeView android:layout_gravity="center" android:id="@+id/about_me_guild_icon" android:visibility="gone" android:layout_width="16dp" android:layout_height="16dp" app:placeholderImage="@drawable/drawable_squircle_brand_500" app:roundedCornerRadius="16dp"/>
<TextView android:textSize="8sp" android:gravity="center" android:layout_gravity="center" android:id="@+id/about_me_guild_icon_name" android:layout_width="16dp" android:layout_height="16dp" style="@style/UiKit_TextView_SingleLine"/>
</FrameLayout>
</com.google.android.flexbox.FlexboxLayout>
<androidx.cardview.widget.CardView android:id="@+id/about_me_card" android:visibility="gone" style="@style/UserProfile_Section_Card">
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/about_me_text" android:padding="16dp" android:maxLines="6" android:lineSpacingMultiplier="1.25" style="@style/UiKit_TextView"/>
</androidx.cardview.widget.CardView>

View File

@ -233,7 +233,11 @@
<string name="add_role_placeholder">Role</string>
<string name="add_role_subtitle">Give special permissions to your members.</string>
<string name="add_role_title">Set a role</string>
<string name="add_to_calendar">Add to Calendar</string>
<string name="add_to_dictionary">Add to Dictionary</string>
<string name="add_to_google_calendar">Add to Google Calendar</string>
<string name="add_to_outlook">Add to Outlook</string>
<string name="add_to_yahoo">Add to Yahoo</string>
<string name="add_topic">Add Topic</string>
<string name="administrative">Administrative</string>
<string name="administrator">Administrator</string>
@ -1132,6 +1136,7 @@
<string name="bundle_ready_restart">Restart</string>
<string name="bundle_ready_title">Augment Complete</string>
<string name="burgundy">Burgundy</string>
<string name="calendar_channel_location">Discord: !!{guildName}!! server, !!{channelName}!!</string>
<string name="call">Call</string>
<string name="call_ended">Call Ended</string>
<string name="call_ended_description">!!{duration}!! ‏‮—‬‏ !!{timestamp}!!</string>
@ -1610,9 +1615,6 @@
<string name="connected_accounts">Connected Accounts</string>
<string name="connected_accounts_none">Connect your accounts to unlock special Discord integrations</string>
<string name="connected_accounts_none_title">No Connections</string>
<string name="connected_accounts_tooltip_accept">Let\'s go</string>
<string name="connected_accounts_tooltip_description">Connect a YouTube or Twitch account to find creator-run servers.</string>
<string name="connected_accounts_tooltip_header">Find your favorite creators</string>
<string name="connected_device_detected_cancel_button">Don\'t Switch</string>
<string name="connected_device_detected_confirm_button">Switch Device</string>
<string name="connected_device_detected_input_and_output_body">Discord has detected a new audio device named **!!{name}!!**! Do you want to switch to it?</string>
@ -2336,6 +2338,7 @@
<string name="download_desktop_title">Get Discord at home</string>
<string name="download_failed">Download failed</string>
<string name="download_file_complete">!!{fileName}!! downloaded</string>
<string name="download_ics">Download ICS file</string>
<string name="download_mobile_title">Or on the go</string>
<string name="duration_10_min">10 MIN</string>
<string name="duration_10_min_mobile">10 Minutes</string>
@ -2992,8 +2995,8 @@
<string name="form_warning_video_preview">You must grant Discord [access to your camera](onEnableClick) in order to be able to preview.</string>
<string name="forum_channel">Forum Channel</string>
<string name="forum_channel_description">Organize all conversation in threads</string>
<string name="forum_section_active">Active Threads</string>
<string name="forum_section_archived">Archived Threads</string>
<string name="forum_section_active">Active Posts</string>
<string name="forum_section_archived">Archived Posts</string>
<string name="fr">French</string>
<string name="frequently_used">Frequently Used</string>
<string name="friend_add_instructions">Type both their username and 4-digit tag. Keep in mind that username is case sensitive.</string>
@ -3647,8 +3650,9 @@
<string name="guild_membership_automation_verfication_expired">Verification link has expired.</string>
<string name="guild_membership_automation_verfication_verified">Verification success.</string>
<string name="guild_membership_automation_verification_verifying">Verifying your request.</string>
<string name="guild_monetization_enable_confirmation_subtitle">Once enabled, you will be able to accept payment for Premium Subscriptions.</string>
<string name="guild_monetization_enable_confirmation_title">Are you sure you want to enable monetization for this server?</string>
<string name="guild_monetization_enable_confirmation_subtitle">You can now accept payment for premium subscriptions.</string>
<string name="guild_monetization_enable_confirmation_title">Monetization has been enabled.</string>
<string name="guild_monetization_enable_create_team">Create Team</string>
<string name="guild_monetization_enable_cta">Enable</string>
<string name="guild_monetization_enable_description">In order to enable server monetization, you must [set up a Team]({createTeamURL}) and then select it below. Teams must have valid payment information. Once enabled, you will be able to accept payment for Premium Subscriptions.</string>
<string name="guild_monetization_enable_header">Enable Monetization</string>
@ -6157,6 +6161,7 @@
<string name="mobile_stream_screen_share">Screen Share</string>
<string name="mobile_stream_screen_sharing">Sharing screen</string>
<string name="mobile_stream_stop_sharing">Stop sharing</string>
<string name="moderate_members">Moderate Members</string>
<string name="moderation">Moderation</string>
<string name="moderator_allow_everyone_raise_hand">Allow requests from @everyone</string>
<string name="moderator_raise_own_hand">Become a Speaker</string>
@ -6177,8 +6182,8 @@
<string name="move_members_description">Members with this permission can drag other members out of this channel. They can only move members between channels both they and the member they are moving have access.</string>
<string name="move_to">Move To</string>
<string name="move_to_success">User has been moved to the selected channel.</string>
<string name="res_2131892277_msg_alert_cleared">Alert Cleared</string>
<string name="res_2131892278_msg_no_alert_showing">No Alert Showing</string>
<string name="res_2131892282_msg_alert_cleared">Alert Cleared</string>
<string name="res_2131892283_msg_no_alert_showing">No Alert Showing</string>
<string name="mtrl_badge_numberless_content_description">New notification</string>
<string name="mtrl_chip_close_icon_content_description">Remove %1$s</string>
<string name="mtrl_exceed_max_badge_number_content_description">More than %1$d new notifications</string>
@ -8084,6 +8089,7 @@
<string name="role_permissions_mention_everyone_description">Allows members to use @everyone (everyone in the server) or @here (only online members in that channel). They can also @mention all roles, even if the roles “Allow anyone to mention this role” permission is disabled.</string>
<string name="role_permissions_mention_everyone_description_category">Allows members to use @everyone or @here (only online members) in these channels. They can also @mention all roles in these channels, even if the roles “Allow anyone to mention this role” permission is disabled.</string>
<string name="role_permissions_mention_everyone_description_text">Allows members to use @everyone or @here (only online members) in this channel. They can also @mention all roles in this channel, even if the roles “Allow anyone to mention this role” permission is disabled.</string>
<string name="role_permissions_moderate_members_description">Allow members to perform limited moderation actions (timeout).</string>
<string name="role_permissions_move_members_description">Allows members to move other members between voice channels that the member with this permission has access to.</string>
<string name="role_permissions_move_members_description_category">Allows members to disconnect other members from these channels. They will also be able to move somebody into other channels that they have this permission in.</string>
<string name="role_permissions_move_members_description_stage">(Required for Stage moderator) Allow members to force others to disconnect from this channel.</string>

View File

@ -233,7 +233,11 @@
<string name="add_role_placeholder">[Ŕöļé one]</string>
<string name="add_role_subtitle">[ĜîVé šþéçîåļ þéŕḿîššîöñš ţö ýöûŕ ḿéḿɓéŕš. one two three four five]</string>
<string name="add_role_title">[Šéţ å ŕöļé one two]</string>
<string name="add_to_calendar">[Åðð ţö Çåļéñðåŕ one two three]</string>
<string name="add_to_dictionary">[Åðð ţö Ðîçţîöñåŕý one two three]</string>
<string name="add_to_google_calendar">[Åðð ţö Ĝööĝļé Çåļéñðåŕ one two three]</string>
<string name="add_to_outlook">[Åðð ţö Öûţļööķ one two three]</string>
<string name="add_to_yahoo">[Åðð ţö Ýåĥöö one two]</string>
<string name="add_topic">[Åðð Ţöþîç one two]</string>
<string name="administrative">[ÅðḿîñîšţŕåţîVé one two three]</string>
<string name="administrator">[Åðḿîñîšţŕåţöŕ one two]</string>
@ -1132,6 +1136,7 @@
<string name="bundle_ready_restart">[Ŕéšţåŕţ one two]</string>
<string name="bundle_ready_title">[Åûĝḿéñţ Çöḿþļéţé one two three]</string>
<string name="burgundy">[βûŕĝûñðý one two]</string>
<string name="calendar_channel_location">[Ðîšçöŕð: ¡¡»{guildName}«¡¡ šéŕVéŕ, ¡¡»{channelName}«¡¡ one two three four]</string>
<string name="call">[Çåļļ one]</string>
<string name="call_ended">[Çåļļ Éñðéð one two]</string>
<string name="call_ended_description">[¡¡»{duration}«¡¡ — ¡¡»{timestamp}«¡¡ one two]</string>
@ -1610,9 +1615,6 @@
<string name="connected_accounts">[Çöññéçţéð Åççöûñţš one two three]</string>
<string name="connected_accounts_none">[Çöññéçţ ýöûŕ åççöûñţš ţö ûñļöçķ šþéçîåļ Ðîšçöŕð îñţéĝŕåţîöñš one two three four five six seven]</string>
<string name="connected_accounts_none_title">[Ñö Çöññéçţîöñš one two three]</string>
<string name="connected_accounts_tooltip_accept">[Ļéţ\'š ĝö one two]</string>
<string name="connected_accounts_tooltip_description">[Çöññéçţ å ÝöûŢûɓé öŕ Ţŵîţçĥ åççöûñţ ţö ƒîñð çŕéåţöŕ-ŕûñ šéŕVéŕš. one two three four five six seven]</string>
<string name="connected_accounts_tooltip_header">[Fîñð ýöûŕ ƒåVöŕîţé çŕéåţöŕš one two three four]</string>
<string name="connected_device_detected_cancel_button">[Ðöñ\'ţ Šŵîţçĥ one two]</string>
<string name="connected_device_detected_confirm_button">[Šŵîţçĥ ÐéVîçé one two]</string>
<string name="connected_device_detected_input_and_output_body">[Ðîšçöŕð ĥåš ðéţéçţéð å ñéŵ åûðîö ðéVîçé ñåḿéð **¡¡»{name}«¡¡**¡ Ðö ýöû ŵåñţ ţö šŵîţçĥ ţö îţ¿ one two three four five six seven eight nine]</string>
@ -2336,6 +2338,7 @@
<string name="download_desktop_title">[Ĝéţ Ðîšçöŕð åţ ĥöḿé one two three]</string>
<string name="download_failed">[Ðöŵñļöåð ƒåîļéð one two three]</string>
<string name="download_file_complete">[¡¡»{fileName}«¡¡ ðöŵñļöåðéð one two three]</string>
<string name="download_ics">[Ðöŵñļöåð ÎÇŠ ƒîļé one two three]</string>
<string name="download_mobile_title">[Öŕ öñ ţĥé ĝö one two]</string>
<string name="duration_10_min">[10 ḾÎÑ one two]</string>
<string name="duration_10_min_mobile">[10 Ḿîñûţéš one two]</string>
@ -2992,8 +2995,8 @@
<string name="form_warning_video_preview">[Ýöû ḿûšţ ĝŕåñţ Ðîšçöŕð [åççéšš ţö ýöûŕ çåḿéŕå](öñÉñåɓļéÇļîçķ) îñ öŕðéŕ ţö ɓé åɓļé ţö þŕéVîéŵ. one two three four five six seven eight nine ten]</string>
<string name="forum_channel">[Föŕûḿ Çĥåññéļ one two]</string>
<string name="forum_channel_description">[Öŕĝåñîžé åļļ çöñVéŕšåţîöñ îñ ţĥŕéåðš one two three four five]</string>
<string name="forum_section_active">[ÅçţîVé Ţĥŕéåðš one two three]</string>
<string name="forum_section_archived">[ÅŕçĥîVéð Ţĥŕéåðš one two three]</string>
<string name="forum_section_active">[ÅçţîVé Þöšţš one two]</string>
<string name="forum_section_archived">[ÅŕçĥîVéð Þöšţš one two three]</string>
<string name="fr">[Fŕéñçĥ one two]</string>
<string name="frequently_used">[FŕéQûéñţļý Ûšéð one two three]</string>
<string name="friend_add_instructions">[Ţýþé ɓöţĥ ţĥéîŕ ûšéŕñåḿé åñð 4-ðîĝîţ ţåĝ. Ķééþ îñ ḿîñð ţĥåţ ûšéŕñåḿé îš çåšé šéñšîţîVé. one two three four five six seven eight nine]</string>
@ -3647,8 +3650,9 @@
<string name="guild_membership_automation_verfication_expired">[νéŕîƒîçåţîöñ ļîñķ ĥåš éхþîŕéð. one two three four]</string>
<string name="guild_membership_automation_verfication_verified">[νéŕîƒîçåţîöñ šûççéšš. one two three]</string>
<string name="guild_membership_automation_verification_verifying">[νéŕîƒýîñĝ ýöûŕ ŕéQûéšţ. one two three]</string>
<string name="guild_monetization_enable_confirmation_subtitle">[Öñçé éñåɓļéð, ýöû ŵîļļ ɓé åɓļé ţö åççéþţ þåýḿéñţ ƒöŕ Þŕéḿîûḿ Šûɓšçŕîþţîöñš. one two three four five six seven eight]</string>
<string name="guild_monetization_enable_confirmation_title">[Åŕé ýöû šûŕé ýöû ŵåñţ ţö éñåɓļé ḿöñéţîžåţîöñ ƒöŕ ţĥîš šéŕVéŕ¿ one two three four five six seven]</string>
<string name="guild_monetization_enable_confirmation_subtitle">[Ýöû çåñ ñöŵ åççéþţ þåýḿéñţ ƒöŕ þŕéḿîûḿ šûɓšçŕîþţîöñš. one two three four five six]</string>
<string name="guild_monetization_enable_confirmation_title">[Ḿöñéţîžåţîöñ ĥåš ɓééñ éñåɓļéð. one two three four]</string>
<string name="guild_monetization_enable_create_team">[Çŕéåţé Ţéåḿ one two]</string>
<string name="guild_monetization_enable_cta">[Éñåɓļé one two]</string>
<string name="guild_monetization_enable_description">[Îñ öŕðéŕ ţö éñåɓļé šéŕVéŕ ḿöñéţîžåţîöñ, ýöû ḿûšţ [šéţ ûþ å Ţéåḿ](»{createTeamURL}«) åñð ţĥéñ šéļéçţ îţ ɓéļöŵ. Ţéåḿš ḿûšţ ĥåVé Våļîð þåýḿéñţ îñƒöŕḿåţîöñ. Öñçé éñåɓļéð, ýöû ŵîļļ ɓé åɓļé ţö åççéþţ þåýḿéñţ ƒöŕ Þŕéḿîûḿ Šûɓšçŕîþţîöñš. one two three four five six seven eight nine ten eleven twelve thirteen fourteen fiveteen sixteen seventeen nineteen twenty one two three four five six seven eight nine ten eleven twelve thirteen fourteen fiveteen]</string>
<string name="guild_monetization_enable_header">[Éñåɓļé Ḿöñéţîžåţîöñ one two three]</string>
@ -6157,6 +6161,7 @@
<string name="mobile_stream_screen_share">[Šçŕééñ Šĥåŕé one two]</string>
<string name="mobile_stream_screen_sharing">[Šĥåŕîñĝ šçŕééñ one two three]</string>
<string name="mobile_stream_stop_sharing">[Šţöþ šĥåŕîñĝ one two]</string>
<string name="moderate_members">[Ḿöðéŕåţé Ḿéḿɓéŕš one two three]</string>
<string name="moderation">[Ḿöðéŕåţîöñ one two]</string>
<string name="moderator_allow_everyone_raise_hand">[Åļļöŵ ŕéQûéšţš ƒŕöḿ @éVéŕýöñé one two three four]</string>
<string name="moderator_raise_own_hand">[βéçöḿé å Šþéåķéŕ one two three]</string>
@ -6177,8 +6182,8 @@
<string name="move_members_description">[Ḿéḿɓéŕš ŵîţĥ ţĥîš þéŕḿîššîöñ çåñ ðŕåĝ öţĥéŕ ḿéḿɓéŕš öûţ öƒ ţĥîš çĥåññéļ. Ţĥéý çåñ öñļý ḿöVé ḿéḿɓéŕš ɓéţŵééñ çĥåññéļš ɓöţĥ ţĥéý åñð ţĥé ḿéḿɓéŕ ţĥéý åŕé ḿöVîñĝ ĥåVé åççéšš. one two three four five six seven eight nine ten eleven twelve thirteen fourteen fiveteen]</string>
<string name="move_to">[ḾöVé Ţö one two]</string>
<string name="move_to_success">[Ûšéŕ ĥåš ɓééñ ḿöVéð ţö ţĥé šéļéçţéð çĥåññéļ. one two three four five]</string>
<string name="res_2131892277_msg_alert_cleared">[Åļéŕţ Çļéåŕéð one two]</string>
<string name="res_2131892278_msg_no_alert_showing">[Ñö Åļéŕţ Šĥöŵîñĝ one two three]</string>
<string name="res_2131892282_msg_alert_cleared">[Åļéŕţ Çļéåŕéð one two]</string>
<string name="res_2131892283_msg_no_alert_showing">[Ñö Åļéŕţ Šĥöŵîñĝ one two three]</string>
<string name="mtrl_badge_numberless_content_description">[Ñéŵ ñöţîƒîçåţîöñ one two three]</string>
<string name="mtrl_chip_close_icon_content_description">[ŔéḿöVé »%1$s« one two]</string>
<string name="mtrl_exceed_max_badge_number_content_description">[Ḿöŕé ţĥåñ %1$d ñéŵ ñöţîƒîçåţîöñš one two three four]</string>
@ -8084,6 +8089,7 @@
<string name="role_permissions_mention_everyone_description">[Åļļöŵš ḿéḿɓéŕš ţö ûšé @éVéŕýöñé (éVéŕýöñé îñ ţĥé šéŕVéŕ) öŕ @ĥéŕé (öñļý öñļîñé ḿéḿɓéŕš îñ ţĥåţ çĥåññéļ). Ţĥéý çåñ åļšö @ḿéñţîöñ åļļ ŕöļéš, éVéñ îƒ ţĥé ŕöļé’š “Åļļöŵ åñýöñé ţö ḿéñţîöñ ţĥîš ŕöļé” þéŕḿîššîöñ îš ðîšåɓļéð. one two three four five six seven eight nine ten eleven twelve thirteen fourteen fiveteen sixteen seventeen nineteen twenty one two three four five six seven eight nine ten eleven twelve thirteen fourteen fiveteen sixteen]</string>
<string name="role_permissions_mention_everyone_description_category">[Åļļöŵš ḿéḿɓéŕš ţö ûšé @éVéŕýöñé öŕ @ĥéŕé (öñļý öñļîñé ḿéḿɓéŕš) îñ ţĥéšé çĥåññéļš. Ţĥéý çåñ åļšö @ḿéñţîöñ åļļ ŕöļéš îñ ţĥéšé çĥåññéļš, éVéñ îƒ ţĥé ŕöļé’š “Åļļöŵ åñýöñé ţö ḿéñţîöñ ţĥîš ŕöļé” þéŕḿîššîöñ îš ðîšåɓļéð. one two three four five six seven eight nine ten eleven twelve thirteen fourteen fiveteen sixteen seventeen nineteen twenty one two three four five six seven eight nine ten eleven twelve thirteen fourteen fiveteen]</string>
<string name="role_permissions_mention_everyone_description_text">[Åļļöŵš ḿéḿɓéŕš ţö ûšé @éVéŕýöñé öŕ @ĥéŕé (öñļý öñļîñé ḿéḿɓéŕš) îñ ţĥîš çĥåññéļ. Ţĥéý çåñ åļšö @ḿéñţîöñ åļļ ŕöļéš îñ ţĥîš çĥåññéļ, éVéñ îƒ ţĥé ŕöļé’š “Åļļöŵ åñýöñé ţö ḿéñţîöñ ţĥîš ŕöļé” þéŕḿîššîöñ îš ðîšåɓļéð. one two three four five six seven eight nine ten eleven twelve thirteen fourteen fiveteen sixteen seventeen nineteen twenty one two three four five six seven eight nine ten eleven twelve thirteen fourteen fiveteen]</string>
<string name="role_permissions_moderate_members_description">[Åļļöŵ ḿéḿɓéŕš ţö þéŕƒöŕḿ ļîḿîţéð ḿöðéŕåţîöñ åçţîöñš (ţîḿéöûţ). one two three four five six seven]</string>
<string name="role_permissions_move_members_description">[Åļļöŵš ḿéḿɓéŕš ţö ḿöVé öţĥéŕ ḿéḿɓéŕš ɓéţŵééñ Vöîçé çĥåññéļš ţĥåţ ţĥé ḿéḿɓéŕ ŵîţĥ ţĥîš þéŕḿîššîöñ ĥåš åççéšš ţö. one two three four five six seven eight nine ten eleven twelve]</string>
<string name="role_permissions_move_members_description_category">[Åļļöŵš ḿéḿɓéŕš ţö ðîšçöññéçţ öţĥéŕ ḿéḿɓéŕš ƒŕöḿ ţĥéšé çĥåññéļš. Ţĥéý ŵîļļ åļšö ɓé åɓļé ţö ḿöVé šöḿéɓöðý îñţö öţĥéŕ çĥåññéļš ţĥåţ ţĥéý ĥåVé ţĥîš þéŕḿîššîöñ îñ. one two three four five six seven eight nine ten eleven twelve thirteen fourteen]</string>
<string name="role_permissions_move_members_description_stage">[(ŔéQûîŕéð ƒöŕ Šţåĝé ḿöðéŕåţöŕ) Åļļöŵ ḿéḿɓéŕš ţö ƒöŕçé öţĥéŕš ţö ðîšçöññéçţ ƒŕöḿ ţĥîš çĥåññéļ. one two three four five six seven eight nine ten]</string>

File diff suppressed because it is too large Load Diff

View File

@ -233,7 +233,11 @@
<string name="add_role_placeholder">Role</string>
<string name="add_role_subtitle">Give special permissions to your members.</string>
<string name="add_role_title">Set a role</string>
<string name="add_to_calendar">Add to Calendar</string>
<string name="add_to_dictionary">Add to Dictionary</string>
<string name="add_to_google_calendar">Add to Google Calendar</string>
<string name="add_to_outlook">Add to Outlook</string>
<string name="add_to_yahoo">Add to Yahoo</string>
<string name="add_topic">Add Topic</string>
<string name="administrative">Administrative</string>
<string name="administrator">Administrator</string>
@ -1134,6 +1138,7 @@
<string name="bundle_ready_restart">Restart</string>
<string name="bundle_ready_title">Augment Complete</string>
<string name="burgundy">Burgundy</string>
<string name="calendar_channel_location">Discord: !!{guildName}!! server, !!{channelName}!!</string>
<string name="call">Call</string>
<string name="call_ended">Call Ended</string>
<string name="call_ended_description">!!{duration}!! — !!{timestamp}!!</string>
@ -1513,7 +1518,7 @@
<string name="color_picker_title">Select a color</string>
<string name="color_picker_transparency">Transparency</string>
<string name="color_picker_use_default">Use Default</string>
<string name="res_2131887594_com_crashlytics_android_build_id">3ec76398720d4fc2aff197f6ea71eb82</string>
<string name="res_2131887599_com_crashlytics_android_build_id">bdcbd8c4bf4e40d39559ddf6b953993d</string>
<string name="coming_soon">Coming Soon</string>
<string name="command_accessibility_desc_app_header_item">Slash command application {applicationName}</string>
<string name="command_accessibility_desc_app_item">{applicationName} application</string>
@ -1614,9 +1619,6 @@
<string name="connected_accounts">Connected Accounts</string>
<string name="connected_accounts_none">Connect your accounts to unlock special Discord integrations</string>
<string name="connected_accounts_none_title">No Connections</string>
<string name="connected_accounts_tooltip_accept">Let\'s go</string>
<string name="connected_accounts_tooltip_description">Connect a YouTube or Twitch account to find creator-run servers.</string>
<string name="connected_accounts_tooltip_header">Find your favorite creators</string>
<string name="connected_device_detected_cancel_button">Don\'t Switch</string>
<string name="connected_device_detected_confirm_button">Switch Device</string>
<string name="connected_device_detected_input_and_output_body">Discord has detected a new audio device named **!!{name}!!**! Do you want to switch to it?</string>
@ -2342,6 +2344,7 @@
<string name="download_desktop_title">Get Discord at home</string>
<string name="download_failed">Download failed</string>
<string name="download_file_complete">!!{fileName}!! downloaded</string>
<string name="download_ics">Download ICS file</string>
<string name="download_mobile_title">Or on the go</string>
<string name="duration_10_min">10 MIN</string>
<string name="duration_10_min_mobile">10 Minutes</string>
@ -3003,8 +3006,8 @@
<string name="form_warning_video_preview">You must grant Discord [access to your camera](onEnableClick) in order to be able to preview.</string>
<string name="forum_channel">Forum Channel</string>
<string name="forum_channel_description">Organize all conversation in threads</string>
<string name="forum_section_active">Active Threads</string>
<string name="forum_section_archived">Archived Threads</string>
<string name="forum_section_active">Active Posts</string>
<string name="forum_section_archived">Archived Posts</string>
<string name="fr">French</string>
<string name="frequently_used">Frequently Used</string>
<string name="friend_add_instructions">Type both their username and 4-digit tag. Keep in mind that username is case sensitive.</string>
@ -3663,8 +3666,9 @@
<string name="guild_membership_automation_verfication_expired">Verification link has expired.</string>
<string name="guild_membership_automation_verfication_verified">Verification success.</string>
<string name="guild_membership_automation_verification_verifying">Verifying your request.</string>
<string name="guild_monetization_enable_confirmation_subtitle">Once enabled, you will be able to accept payment for Premium Subscriptions.</string>
<string name="guild_monetization_enable_confirmation_title">Are you sure you want to enable monetization for this server?</string>
<string name="guild_monetization_enable_confirmation_subtitle">You can now accept payment for premium subscriptions.</string>
<string name="guild_monetization_enable_confirmation_title">Monetization has been enabled.</string>
<string name="guild_monetization_enable_create_team">Create Team</string>
<string name="guild_monetization_enable_cta">Enable</string>
<string name="guild_monetization_enable_description">In order to enable server monetization, you must [set up a Team]({createTeamURL}) and then select it below. Teams must have valid payment information. Once enabled, you will be able to accept payment for Premium Subscriptions.</string>
<string name="guild_monetization_enable_header">Enable Monetization</string>
@ -6176,6 +6180,7 @@
<string name="mobile_stream_screen_share">Screen Share</string>
<string name="mobile_stream_screen_sharing">Sharing screen</string>
<string name="mobile_stream_stop_sharing">Stop sharing</string>
<string name="moderate_members">Moderate Members</string>
<string name="moderation">Moderation</string>
<string name="moderator_allow_everyone_raise_hand">Allow requests from @everyone</string>
<string name="moderator_raise_own_hand">Become a Speaker</string>
@ -6196,8 +6201,8 @@
<string name="move_members_description">Members with this permission can drag other members out of this channel. They can only move members between channels both they and the member they are moving have access.</string>
<string name="move_to">Move To</string>
<string name="move_to_success">User has been moved to the selected channel.</string>
<string name="res_2131892277_msg_alert_cleared">Alert Cleared</string>
<string name="res_2131892278_msg_no_alert_showing">No Alert Showing</string>
<string name="res_2131892282_msg_alert_cleared">Alert Cleared</string>
<string name="res_2131892283_msg_no_alert_showing">No Alert Showing</string>
<string name="mtrl_badge_numberless_content_description">New notification</string>
<string name="mtrl_chip_close_icon_content_description">Remove %1$s</string>
<string name="mtrl_exceed_max_badge_number_content_description">More than %1$d new notifications</string>
@ -8111,6 +8116,7 @@
<string name="role_permissions_mention_everyone_description">Allows members to use @everyone (everyone in the server) or @here (only online members in that channel). They can also @mention all roles, even if the roles “Allow anyone to mention this role” permission is disabled.</string>
<string name="role_permissions_mention_everyone_description_category">Allows members to use @everyone or @here (only online members) in these channels. They can also @mention all roles in these channels, even if the roles “Allow anyone to mention this role” permission is disabled.</string>
<string name="role_permissions_mention_everyone_description_text">Allows members to use @everyone or @here (only online members) in this channel. They can also @mention all roles in this channel, even if the roles “Allow anyone to mention this role” permission is disabled.</string>
<string name="role_permissions_moderate_members_description">Allow members to perform limited moderation actions (timeout).</string>
<string name="role_permissions_move_members_description">Allows members to move other members between voice channels that the member with this permission has access to.</string>
<string name="role_permissions_move_members_description_category">Allows members to disconnect other members from these channels. They will also be able to move somebody into other channels that they have this permission in.</string>
<string name="role_permissions_move_members_description_stage">(Required for Stage moderator) Allow members to force others to disconnect from this channel.</string>