115.4 - Beta (115104)

This commit is contained in:
Juby210 2022-02-15 09:33:21 +00:00
parent e7d8dea6da
commit abc1cf88d1
165 changed files with 19853 additions and 18948 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 30
versionCode 114107
versionName "114.7 - Beta"
versionCode 115104
versionName "115.4 - Beta"
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="114107" android:versionName="114.7 - Beta" 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="115104" android:versionName="115.4 - Beta" 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"/>

View file

@ -19,6 +19,7 @@ public final class TrackChannelOpened implements AnalyticsSchema, TrackBaseRecei
private final Boolean channelIsNsfw = null;
private final CharSequence channelView = null;
private final Long parentId = null;
private final CharSequence staticRoute = null;
private TrackBase trackBase;
private TrackChannel trackChannel;
private TrackGuild trackGuild;
@ -38,7 +39,7 @@ public final class TrackChannelOpened implements AnalyticsSchema, TrackBaseRecei
return false;
}
TrackChannelOpened trackChannelOpened = (TrackChannelOpened) obj;
return m.areEqual(this.channelIsNsfw, trackChannelOpened.channelIsNsfw) && m.areEqual(this.channelView, trackChannelOpened.channelView) && m.areEqual(this.parentId, trackChannelOpened.parentId);
return m.areEqual(this.channelIsNsfw, trackChannelOpened.channelIsNsfw) && m.areEqual(this.channelView, trackChannelOpened.channelView) && m.areEqual(this.parentId, trackChannelOpened.parentId) && m.areEqual(this.staticRoute, trackChannelOpened.staticRoute);
}
public int hashCode() {
@ -48,10 +49,12 @@ public final class TrackChannelOpened implements AnalyticsSchema, TrackBaseRecei
CharSequence charSequence = this.channelView;
int hashCode2 = (hashCode + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
Long l = this.parentId;
if (l != null) {
i = l.hashCode();
int hashCode3 = (hashCode2 + (l != null ? l.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.staticRoute;
if (charSequence2 != null) {
i = charSequence2.hashCode();
}
return hashCode2 + i;
return hashCode3 + i;
}
public String toString() {
@ -60,6 +63,8 @@ public final class TrackChannelOpened implements AnalyticsSchema, TrackBaseRecei
R.append(", channelView=");
R.append(this.channelView);
R.append(", parentId=");
return a.F(R, this.parentId, ")");
R.append(this.parentId);
R.append(", staticRoute=");
return a.D(R, this.staticRoute, ")");
}
}

View file

@ -17,6 +17,7 @@ public final class TrackChannelUpdated implements AnalyticsSchema, TrackBaseRece
private final Boolean newArchived = null;
private final Long newAutoArchiveDurationMinutes = null;
private final CharSequence newBannerHash = null;
private final Long newFlags = null;
private final Boolean newInvitable = null;
private final Boolean newLocked = null;
private final CharSequence newName = null;
@ -26,6 +27,7 @@ public final class TrackChannelUpdated implements AnalyticsSchema, TrackBaseRece
private final CharSequence oldBannerHash = null;
private final Long oldBitrate = null;
private final Long oldDefaultAutoArchiveDurationMinutes = null;
private final Long oldFlags = null;
private final Boolean oldInvitable = null;
private final Boolean oldLocked = null;
private final CharSequence oldName = null;
@ -50,7 +52,7 @@ public final class TrackChannelUpdated implements AnalyticsSchema, TrackBaseRece
return false;
}
TrackChannelUpdated trackChannelUpdated = (TrackChannelUpdated) obj;
return m.areEqual(this.guildId, trackChannelUpdated.guildId) && m.areEqual(this.guildName, trackChannelUpdated.guildName) && m.areEqual(this.oldName, trackChannelUpdated.oldName) && m.areEqual(this.newName, trackChannelUpdated.newName) && m.areEqual(this.oldNsfw, trackChannelUpdated.oldNsfw) && m.areEqual(this.newNsfw, trackChannelUpdated.newNsfw) && m.areEqual(this.bitrate, trackChannelUpdated.bitrate) && m.areEqual(this.oldBitrate, trackChannelUpdated.oldBitrate) && m.areEqual(this.rtcRegion, trackChannelUpdated.rtcRegion) && m.areEqual(this.oldRtcRegion, trackChannelUpdated.oldRtcRegion) && m.areEqual(this.videoQualityMode, trackChannelUpdated.videoQualityMode) && m.areEqual(this.oldVideoQualityMode, trackChannelUpdated.oldVideoQualityMode) && m.areEqual(this.defaultAutoArchiveDurationMinutes, trackChannelUpdated.defaultAutoArchiveDurationMinutes) && m.areEqual(this.oldDefaultAutoArchiveDurationMinutes, trackChannelUpdated.oldDefaultAutoArchiveDurationMinutes) && m.areEqual(this.oldArchived, trackChannelUpdated.oldArchived) && m.areEqual(this.newArchived, trackChannelUpdated.newArchived) && m.areEqual(this.oldLocked, trackChannelUpdated.oldLocked) && m.areEqual(this.newLocked, trackChannelUpdated.newLocked) && m.areEqual(this.oldInvitable, trackChannelUpdated.oldInvitable) && m.areEqual(this.newInvitable, trackChannelUpdated.newInvitable) && m.areEqual(this.oldAutoArchiveDurationMinutes, trackChannelUpdated.oldAutoArchiveDurationMinutes) && m.areEqual(this.newAutoArchiveDurationMinutes, trackChannelUpdated.newAutoArchiveDurationMinutes) && m.areEqual(this.oldBannerHash, trackChannelUpdated.oldBannerHash) && m.areEqual(this.newBannerHash, trackChannelUpdated.newBannerHash);
return m.areEqual(this.guildId, trackChannelUpdated.guildId) && m.areEqual(this.guildName, trackChannelUpdated.guildName) && m.areEqual(this.oldName, trackChannelUpdated.oldName) && m.areEqual(this.newName, trackChannelUpdated.newName) && m.areEqual(this.oldNsfw, trackChannelUpdated.oldNsfw) && m.areEqual(this.newNsfw, trackChannelUpdated.newNsfw) && m.areEqual(this.bitrate, trackChannelUpdated.bitrate) && m.areEqual(this.oldBitrate, trackChannelUpdated.oldBitrate) && m.areEqual(this.rtcRegion, trackChannelUpdated.rtcRegion) && m.areEqual(this.oldRtcRegion, trackChannelUpdated.oldRtcRegion) && m.areEqual(this.videoQualityMode, trackChannelUpdated.videoQualityMode) && m.areEqual(this.oldVideoQualityMode, trackChannelUpdated.oldVideoQualityMode) && m.areEqual(this.defaultAutoArchiveDurationMinutes, trackChannelUpdated.defaultAutoArchiveDurationMinutes) && m.areEqual(this.oldDefaultAutoArchiveDurationMinutes, trackChannelUpdated.oldDefaultAutoArchiveDurationMinutes) && m.areEqual(this.oldArchived, trackChannelUpdated.oldArchived) && m.areEqual(this.newArchived, trackChannelUpdated.newArchived) && m.areEqual(this.oldLocked, trackChannelUpdated.oldLocked) && m.areEqual(this.newLocked, trackChannelUpdated.newLocked) && m.areEqual(this.oldInvitable, trackChannelUpdated.oldInvitable) && m.areEqual(this.newInvitable, trackChannelUpdated.newInvitable) && m.areEqual(this.oldAutoArchiveDurationMinutes, trackChannelUpdated.oldAutoArchiveDurationMinutes) && m.areEqual(this.newAutoArchiveDurationMinutes, trackChannelUpdated.newAutoArchiveDurationMinutes) && m.areEqual(this.oldBannerHash, trackChannelUpdated.oldBannerHash) && m.areEqual(this.newBannerHash, trackChannelUpdated.newBannerHash) && m.areEqual(this.oldFlags, trackChannelUpdated.oldFlags) && m.areEqual(this.newFlags, trackChannelUpdated.newFlags);
}
public int hashCode() {
@ -102,10 +104,14 @@ public final class TrackChannelUpdated implements AnalyticsSchema, TrackBaseRece
CharSequence charSequence6 = this.oldBannerHash;
int hashCode23 = (hashCode22 + (charSequence6 != null ? charSequence6.hashCode() : 0)) * 31;
CharSequence charSequence7 = this.newBannerHash;
if (charSequence7 != null) {
i = charSequence7.hashCode();
int hashCode24 = (hashCode23 + (charSequence7 != null ? charSequence7.hashCode() : 0)) * 31;
Long l10 = this.oldFlags;
int hashCode25 = (hashCode24 + (l10 != null ? l10.hashCode() : 0)) * 31;
Long l11 = this.newFlags;
if (l11 != null) {
i = l11.hashCode();
}
return hashCode23 + i;
return hashCode25 + i;
}
public String toString() {
@ -156,6 +162,10 @@ public final class TrackChannelUpdated implements AnalyticsSchema, TrackBaseRece
R.append(", oldBannerHash=");
R.append(this.oldBannerHash);
R.append(", newBannerHash=");
return a.D(R, this.newBannerHash, ")");
R.append(this.newBannerHash);
R.append(", oldFlags=");
R.append(this.oldFlags);
R.append(", newFlags=");
return a.F(R, this.newFlags, ")");
}
}

View file

@ -0,0 +1,48 @@
package com.discord.analytics.generated.events;
import b.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: TrackDevPortalCsatSurveyResponse.kt */
public final class TrackDevPortalCsatSurveyResponse implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "dev_portal_csat_survey_response";
private final Long csatResponse = null;
private final CharSequence ctaName = 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 TrackDevPortalCsatSurveyResponse)) {
return false;
}
TrackDevPortalCsatSurveyResponse trackDevPortalCsatSurveyResponse = (TrackDevPortalCsatSurveyResponse) obj;
return m.areEqual(this.ctaName, trackDevPortalCsatSurveyResponse.ctaName) && m.areEqual(this.csatResponse, trackDevPortalCsatSurveyResponse.csatResponse);
}
public int hashCode() {
CharSequence charSequence = this.ctaName;
int i = 0;
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
Long l = this.csatResponse;
if (l != null) {
i = l.hashCode();
}
return hashCode + i;
}
public String toString() {
StringBuilder R = a.R("TrackDevPortalCsatSurveyResponse(ctaName=");
R.append(this.ctaName);
R.append(", csatResponse=");
return a.F(R, this.csatResponse, ")");
}
}

View file

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

View file

@ -13,6 +13,7 @@ public final class TrackFeedLoaded implements AnalyticsSchema, TrackBaseReceiver
private final transient String analyticsSchemaTypeName = "feed_loaded";
private final List<CharSequence> feedItemIds = null;
private final CharSequence loadId = null;
private final Long loadTimeMillis = null;
private final List<CharSequence> readFeedItemIds = null;
private TrackBase trackBase;
private TrackGuild trackGuild;
@ -31,7 +32,7 @@ public final class TrackFeedLoaded implements AnalyticsSchema, TrackBaseReceiver
return false;
}
TrackFeedLoaded trackFeedLoaded = (TrackFeedLoaded) obj;
return m.areEqual(this.loadId, trackFeedLoaded.loadId) && m.areEqual(this.feedItemIds, trackFeedLoaded.feedItemIds) && m.areEqual(this.unreadFeedItemIds, trackFeedLoaded.unreadFeedItemIds) && m.areEqual(this.readFeedItemIds, trackFeedLoaded.readFeedItemIds);
return m.areEqual(this.loadId, trackFeedLoaded.loadId) && m.areEqual(this.feedItemIds, trackFeedLoaded.feedItemIds) && m.areEqual(this.unreadFeedItemIds, trackFeedLoaded.unreadFeedItemIds) && m.areEqual(this.readFeedItemIds, trackFeedLoaded.readFeedItemIds) && m.areEqual(this.loadTimeMillis, trackFeedLoaded.loadTimeMillis);
}
public int hashCode() {
@ -43,10 +44,12 @@ public final class TrackFeedLoaded implements AnalyticsSchema, TrackBaseReceiver
List<CharSequence> list2 = this.unreadFeedItemIds;
int hashCode3 = (hashCode2 + (list2 != null ? list2.hashCode() : 0)) * 31;
List<CharSequence> list3 = this.readFeedItemIds;
if (list3 != null) {
i = list3.hashCode();
int hashCode4 = (hashCode3 + (list3 != null ? list3.hashCode() : 0)) * 31;
Long l = this.loadTimeMillis;
if (l != null) {
i = l.hashCode();
}
return hashCode3 + i;
return hashCode4 + i;
}
public String toString() {
@ -57,6 +60,8 @@ public final class TrackFeedLoaded implements AnalyticsSchema, TrackBaseReceiver
R.append(", unreadFeedItemIds=");
R.append(this.unreadFeedItemIds);
R.append(", readFeedItemIds=");
return a.K(R, this.readFeedItemIds, ")");
R.append(this.readFeedItemIds);
R.append(", loadTimeMillis=");
return a.F(R, this.loadTimeMillis, ")");
}
}

View file

@ -0,0 +1,43 @@
package com.discord.analytics.generated.events;
import b.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;
/* compiled from: TrackGuildFeedMessageRemoved.kt */
public final class TrackGuildFeedMessageRemoved implements AnalyticsSchema, TrackBaseReceiver, TrackChannelReceiver, TrackGuildReceiver {
private final transient String analyticsSchemaTypeName = "guild_feed_message_removed";
private final Long messageId = null;
private TrackBase trackBase;
private TrackChannel trackChannel;
private TrackGuild trackGuild;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof TrackGuildFeedMessageRemoved) && m.areEqual(this.messageId, ((TrackGuildFeedMessageRemoved) obj).messageId);
}
return true;
}
public int hashCode() {
Long l = this.messageId;
if (l != null) {
return l.hashCode();
}
return 0;
}
public String toString() {
return a.F(a.R("TrackGuildFeedMessageRemoved(messageId="), this.messageId, ")");
}
}

View file

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

View file

@ -0,0 +1,43 @@
package com.discord.analytics.generated.events;
import b.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;
/* compiled from: TrackGuildFeedMessageUnremoved.kt */
public final class TrackGuildFeedMessageUnremoved implements AnalyticsSchema, TrackBaseReceiver, TrackChannelReceiver, TrackGuildReceiver {
private final transient String analyticsSchemaTypeName = "guild_feed_message_unremoved";
private final Long messageId = null;
private TrackBase trackBase;
private TrackChannel trackChannel;
private TrackGuild trackGuild;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof TrackGuildFeedMessageUnremoved) && m.areEqual(this.messageId, ((TrackGuildFeedMessageUnremoved) obj).messageId);
}
return true;
}
public int hashCode() {
Long l = this.messageId;
if (l != null) {
return l.hashCode();
}
return 0;
}
public String toString() {
return a.F(a.R("TrackGuildFeedMessageUnremoved(messageId="), this.messageId, ")");
}
}

View file

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

View file

@ -0,0 +1,89 @@
package com.discord.analytics.generated.events;
import b.d.b.a.a;
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.analytics.generated.traits.TrackSubscriptionMetadata;
import com.discord.analytics.generated.traits.TrackSubscriptionMetadataReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackPremiumUncancelWinbackModalViewed.kt */
public final class TrackPremiumUncancelWinbackModalViewed implements AnalyticsSchema, TrackBaseReceiver, TrackLocationMetadataReceiver, TrackSubscriptionMetadataReceiver {
private final transient String analyticsSchemaTypeName = "premium_uncancel_winback_modal_viewed";
private final Boolean globalEmojiPersonalized = null;
private final Long globalEmojiPosition = null;
private final Long globalEmojiStats = null;
private final Boolean hdStreamingPersonalized = null;
private final Long hdStreamingPosition = null;
private final Long hdStreamingStats = null;
private final Boolean largeFileUploadPersonalized = null;
private final Long largeFileUploadPosition = null;
private final Long largeFileUploadStats = null;
private TrackBase trackBase;
private TrackLocationMetadata trackLocationMetadata;
private TrackSubscriptionMetadata trackSubscriptionMetadata;
@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 TrackPremiumUncancelWinbackModalViewed)) {
return false;
}
TrackPremiumUncancelWinbackModalViewed trackPremiumUncancelWinbackModalViewed = (TrackPremiumUncancelWinbackModalViewed) obj;
return m.areEqual(this.globalEmojiPosition, trackPremiumUncancelWinbackModalViewed.globalEmojiPosition) && m.areEqual(this.globalEmojiStats, trackPremiumUncancelWinbackModalViewed.globalEmojiStats) && m.areEqual(this.globalEmojiPersonalized, trackPremiumUncancelWinbackModalViewed.globalEmojiPersonalized) && m.areEqual(this.hdStreamingPosition, trackPremiumUncancelWinbackModalViewed.hdStreamingPosition) && m.areEqual(this.hdStreamingStats, trackPremiumUncancelWinbackModalViewed.hdStreamingStats) && m.areEqual(this.hdStreamingPersonalized, trackPremiumUncancelWinbackModalViewed.hdStreamingPersonalized) && m.areEqual(this.largeFileUploadPosition, trackPremiumUncancelWinbackModalViewed.largeFileUploadPosition) && m.areEqual(this.largeFileUploadStats, trackPremiumUncancelWinbackModalViewed.largeFileUploadStats) && m.areEqual(this.largeFileUploadPersonalized, trackPremiumUncancelWinbackModalViewed.largeFileUploadPersonalized);
}
public int hashCode() {
Long l = this.globalEmojiPosition;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.globalEmojiStats;
int hashCode2 = (hashCode + (l2 != null ? l2.hashCode() : 0)) * 31;
Boolean bool = this.globalEmojiPersonalized;
int hashCode3 = (hashCode2 + (bool != null ? bool.hashCode() : 0)) * 31;
Long l3 = this.hdStreamingPosition;
int hashCode4 = (hashCode3 + (l3 != null ? l3.hashCode() : 0)) * 31;
Long l4 = this.hdStreamingStats;
int hashCode5 = (hashCode4 + (l4 != null ? l4.hashCode() : 0)) * 31;
Boolean bool2 = this.hdStreamingPersonalized;
int hashCode6 = (hashCode5 + (bool2 != null ? bool2.hashCode() : 0)) * 31;
Long l5 = this.largeFileUploadPosition;
int hashCode7 = (hashCode6 + (l5 != null ? l5.hashCode() : 0)) * 31;
Long l6 = this.largeFileUploadStats;
int hashCode8 = (hashCode7 + (l6 != null ? l6.hashCode() : 0)) * 31;
Boolean bool3 = this.largeFileUploadPersonalized;
if (bool3 != null) {
i = bool3.hashCode();
}
return hashCode8 + i;
}
public String toString() {
StringBuilder R = a.R("TrackPremiumUncancelWinbackModalViewed(globalEmojiPosition=");
R.append(this.globalEmojiPosition);
R.append(", globalEmojiStats=");
R.append(this.globalEmojiStats);
R.append(", globalEmojiPersonalized=");
R.append(this.globalEmojiPersonalized);
R.append(", hdStreamingPosition=");
R.append(this.hdStreamingPosition);
R.append(", hdStreamingStats=");
R.append(this.hdStreamingStats);
R.append(", hdStreamingPersonalized=");
R.append(this.hdStreamingPersonalized);
R.append(", largeFileUploadPosition=");
R.append(this.largeFileUploadPosition);
R.append(", largeFileUploadStats=");
R.append(this.largeFileUploadStats);
R.append(", largeFileUploadPersonalized=");
return a.C(R, this.largeFileUploadPersonalized, ")");
}
}

View file

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

View file

@ -8,29 +8,33 @@ import androidx.viewbinding.ViewBinding;
import com.discord.views.GuildView;
import com.discord.views.guilds.ServerMemberCount;
import com.facebook.drawee.view.SimpleDraweeView;
import com.google.android.material.button.MaterialButton;
public final class WidgetGuildInviteInfoViewBinding implements ViewBinding {
@NonNull
public final View a;
@NonNull
/* renamed from: b reason: collision with root package name */
public final GuildView f2395b;
public final MaterialButton f2395b;
@NonNull
public final SimpleDraweeView c;
public final GuildView c;
@NonNull
public final ServerMemberCount d;
public final SimpleDraweeView d;
@NonNull
public final TextView e;
public final ServerMemberCount e;
@NonNull
public final TextView f;
@NonNull
public final TextView g;
public WidgetGuildInviteInfoViewBinding(@NonNull View view, @NonNull GuildView guildView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull ServerMemberCount serverMemberCount, @NonNull TextView textView, @NonNull TextView textView2, @NonNull LinearLayout linearLayout) {
public WidgetGuildInviteInfoViewBinding(@NonNull View view, @NonNull MaterialButton materialButton, @NonNull GuildView guildView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull ServerMemberCount serverMemberCount, @NonNull TextView textView, @NonNull TextView textView2, @NonNull LinearLayout linearLayout) {
this.a = view;
this.f2395b = guildView;
this.c = simpleDraweeView;
this.d = serverMemberCount;
this.e = textView;
this.f = textView2;
this.f2395b = materialButton;
this.c = guildView;
this.d = simpleDraweeView;
this.e = serverMemberCount;
this.f = textView;
this.g = textView2;
}
@Override // androidx.viewbinding.ViewBinding

View file

@ -18,18 +18,15 @@ public final class WidgetGuildInvitePageBinding implements ViewBinding {
/* renamed from: b reason: collision with root package name */
public final MaterialButton f2396b;
@NonNull
public final MaterialButton c;
public final GuildScheduledEventItemView c;
@NonNull
public final GuildScheduledEventItemView d;
@NonNull
public final WidgetInviteInfo e;
public final WidgetInviteInfo d;
public WidgetGuildInvitePageBinding(@NonNull ConstraintLayout constraintLayout, @NonNull MaterialButton materialButton, @NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton2, @NonNull GuildScheduledEventItemView guildScheduledEventItemView, @NonNull WidgetInviteInfo widgetInviteInfo, @NonNull NestedScrollView nestedScrollView, @NonNull AppBarLayout appBarLayout) {
public WidgetGuildInvitePageBinding(@NonNull ConstraintLayout constraintLayout, @NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull GuildScheduledEventItemView guildScheduledEventItemView, @NonNull WidgetInviteInfo widgetInviteInfo, @NonNull NestedScrollView nestedScrollView, @NonNull AppBarLayout appBarLayout) {
this.a = constraintLayout;
this.f2396b = materialButton;
this.c = materialButton2;
this.d = guildScheduledEventItemView;
this.e = widgetInviteInfo;
this.c = guildScheduledEventItemView;
this.d = widgetInviteInfo;
}
@Override // androidx.viewbinding.ViewBinding

View file

@ -1,39 +0,0 @@
package com.discord.databinding;
import android.view.View;
import android.widget.CheckBox;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.viewbinding.ViewBinding;
import com.discord.utilities.view.text.LinkifiedTextView;
import com.google.android.material.button.MaterialButton;
public final class WidgetTosAcceptBinding implements ViewBinding {
@NonNull
public final RelativeLayout a;
@NonNull
/* renamed from: b reason: collision with root package name */
public final CheckBox f2648b;
@NonNull
public final MaterialButton c;
@NonNull
public final LinkifiedTextView d;
@NonNull
public final LinkifiedTextView e;
public WidgetTosAcceptBinding(@NonNull RelativeLayout relativeLayout, @NonNull CheckBox checkBox, @NonNull MaterialButton materialButton, @NonNull LinearLayout linearLayout, @NonNull LinkifiedTextView linkifiedTextView, @NonNull LinkifiedTextView linkifiedTextView2, @NonNull TextView textView, @NonNull TextView textView2) {
this.a = relativeLayout;
this.f2648b = checkBox;
this.c = materialButton;
this.d = linkifiedTextView;
this.e = linkifiedTextView2;
}
@Override // androidx.viewbinding.ViewBinding
@NonNull
public View getRoot() {
return this.a;
}
}

View file

@ -0,0 +1,48 @@
package com.discord.databinding;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.viewbinding.ViewBinding;
import com.discord.utilities.view.text.LinkifiedTextView;
import com.google.android.material.button.MaterialButton;
public final class WidgetTosBinding implements ViewBinding {
@NonNull
public final RelativeLayout a;
@NonNull
/* renamed from: b reason: collision with root package name */
public final MaterialButton f2648b;
@NonNull
public final LinkifiedTextView c;
@NonNull
public final LinkifiedTextView d;
@NonNull
public final LinkifiedTextView e;
@NonNull
public final LinkifiedTextView f;
@NonNull
public final TextView g;
@NonNull
public final TextView h;
public WidgetTosBinding(@NonNull RelativeLayout relativeLayout, @NonNull MaterialButton materialButton, @NonNull LinearLayout linearLayout, @NonNull LinkifiedTextView linkifiedTextView, @NonNull LinkifiedTextView linkifiedTextView2, @NonNull LinkifiedTextView linkifiedTextView3, @NonNull LinkifiedTextView linkifiedTextView4, @NonNull TextView textView, @NonNull TextView textView2, @NonNull ImageView imageView) {
this.a = relativeLayout;
this.f2648b = materialButton;
this.c = linkifiedTextView;
this.d = linkifiedTextView2;
this.e = linkifiedTextView3;
this.f = linkifiedTextView4;
this.g = textView;
this.h = textView2;
}
@Override // androidx.viewbinding.ViewBinding
@NonNull
public View getRoot() {
return this.a;
}
}

View file

@ -6,6 +6,7 @@ import kotlin.jvm.internal.DefaultConstructorMarker;
/* compiled from: RequiredAction.kt */
public enum RequiredAction {
AGREEMENTS,
TOS_UPDATE_ACKNOWLEDGMENT,
REQUIRE_VERIFIED_EMAIL,
REQUIRE_VERIFIED_PHONE,
REQUIRE_CAPTCHA,

View file

@ -4422,18 +4422,43 @@ public final class RestAPIParams {
/* compiled from: RestAPIParams.kt */
public static final class UserAgreements {
public static final Companion Companion = new Companion(null);
private final Boolean acknowledgment;
private final Boolean privacy;
private final Boolean terms;
/* JADX WARNING: Illegal instructions before constructor call */
public UserAgreements() {
this(r0, r0);
Boolean bool = Boolean.TRUE;
/* compiled from: RestAPIParams.kt */
public static final class Companion {
private Companion() {
}
public UserAgreements(Boolean bool, Boolean bool2) {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final UserAgreements acknowledge() {
return new UserAgreements(null, null, Boolean.TRUE, 3, null);
}
public final UserAgreements agree() {
Boolean bool = Boolean.TRUE;
return new UserAgreements(bool, bool, null, 4, null);
}
}
public UserAgreements() {
this(null, null, null, 7, null);
}
public UserAgreements(Boolean bool, Boolean bool2, Boolean bool3) {
this.terms = bool;
this.privacy = bool2;
this.acknowledgment = bool3;
}
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
public /* synthetic */ UserAgreements(Boolean bool, Boolean bool2, Boolean bool3, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : bool, (i & 2) != 0 ? null : bool2, (i & 4) != 0 ? null : bool3);
}
}

View file

@ -5,7 +5,7 @@ import b.a.d.j;
import com.discord.app.AppActivity;
import com.discord.models.requiredaction.RequiredAction;
import com.discord.stores.StoreNavigation;
import com.discord.widgets.tos.WidgetTosAccept;
import com.discord.widgets.tos.WidgetTos;
import d0.z.d.a0;
import d0.z.d.m;
import d0.z.d.o;
@ -28,16 +28,18 @@ public final class StoreNavigation$ActivityNavigationLifecycleCallbacks$tosNavHa
public final boolean invoke(AppActivity appActivity, StoreNavigation.ActivityNavigationLifecycleCallbacks.ModelGlobalNavigation modelGlobalNavigation) {
m.checkNotNullParameter(appActivity, ActivityChooserModel.ATTRIBUTE_ACTIVITY);
m.checkNotNullParameter(modelGlobalNavigation, "model");
boolean h = appActivity.h(a0.getOrCreateKotlinClass(WidgetTosAccept.class));
boolean z2 = modelGlobalNavigation.getUserRequiredAction() == RequiredAction.AGREEMENTS;
if (z2 && !h) {
WidgetTosAccept.Companion.show(appActivity);
return true;
} else if (z2 || !h) {
return z2;
} else {
boolean h = appActivity.h(a0.getOrCreateKotlinClass(WidgetTos.class));
boolean z2 = modelGlobalNavigation.getUserRequiredAction() == RequiredAction.TOS_UPDATE_ACKNOWLEDGMENT;
boolean z3 = modelGlobalNavigation.getUserRequiredAction() == RequiredAction.AGREEMENTS;
boolean z4 = (z2 || z3) && !h;
boolean z5 = !z2 && !z3 && h;
if (z4) {
WidgetTos.Companion.show(appActivity, z2);
} else if (z5) {
j.c(appActivity, false, null, 6);
} else if (!z2 && !z3) {
return false;
}
return true;
}
}
}

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 /* 2131364295 */:
case R.id.menu_auth_mfa_backup_codes /* 2131364296 */:
WidgetAuthMfa.access$showBackupCodesDialog(this.this$0);
return;
case R.id.menu_auth_mfa_info /* 2131364296 */:
case R.id.menu_auth_mfa_info /* 2131364297 */:
WidgetAuthMfa.access$showInfoDialog(this.this$0);
return;
default:

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 /* 2131362372 */:
case R.id.channel_permission_events_manage_events /* 2131362373 */:
return Permission.MANAGE_EVENTS;
case R.id.channel_permission_general_create_instant_invite /* 2131362373 */:
case R.id.channel_permission_general_create_instant_invite /* 2131362374 */:
return 1;
case R.id.channel_permission_general_manage_channel /* 2131362374 */:
case R.id.channel_permission_general_manage_channel /* 2131362375 */:
return 16;
case R.id.channel_permission_general_manage_permissions /* 2131362375 */:
case R.id.channel_permission_general_manage_permissions /* 2131362376 */:
return Permission.MANAGE_ROLES;
case R.id.channel_permission_general_manage_threads /* 2131362376 */:
case R.id.channel_permission_general_manage_threads /* 2131362377 */:
return Permission.MANAGE_THREADS;
case R.id.channel_permission_general_manage_webhooks /* 2131362377 */:
case R.id.channel_permission_general_manage_webhooks /* 2131362378 */:
return Permission.MANAGE_WEBHOOKS;
case R.id.channel_permission_owner_view /* 2131362378 */:
case R.id.channel_permission_owner_view /* 2131362379 */:
default:
throw new IllegalArgumentException(a.p("Invalid ID: ", i));
case R.id.channel_permission_stage_request_to_speak /* 2131362379 */:
case R.id.channel_permission_stage_request_to_speak /* 2131362380 */:
return Permission.REQUEST_TO_SPEAK;
case R.id.channel_permission_text_add_reactions /* 2131362380 */:
case R.id.channel_permission_text_add_reactions /* 2131362381 */:
return 64;
case R.id.channel_permission_text_attach_files /* 2131362381 */:
case R.id.channel_permission_text_attach_files /* 2131362382 */:
return Permission.ATTACH_FILES;
case R.id.channel_permission_text_create_private_threads /* 2131362382 */:
case R.id.channel_permission_text_create_private_threads /* 2131362383 */:
return Permission.CREATE_PRIVATE_THREADS;
case R.id.channel_permission_text_create_public_threads /* 2131362383 */:
case R.id.channel_permission_text_create_public_threads /* 2131362384 */:
return Permission.CREATE_PUBLIC_THREADS;
case R.id.channel_permission_text_embed_links /* 2131362384 */:
case R.id.channel_permission_text_embed_links /* 2131362385 */:
return Permission.EMBED_LINKS;
case R.id.channel_permission_text_manage_messages /* 2131362385 */:
case R.id.channel_permission_text_manage_messages /* 2131362386 */:
return Permission.MANAGE_MESSAGES;
case R.id.channel_permission_text_mention_everyone /* 2131362386 */:
case R.id.channel_permission_text_mention_everyone /* 2131362387 */:
return Permission.MENTION_EVERYONE;
case R.id.channel_permission_text_read_message_history /* 2131362387 */:
case R.id.channel_permission_text_read_message_history /* 2131362388 */:
return Permission.READ_MESSAGE_HISTORY;
case R.id.channel_permission_text_read_messages /* 2131362388 */:
case R.id.channel_permission_text_read_messages /* 2131362389 */:
return Permission.VIEW_CHANNEL;
case R.id.channel_permission_text_send_messages /* 2131362389 */:
case R.id.channel_permission_text_send_messages /* 2131362390 */:
return Permission.SEND_MESSAGES;
case R.id.channel_permission_text_send_messages_in_threads /* 2131362390 */:
case R.id.channel_permission_text_send_messages_in_threads /* 2131362391 */:
return Permission.SEND_MESSAGES_IN_THREADS;
case R.id.channel_permission_text_send_tts_messages /* 2131362391 */:
case R.id.channel_permission_text_send_tts_messages /* 2131362392 */:
return Permission.SEND_TTS_MESSAGES;
case R.id.channel_permission_text_use_external_emojis /* 2131362392 */:
case R.id.channel_permission_text_use_external_emojis /* 2131362393 */:
return Permission.USE_EXTERNAL_EMOJIS;
case R.id.channel_permission_text_use_external_stickers /* 2131362393 */:
case R.id.channel_permission_text_use_external_stickers /* 2131362394 */:
return Permission.USE_EXTERNAL_STICKERS;
case R.id.channel_permission_use_application_commands /* 2131362394 */:
case R.id.channel_permission_use_application_commands /* 2131362395 */:
return Permission.USE_APPLICATION_COMMANDS;
case R.id.channel_permission_voice_connect /* 2131362395 */:
case R.id.channel_permission_voice_connect /* 2131362396 */:
return Permission.CONNECT;
case R.id.channel_permission_voice_deafen_members /* 2131362396 */:
case R.id.channel_permission_voice_deafen_members /* 2131362397 */:
return Permission.DEAFEN_MEMBERS;
case R.id.channel_permission_voice_move_members /* 2131362397 */:
case R.id.channel_permission_voice_move_members /* 2131362398 */:
return Permission.MOVE_MEMBERS;
case R.id.channel_permission_voice_mute_members /* 2131362398 */:
case R.id.channel_permission_voice_mute_members /* 2131362399 */:
return Permission.MUTE_MEMBERS;
case R.id.channel_permission_voice_priority_speaker /* 2131362399 */:
case R.id.channel_permission_voice_priority_speaker /* 2131362400 */:
return 256;
case R.id.channel_permission_voice_speak /* 2131362400 */:
case R.id.channel_permission_voice_speak /* 2131362401 */:
return Permission.SPEAK;
case R.id.channel_permission_voice_use_vad /* 2131362401 */:
case R.id.channel_permission_voice_use_vad /* 2131362402 */:
return Permission.USE_VAD;
case R.id.channel_permission_voice_video /* 2131362402 */:
case R.id.channel_permission_voice_video /* 2131362403 */:
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 /* 2131364301 */:
case R.id.menu_channel_settings_delete /* 2131364302 */:
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 /* 2131364302 */:
case R.id.menu_channel_settings_reset /* 2131364303 */:
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 /* 2131364347 */:
case R.id.menu_thread_browser_create_thread /* 2131364348 */:
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 /* 2131364348 */:
case R.id.menu_thread_browser_filters /* 2131364349 */:
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 /* 2131364321 */:
case R.id.menu_friends_add_friend /* 2131364322 */:
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 /* 2131364322 */:
case R.id.menu_friends_contact_sync /* 2131364323 */:
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 /* 2131364323 */:
case R.id.menu_friends_start_group /* 2131364324 */:
if (GroupInviteFriendsSheetFeatureFlag.Companion.getINSTANCE().isEnabled()) {
GroupInviteFriendsSheet.Companion companion3 = GroupInviteFriendsSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();

View file

@ -22,15 +22,12 @@ public final /* synthetic */ class WidgetGuildInvite$binding$2 extends k impleme
public final WidgetGuildInvitePageBinding invoke(View view) {
m.checkNotNullParameter(view, "p1");
int i = R.id.guild_invite_accept;
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.guild_invite_accept);
if (materialButton != null) {
i = R.id.guild_invite_actions;
int i = R.id.guild_invite_actions;
LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.guild_invite_actions);
if (linearLayout != null) {
i = R.id.guild_invite_cancel;
MaterialButton materialButton2 = (MaterialButton) view.findViewById(R.id.guild_invite_cancel);
if (materialButton2 != null) {
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.guild_invite_cancel);
if (materialButton != null) {
i = R.id.guild_invite_event_info;
GuildScheduledEventItemView guildScheduledEventItemView = (GuildScheduledEventItemView) view.findViewById(R.id.guild_invite_event_info);
if (guildScheduledEventItemView != null) {
@ -43,8 +40,7 @@ public final /* synthetic */ class WidgetGuildInvite$binding$2 extends k impleme
i = R.id.toolbar;
AppBarLayout appBarLayout = (AppBarLayout) view.findViewById(R.id.toolbar);
if (appBarLayout != null) {
return new WidgetGuildInvitePageBinding((ConstraintLayout) view, materialButton, linearLayout, materialButton2, guildScheduledEventItemView, widgetInviteInfo, nestedScrollView, appBarLayout);
}
return new WidgetGuildInvitePageBinding((ConstraintLayout) view, linearLayout, materialButton, guildScheduledEventItemView, widgetInviteInfo, nestedScrollView, appBarLayout);
}
}
}

View file

@ -2,7 +2,6 @@ package com.discord.widgets.guilds.invite;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import b.a.d.j;
import com.discord.api.guild.Guild;
import com.discord.api.guildscheduledevent.GuildScheduledEvent;
@ -16,26 +15,28 @@ import d0.w.i.a.b;
import d0.w.i.a.e;
import d0.w.i.a.k;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function2;
/* compiled from: WidgetGuildInvite.kt */
public final class WidgetGuildInvite$configureLoadedUI$2 implements View.OnClickListener {
public final class WidgetGuildInvite$configureLoadedUI$onAcceptClick$1 extends o implements Function0<Unit> {
public final /* synthetic */ ModelInvite $invite;
public final /* synthetic */ WidgetGuildInvite this$0;
/* compiled from: WidgetGuildInvite.kt */
@e(c = "com.discord.widgets.guilds.invite.WidgetGuildInvite$configureLoadedUI$2$1", f = "WidgetGuildInvite.kt", l = {}, m = "invokeSuspend")
/* renamed from: com.discord.widgets.guilds.invite.WidgetGuildInvite$configureLoadedUI$2$1 reason: invalid class name */
@e(c = "com.discord.widgets.guilds.invite.WidgetGuildInvite$configureLoadedUI$onAcceptClick$1$1", f = "WidgetGuildInvite.kt", l = {}, m = "invokeSuspend")
/* renamed from: com.discord.widgets.guilds.invite.WidgetGuildInvite$configureLoadedUI$onAcceptClick$1$1 reason: invalid class name */
public static final class AnonymousClass1 extends k implements Function2<Error, Continuation<? super Unit>, Object> {
private /* synthetic */ Object L$0;
public int label;
public final /* synthetic */ WidgetGuildInvite$configureLoadedUI$2 this$0;
public final /* synthetic */ WidgetGuildInvite$configureLoadedUI$onAcceptClick$1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(WidgetGuildInvite$configureLoadedUI$2 widgetGuildInvite$configureLoadedUI$2, Continuation continuation) {
public AnonymousClass1(WidgetGuildInvite$configureLoadedUI$onAcceptClick$1 widgetGuildInvite$configureLoadedUI$onAcceptClick$1, Continuation continuation) {
super(2, continuation);
this.this$0 = widgetGuildInvite$configureLoadedUI$2;
this.this$0 = widgetGuildInvite$configureLoadedUI$onAcceptClick$1;
}
@Override // d0.w.i.a.a
@ -65,17 +66,17 @@ public final class WidgetGuildInvite$configureLoadedUI$2 implements View.OnClick
}
/* compiled from: WidgetGuildInvite.kt */
@e(c = "com.discord.widgets.guilds.invite.WidgetGuildInvite$configureLoadedUI$2$2", f = "WidgetGuildInvite.kt", l = {}, m = "invokeSuspend")
/* renamed from: com.discord.widgets.guilds.invite.WidgetGuildInvite$configureLoadedUI$2$2 reason: invalid class name */
@e(c = "com.discord.widgets.guilds.invite.WidgetGuildInvite$configureLoadedUI$onAcceptClick$1$2", f = "WidgetGuildInvite.kt", l = {}, m = "invokeSuspend")
/* renamed from: com.discord.widgets.guilds.invite.WidgetGuildInvite$configureLoadedUI$onAcceptClick$1$2 reason: invalid class name */
public static final class AnonymousClass2 extends k implements Function2<ModelInvite, Continuation<? super Unit>, Object> {
private /* synthetic */ Object L$0;
public int label;
public final /* synthetic */ WidgetGuildInvite$configureLoadedUI$2 this$0;
public final /* synthetic */ WidgetGuildInvite$configureLoadedUI$onAcceptClick$1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass2(WidgetGuildInvite$configureLoadedUI$2 widgetGuildInvite$configureLoadedUI$2, Continuation continuation) {
public AnonymousClass2(WidgetGuildInvite$configureLoadedUI$onAcceptClick$1 widgetGuildInvite$configureLoadedUI$onAcceptClick$1, Continuation continuation) {
super(2, continuation);
this.this$0 = widgetGuildInvite$configureLoadedUI$2;
this.this$0 = widgetGuildInvite$configureLoadedUI$onAcceptClick$1;
}
@Override // d0.w.i.a.a
@ -123,13 +124,16 @@ public final class WidgetGuildInvite$configureLoadedUI$2 implements View.OnClick
}
}
public WidgetGuildInvite$configureLoadedUI$2(WidgetGuildInvite widgetGuildInvite, ModelInvite modelInvite) {
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetGuildInvite$configureLoadedUI$onAcceptClick$1(WidgetGuildInvite widgetGuildInvite, ModelInvite modelInvite) {
super(0);
this.this$0 = widgetGuildInvite;
this.$invite = modelInvite;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
InviteJoinHelper.joinViaInvite$default(InviteJoinHelper.INSTANCE, this.$invite, this.this$0.getClass(), this.this$0, "Accept Invite Page", new AnonymousClass1(this, null), null, new AnonymousClass2(this, null), null, 160, null);
}
}

View file

@ -79,34 +79,31 @@ public final class WidgetGuildInvite extends AppFragment {
boolean z2;
GuildScheduledEventModel model;
ModelInvite invite = loaded.getInvite();
getBinding().e.configureUI(invite);
GuildScheduledEventItemView guildScheduledEventItemView = getBinding().d;
getBinding().d.configureUI(invite, new WidgetGuildInvite$configureLoadedUI$onAcceptClick$1(this, invite));
GuildScheduledEventItemView guildScheduledEventItemView = getBinding().c;
m.checkNotNullExpressionValue(guildScheduledEventItemView, "binding.guildInviteEventInfo");
GuildScheduledEvent guildScheduledEvent = invite.getGuildScheduledEvent();
int i = 0;
if (guildScheduledEvent == null || (model = GuildScheduledEventModelKt.toModel(guildScheduledEvent)) == null) {
z2 = false;
} else {
getBinding().d.configureAsPreview(model, invite.getChannel(), GuildScheduledEventUtilitiesKt.getCreatorUserGuildMember$default(model, (StoreGuilds) null, (StoreUser) null, 3, (Object) null));
getBinding().c.configureAsPreview(model, invite.getChannel(), GuildScheduledEventUtilitiesKt.getCreatorUserGuildMember$default(model, (StoreGuilds) null, (StoreUser) null, 3, (Object) null));
z2 = true;
}
guildScheduledEventItemView.setVisibility(z2 ? 0 : 8);
MaterialButton materialButton = getBinding().c;
if (!z2) {
i = 8;
}
guildScheduledEventItemView.setVisibility(i);
MaterialButton materialButton = getBinding().f2396b;
m.checkNotNullExpressionValue(materialButton, "binding.guildInviteCancel");
materialButton.setVisibility(8);
MaterialButton materialButton2 = getBinding().f2396b;
m.checkNotNullExpressionValue(materialButton2, "binding.guildInviteAccept");
materialButton2.setVisibility(0);
getBinding().f2396b.setOnClickListener(new WidgetGuildInvite$configureLoadedUI$2(this, invite));
}
private final void configureUIFailure(Error error) {
MaterialButton materialButton = getBinding().c;
MaterialButton materialButton = getBinding().f2396b;
m.checkNotNullExpressionValue(materialButton, "binding.guildInviteCancel");
materialButton.setVisibility(0);
MaterialButton materialButton2 = getBinding().f2396b;
m.checkNotNullExpressionValue(materialButton2, "binding.guildInviteAccept");
materialButton2.setVisibility(8);
getBinding().e.configureUIFailure(error);
getBinding().d.configureUIFailure(error);
trackAndConsumeDynamicLinkCache(null);
}
@ -165,7 +162,7 @@ public final class WidgetGuildInvite extends AppFragment {
str = inviteCode.getInviteCode();
}
analyticsTracker.impressionInviteAccept(str);
getBinding().c.setOnClickListener(new WidgetGuildInvite$onViewBound$1(this));
getBinding().f2396b.setOnClickListener(new WidgetGuildInvite$onViewBound$1(this));
}
@Override // com.discord.app.AppFragment

View file

@ -0,0 +1,17 @@
package com.discord.widgets.guilds.invite;
import android.view.View;
import kotlin.jvm.functions.Function0;
/* compiled from: WidgetInviteInfo.kt */
public final class WidgetInviteInfo$configureUI$1 implements View.OnClickListener {
public final /* synthetic */ Function0 $onAcceptClick;
public WidgetInviteInfo$configureUI$1(Function0 function0) {
this.$onAcceptClick = function0;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
this.$onAcceptClick.mo1invoke();
}
}

View file

@ -20,7 +20,7 @@ public final class WidgetInviteInfo$parseAttributeSet$1 implements Runnable {
@Override // java.lang.Runnable
public final void run() {
if (this.$size != 0) {
GuildView guildView = WidgetInviteInfo.access$getBinding$p(this.this$0).f2395b;
GuildView guildView = WidgetInviteInfo.access$getBinding$p(this.this$0).c;
m.checkNotNullExpressionValue(guildView, "binding.inviteAvatar");
ViewGroup.LayoutParams layoutParams = guildView.getLayoutParams();
Objects.requireNonNull(layoutParams, "null cannot be cast to non-null type android.view.ViewGroup.LayoutParams");
@ -30,7 +30,7 @@ public final class WidgetInviteInfo$parseAttributeSet$1 implements Runnable {
guildView.setLayoutParams(layoutParams);
}
if (this.$userSize != 0) {
SimpleDraweeView simpleDraweeView = WidgetInviteInfo.access$getBinding$p(this.this$0).c;
SimpleDraweeView simpleDraweeView = WidgetInviteInfo.access$getBinding$p(this.this$0).d;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.inviteAvatarSmall");
ViewGroup.LayoutParams layoutParams2 = simpleDraweeView.getLayoutParams();
Objects.requireNonNull(layoutParams2, "null cannot be cast to non-null type android.view.ViewGroup.LayoutParams");

View file

@ -30,9 +30,12 @@ import com.discord.utilities.view.extensions.ViewExtensions;
import com.discord.views.GuildView;
import com.discord.views.guilds.ServerMemberCount;
import com.facebook.drawee.view.SimpleDraweeView;
import com.google.android.material.button.MaterialButton;
import d0.z.d.m;
import java.util.List;
import java.util.Objects;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* compiled from: WidgetInviteInfo.kt */
@ -52,7 +55,10 @@ public final class WidgetInviteInfo extends ConstraintLayout {
super(context, attributeSet, i);
m.checkNotNullParameter(context, "ctx");
LayoutInflater.from(getContext()).inflate(R.layout.widget_guild_invite_info_view, this);
int i2 = R.id.invite_avatar;
int i2 = R.id.guild_invite_accept;
MaterialButton materialButton = (MaterialButton) findViewById(R.id.guild_invite_accept);
if (materialButton != null) {
i2 = R.id.invite_avatar;
GuildView guildView = (GuildView) findViewById(R.id.invite_avatar);
if (guildView != null) {
i2 = R.id.invite_avatar_small;
@ -70,7 +76,7 @@ public final class WidgetInviteInfo extends ConstraintLayout {
i2 = R.id.title_layout;
LinearLayout linearLayout = (LinearLayout) findViewById(R.id.title_layout);
if (linearLayout != null) {
WidgetGuildInviteInfoViewBinding widgetGuildInviteInfoViewBinding = new WidgetGuildInviteInfoViewBinding(this, guildView, simpleDraweeView, serverMemberCount, textView, textView2, linearLayout);
WidgetGuildInviteInfoViewBinding widgetGuildInviteInfoViewBinding = new WidgetGuildInviteInfoViewBinding(this, materialButton, guildView, simpleDraweeView, serverMemberCount, textView, textView2, linearLayout);
m.checkNotNullExpressionValue(widgetGuildInviteInfoViewBinding, "WidgetGuildInviteInfoVie…ater.from(context), this)");
this.binding = widgetGuildInviteInfoViewBinding;
Context context2 = getContext();
@ -86,6 +92,7 @@ public final class WidgetInviteInfo extends ConstraintLayout {
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(getResources().getResourceName(i2)));
}
@ -99,7 +106,7 @@ public final class WidgetInviteInfo extends ConstraintLayout {
}
private final void configureForDirectFriend(ModelInvite modelInvite) {
GuildView guildView = this.binding.f2395b;
GuildView guildView = this.binding.c;
User inviter = modelInvite.getInviter();
String str = null;
String forUser$default = IconUtils.getForUser$default(inviter != null ? new CoreUser(inviter) : null, true, null, 4, null);
@ -128,20 +135,20 @@ public final class WidgetInviteInfo extends ConstraintLayout {
}
sb.append(str2);
String sb2 = sb.toString();
SimpleDraweeView simpleDraweeView = this.binding.c;
SimpleDraweeView simpleDraweeView = this.binding.d;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.inviteAvatarSmall");
simpleDraweeView.setVisibility(8);
ServerMemberCount serverMemberCount = this.binding.d;
ServerMemberCount serverMemberCount = this.binding.e;
m.checkNotNullExpressionValue(serverMemberCount, "binding.inviteMemberContainerLayout");
serverMemberCount.setVisibility(8);
TextView textView = this.binding.f;
TextView textView = this.binding.g;
m.checkNotNullExpressionValue(textView, "binding.inviteTitle");
textView.setText(getInviteTitleForDirectFriend(username));
this.binding.f.setTextSize(2, 26.0f);
TextView textView2 = this.binding.e;
this.binding.g.setTextSize(2, 26.0f);
TextView textView2 = this.binding.f;
m.checkNotNullExpressionValue(textView2, "binding.inviteMessage");
textView2.setText(getInviteSubtitleForDirectFriend(sb2));
this.binding.e.setTextSize(2, 18.0f);
this.binding.f.setTextSize(2, 18.0f);
}
/* JADX WARNING: Code restructure failed: missing block: B:27:0x006c, code lost:
@ -151,7 +158,7 @@ public final class WidgetInviteInfo extends ConstraintLayout {
Channel channel = modelInvite.getChannel();
if (channel != null) {
m.checkNotNullExpressionValue(channel, "model.channel ?: return");
SimpleDraweeView simpleDraweeView = this.binding.c;
SimpleDraweeView simpleDraweeView = this.binding.d;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.inviteAvatarSmall");
User inviter = modelInvite.getInviter();
IconUtils.setIcon$default(simpleDraweeView, inviter != null ? new CoreUser(inviter) : null, R.dimen.avatar_size_hero, null, null, null, 56, null);
@ -166,21 +173,21 @@ public final class WidgetInviteInfo extends ConstraintLayout {
if (ChannelUtils.w(channel) && (r6 = channel.g()) != null) {
}
z2 = false;
this.binding.f2395b.a(z2 ? IconUtils.getForChannel$default(channel, null, 2, null) : IconUtils.INSTANCE.getDefaultForGroupDM(channel.h()), null);
SimpleDraweeView simpleDraweeView2 = this.binding.c;
this.binding.c.a(z2 ? IconUtils.getForChannel$default(channel, null, 2, null) : IconUtils.INSTANCE.getDefaultForGroupDM(channel.h()), null);
SimpleDraweeView simpleDraweeView2 = this.binding.d;
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.inviteAvatarSmall");
if (!z2) {
i = 8;
}
simpleDraweeView2.setVisibility(i);
TextView textView = this.binding.e;
TextView textView = this.binding.f;
m.checkNotNullExpressionValue(textView, "binding.inviteMessage");
textView.setText(getFormattedGuildName(c));
TextView textView2 = this.binding.f;
TextView textView2 = this.binding.g;
m.checkNotNullExpressionValue(textView2, "binding.inviteTitle");
textView2.setText(getIntroTextForGroup(username, ChannelUtils.c(channel)));
this.binding.d.setOnline(null);
this.binding.d.setMembers(Integer.valueOf(modelInvite.getApproximateMemberCount()));
this.binding.e.setOnline(null);
this.binding.e.setMembers(Integer.valueOf(modelInvite.getApproximateMemberCount()));
}
}
@ -191,26 +198,26 @@ public final class WidgetInviteInfo extends ConstraintLayout {
boolean z2 = modelInvite.getInviter() != null && modelInvite.getApproximateMemberCount() < 200;
Guild guild = modelInvite.guild;
if (guild != null) {
GuildView guildView = this.binding.f2395b;
GuildView guildView = this.binding.c;
m.checkNotNullExpressionValue(guild, "it");
guildView.a(IconUtils.getForGuild$default(new com.discord.models.guild.Guild(guild), null, true, null, 10, null), GuildUtilsKt.computeShortName(guild.x()));
}
String str = null;
if (z2) {
SimpleDraweeView simpleDraweeView = this.binding.c;
SimpleDraweeView simpleDraweeView = this.binding.d;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.inviteAvatarSmall");
User inviter = modelInvite.getInviter();
IconUtils.setIcon$default(simpleDraweeView, IconUtils.getForUser$default(inviter != null ? new CoreUser(inviter) : null, true, null, 4, null), (int) R.dimen.avatar_size_medium, (Function1) null, (MGImages.ChangeDetector) null, 24, (Object) null);
}
this.binding.d.setMembers(!z2 ? Integer.valueOf(modelInvite.getApproximateMemberCount()) : null);
this.binding.d.setOnline(!z2 ? Integer.valueOf(modelInvite.getApproximatePresenceCount()) : null);
SimpleDraweeView simpleDraweeView2 = this.binding.c;
this.binding.e.setMembers(!z2 ? Integer.valueOf(modelInvite.getApproximateMemberCount()) : null);
this.binding.e.setOnline(!z2 ? Integer.valueOf(modelInvite.getApproximatePresenceCount()) : null);
SimpleDraweeView simpleDraweeView2 = this.binding.d;
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.inviteAvatarSmall");
if (!z2) {
i = 8;
}
simpleDraweeView2.setVisibility(i);
TextView textView = this.binding.e;
TextView textView = this.binding.f;
m.checkNotNullExpressionValue(textView, "binding.inviteMessage");
Guild guild2 = modelInvite.guild;
String x2 = guild2 != null ? guild2.x() : null;
@ -222,16 +229,16 @@ public final class WidgetInviteInfo extends ConstraintLayout {
if (guild3 == null || (m2 = guild3.m()) == null || !m2.contains(GuildFeature.VERIFIED)) {
Guild guild4 = modelInvite.guild;
if (!(guild4 == null || (m = guild4.m()) == null || !m.contains(GuildFeature.PARTNERED))) {
TextView textView2 = this.binding.e;
TextView textView2 = this.binding.f;
m.checkNotNullExpressionValue(textView2, "binding.inviteMessage");
ViewExtensions.setCompoundDrawableWithIntrinsicBounds$default(textView2, R.drawable.ic_partnered_badge, 0, 0, 0, 14, null);
}
} else {
TextView textView3 = this.binding.e;
TextView textView3 = this.binding.f;
m.checkNotNullExpressionValue(textView3, "binding.inviteMessage");
ViewExtensions.setCompoundDrawableWithIntrinsicBounds$default(textView3, R.drawable.ic_verified_badge, 0, 0, 0, 14, null);
}
TextView textView4 = this.binding.f;
TextView textView4 = this.binding.g;
m.checkNotNullExpressionValue(textView4, "binding.inviteTitle");
User inviter2 = modelInvite.getInviter();
if (inviter2 != null) {
@ -269,9 +276,14 @@ public final class WidgetInviteInfo extends ConstraintLayout {
}
}
public final void configureUI(ModelInvite modelInvite) {
public final void configureUI(ModelInvite modelInvite, Function0<Unit> function0) {
m.checkNotNullParameter(modelInvite, "model");
this.binding.f2395b.b();
m.checkNotNullParameter(function0, "onAcceptClick");
this.binding.c.b();
MaterialButton materialButton = this.binding.f2395b;
m.checkNotNullExpressionValue(materialButton, "binding.guildInviteAccept");
materialButton.setVisibility(0);
this.binding.f2395b.setOnClickListener(new WidgetInviteInfo$configureUI$1(function0));
if (modelInvite.guild == null && modelInvite.getChannel() == null && modelInvite.getInviter() != null) {
configureForDirectFriend(modelInvite);
} else if (modelInvite.guild == null) {
@ -282,27 +294,30 @@ public final class WidgetInviteInfo extends ConstraintLayout {
}
public final void configureUIFailure(Error error) {
this.binding.f.setText(R.string.instant_invite_expired);
this.binding.e.setText(R.string.invite_button_expired);
this.binding.g.setText(R.string.instant_invite_expired);
this.binding.f.setText(R.string.invite_button_expired);
MaterialButton materialButton = this.binding.f2395b;
m.checkNotNullExpressionValue(materialButton, "binding.guildInviteAccept");
materialButton.setVisibility(8);
if (error != null) {
Error.Response response = error.getResponse();
m.checkNotNullExpressionValue(response, "e.response");
if (response.getCode() == 30001) {
MeUser me2 = StoreStream.Companion.getUsers().getMe();
TextView textView = this.binding.f;
TextView textView = this.binding.g;
m.checkNotNullExpressionValue(textView, "binding.inviteTitle");
b.m(textView, R.string.too_many_user_guilds_alert_description, new Object[0], new WidgetInviteInfo$configureUIFailure$1(me2));
this.binding.e.setText(R.string.too_many_user_guilds_description);
this.binding.e.setTextSize(0, getResources().getDimension(R.dimen.uikit_textsize_medium));
this.binding.f.setText(R.string.too_many_user_guilds_description);
this.binding.f.setTextSize(0, getResources().getDimension(R.dimen.uikit_textsize_medium));
}
}
TextView textView2 = this.binding.e;
TextView textView2 = this.binding.f;
m.checkNotNullExpressionValue(textView2, "binding.inviteMessage");
ViewExtensions.setCompoundDrawableWithIntrinsicBounds$default(textView2, 0, 0, 0, 0, 15, null);
ServerMemberCount serverMemberCount = this.binding.d;
ServerMemberCount serverMemberCount = this.binding.e;
m.checkNotNullExpressionValue(serverMemberCount, "binding.inviteMemberContainerLayout");
serverMemberCount.setVisibility(8);
GuildView guildView = this.binding.f2395b;
GuildView guildView = this.binding.c;
Context context = getContext();
m.checkNotNullExpressionValue(context, "context");
int themedDrawableRes = DrawableCompat.getThemedDrawableRes(context, (int) R.attr.img_poop, (int) R.drawable.img_poop_dark);
@ -314,7 +329,7 @@ public final class WidgetInviteInfo extends ConstraintLayout {
TextView textView3 = guildView.k.c;
m.checkNotNullExpressionValue(textView3, "binding.guildText");
textView3.setVisibility(8);
SimpleDraweeView simpleDraweeView2 = this.binding.c;
SimpleDraweeView simpleDraweeView2 = this.binding.d;
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.inviteAvatarSmall");
simpleDraweeView2.setVisibility(8);
}

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 /* 2131364303 */:
case R.id.menu_chat_add_friend /* 2131364304 */:
WidgetFriendsAdd.Companion.show$default(WidgetFriendsAdd.Companion, context, null, "Toolbar", 2, null);
break;
case R.id.menu_chat_search /* 2131364304 */:
case R.id.menu_chat_search /* 2131364305 */:
launchForSearch(context);
break;
case R.id.menu_chat_side_panel /* 2131364305 */:
case R.id.menu_chat_side_panel /* 2131364306 */:
this.$panelLayout.openEndPanel();
break;
case R.id.menu_chat_start_call /* 2131364306 */:
case R.id.menu_chat_start_call /* 2131364307 */:
privateCallLauncher.launchVoiceCall(this.$this_getOnSelectedAction.getChannelId());
break;
case R.id.menu_chat_start_group /* 2131364307 */:
case R.id.menu_chat_start_group /* 2131364308 */:
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 /* 2131364308 */:
case R.id.menu_chat_start_video_call /* 2131364309 */:
privateCallLauncher.launchVideoCall(this.$this_getOnSelectedAction.getChannelId());
break;
case R.id.menu_chat_stop_call /* 2131364309 */:
case R.id.menu_chat_stop_call /* 2131364310 */:
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 /* 2131364326 */:
case R.id.menu_media_browser /* 2131364327 */:
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 /* 2131364327 */:
case R.id.menu_media_download /* 2131364328 */:
this.this$0.requestMediaDownload(new AnonymousClass1(this, context));
return;
case R.id.menu_media_share /* 2131364328 */:
case R.id.menu_media_share /* 2131364329 */:
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 = 2131364477;
public static final int notice_cancel = 2131364478;
public static final Companion Companion = new Companion(null);
/* renamed from: OK_BUTTON */
public static final int notice_ok = 2131364482;
public static final int notice_ok = 2131364483;
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 /* 2131364344 */:
case R.id.menu_sort_channel /* 2131364345 */:
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 /* 2131364345 */:
case R.id.menu_sort_done /* 2131364346 */:
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 = 2131363121;
private static final int STATE_KEY_EXPIRE_BEHAVIOR = 2131363124;
private static final int STATE_KEY_GRACE_PERIOD = 2131363125;
private static final int STATE_KEY_ENABLE_TWITCH_EMOTES = 2131363122;
private static final int STATE_KEY_EXPIRE_BEHAVIOR = 2131363125;
private static final int STATE_KEY_GRACE_PERIOD = 2131363126;
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

@ -591,138 +591,138 @@ 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().f2357y, getBinding().C, getBinding().f2358z, getBinding().w, getBinding().A, getBinding().B, getBinding().G, getBinding().D, getBinding().E, getBinding().I, getBinding().J, getBinding().O, getBinding().P, getBinding().o, getBinding().n, getBinding().Q, getBinding().R, getBinding().S, getBinding().T, getBinding().f, getBinding().U, getBinding().W, getBinding().f2351a0, getBinding().f2354c0, getBinding().Z, getBinding().X, getBinding().Y, getBinding().f2353b0, getBinding().H, getBinding().V, getBinding().K, getBinding().f2356x})) {
m.checkNotNullExpressionValue(checkedSetting, "setting");
switch (checkedSetting.getId()) {
case R.id.role_settings_add_reactions /* 2131364885 */:
case R.id.role_settings_add_reactions /* 2131364886 */:
j = 64;
break;
case R.id.role_settings_administrator /* 2131364886 */:
case R.id.role_settings_administrator /* 2131364887 */:
j = 8;
break;
case R.id.role_settings_attach_files /* 2131364887 */:
case R.id.role_settings_attach_files /* 2131364888 */:
j = Permission.ATTACH_FILES;
break;
case R.id.role_settings_ban_members /* 2131364888 */:
case R.id.role_settings_ban_members /* 2131364889 */:
j = 4;
break;
case R.id.role_settings_change_nickname /* 2131364889 */:
case R.id.role_settings_change_nickname /* 2131364890 */:
j = Permission.CHANGE_NICKNAME;
break;
case R.id.role_settings_color_disabled_overlay /* 2131364890 */:
case R.id.role_settings_color_selector_container /* 2131364891 */:
case R.id.role_settings_current_color_display /* 2131364895 */:
case R.id.role_settings_edit_name_disabled_overlay /* 2131364896 */:
case R.id.role_settings_hoist_checkedsetting /* 2131364898 */:
case R.id.role_settings_icon_container /* 2131364899 */:
case R.id.role_settings_mentionable_checkedsetting /* 2131364911 */:
case R.id.role_settings_overview_scroll /* 2131364913 */:
case R.id.role_settings_role_icon /* 2131364918 */:
case R.id.role_settings_role_icon_divider /* 2131364919 */:
case R.id.role_settings_role_icon_header /* 2131364920 */:
case R.id.role_settings_color_disabled_overlay /* 2131364891 */:
case R.id.role_settings_color_selector_container /* 2131364892 */:
case R.id.role_settings_current_color_display /* 2131364896 */:
case R.id.role_settings_edit_name_disabled_overlay /* 2131364897 */:
case R.id.role_settings_hoist_checkedsetting /* 2131364899 */:
case R.id.role_settings_icon_container /* 2131364900 */:
case R.id.role_settings_mentionable_checkedsetting /* 2131364912 */:
case R.id.role_settings_overview_scroll /* 2131364914 */:
case R.id.role_settings_role_icon /* 2131364919 */:
case R.id.role_settings_role_icon_divider /* 2131364920 */:
case R.id.role_settings_role_icon_header /* 2131364921 */:
default:
j = 0;
break;
case R.id.role_settings_create_instant_invite /* 2131364892 */:
case R.id.role_settings_create_instant_invite /* 2131364893 */:
j = 1;
break;
case R.id.role_settings_create_private_threads /* 2131364893 */:
case R.id.role_settings_create_private_threads /* 2131364894 */:
j = Permission.CREATE_PRIVATE_THREADS;
break;
case R.id.role_settings_create_public_threads /* 2131364894 */:
case R.id.role_settings_create_public_threads /* 2131364895 */:
j = Permission.CREATE_PUBLIC_THREADS;
break;
case R.id.role_settings_embed_links /* 2131364897 */:
case R.id.role_settings_embed_links /* 2131364898 */:
j = Permission.EMBED_LINKS;
break;
case R.id.role_settings_kick_members /* 2131364900 */:
case R.id.role_settings_kick_members /* 2131364901 */:
j = 2;
break;
case R.id.role_settings_manage_channels /* 2131364901 */:
case R.id.role_settings_manage_channels /* 2131364902 */:
j = 16;
break;
case R.id.role_settings_manage_emojis_and_stickers /* 2131364902 */:
case R.id.role_settings_manage_emojis_and_stickers /* 2131364903 */:
j = Permission.MANAGE_EMOJIS_AND_STICKERS;
break;
case R.id.role_settings_manage_events /* 2131364903 */:
case R.id.role_settings_manage_events /* 2131364904 */:
j = Permission.MANAGE_EVENTS;
break;
case R.id.role_settings_manage_messages /* 2131364904 */:
case R.id.role_settings_manage_messages /* 2131364905 */:
j = Permission.MANAGE_MESSAGES;
break;
case R.id.role_settings_manage_nicknames /* 2131364905 */:
case R.id.role_settings_manage_nicknames /* 2131364906 */:
j = Permission.MANAGE_NICKNAMES;
break;
case R.id.role_settings_manage_roles /* 2131364906 */:
case R.id.role_settings_manage_roles /* 2131364907 */:
j = Permission.MANAGE_ROLES;
break;
case R.id.role_settings_manage_server /* 2131364907 */:
case R.id.role_settings_manage_server /* 2131364908 */:
j = 32;
break;
case R.id.role_settings_manage_threads /* 2131364908 */:
case R.id.role_settings_manage_threads /* 2131364909 */:
j = Permission.MANAGE_THREADS;
break;
case R.id.role_settings_manage_webhooks /* 2131364909 */:
case R.id.role_settings_manage_webhooks /* 2131364910 */:
j = Permission.MANAGE_WEBHOOKS;
break;
case R.id.role_settings_mention_everyone /* 2131364910 */:
case R.id.role_settings_mention_everyone /* 2131364911 */:
j = Permission.MENTION_EVERYONE;
break;
case R.id.role_settings_moderate_member /* 2131364912 */:
case R.id.role_settings_moderate_member /* 2131364913 */:
j = Permission.MODERATE_MEMBERS;
break;
case R.id.role_settings_priority_speaker /* 2131364914 */:
case R.id.role_settings_priority_speaker /* 2131364915 */:
j = 256;
break;
case R.id.role_settings_read_message_history /* 2131364915 */:
case R.id.role_settings_read_message_history /* 2131364916 */:
j = Permission.READ_MESSAGE_HISTORY;
break;
case R.id.role_settings_read_messages /* 2131364916 */:
case R.id.role_settings_read_messages /* 2131364917 */:
j = Permission.VIEW_CHANNEL;
break;
case R.id.role_settings_request_to_speak /* 2131364917 */:
case R.id.role_settings_request_to_speak /* 2131364918 */:
j = Permission.REQUEST_TO_SPEAK;
break;
case R.id.role_settings_send_messages /* 2131364921 */:
case R.id.role_settings_send_messages /* 2131364922 */:
j = Permission.SEND_MESSAGES;
break;
case R.id.role_settings_send_messages_in_threads /* 2131364922 */:
case R.id.role_settings_send_messages_in_threads /* 2131364923 */:
j = Permission.SEND_MESSAGES_IN_THREADS;
break;
case R.id.role_settings_send_tts_messages /* 2131364923 */:
case R.id.role_settings_send_tts_messages /* 2131364924 */:
j = Permission.SEND_TTS_MESSAGES;
break;
case R.id.role_settings_use_application_commands /* 2131364924 */:
case R.id.role_settings_use_application_commands /* 2131364925 */:
j = Permission.USE_APPLICATION_COMMANDS;
break;
case R.id.role_settings_use_external_emojis /* 2131364925 */:
case R.id.role_settings_use_external_emojis /* 2131364926 */:
j = Permission.USE_EXTERNAL_EMOJIS;
break;
case R.id.role_settings_use_external_stickers /* 2131364926 */:
case R.id.role_settings_use_external_stickers /* 2131364927 */:
j = Permission.USE_EXTERNAL_STICKERS;
break;
case R.id.role_settings_view_audit_log /* 2131364927 */:
case R.id.role_settings_view_audit_log /* 2131364928 */:
j = 128;
break;
case R.id.role_settings_view_guild_analytics /* 2131364928 */:
case R.id.role_settings_view_guild_analytics /* 2131364929 */:
j = Permission.VIEW_GUILD_ANALYTICS;
break;
case R.id.role_settings_voice_connect /* 2131364929 */:
case R.id.role_settings_voice_connect /* 2131364930 */:
j = Permission.CONNECT;
break;
case R.id.role_settings_voice_deafen_members /* 2131364930 */:
case R.id.role_settings_voice_deafen_members /* 2131364931 */:
j = Permission.DEAFEN_MEMBERS;
break;
case R.id.role_settings_voice_move_members /* 2131364931 */:
case R.id.role_settings_voice_move_members /* 2131364932 */:
j = Permission.MOVE_MEMBERS;
break;
case R.id.role_settings_voice_mute_members /* 2131364932 */:
case R.id.role_settings_voice_mute_members /* 2131364933 */:
j = Permission.MUTE_MEMBERS;
break;
case R.id.role_settings_voice_speak /* 2131364933 */:
case R.id.role_settings_voice_speak /* 2131364934 */:
j = Permission.SPEAK;
break;
case R.id.role_settings_voice_use_voice_activity /* 2131364934 */:
case R.id.role_settings_voice_use_voice_activity /* 2131364935 */:
j = Permission.USE_VAD;
break;
case R.id.role_settings_voice_video /* 2131364935 */:
case R.id.role_settings_voice_video /* 2131364936 */:
j = 512;
break;
}

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 /* 2131364293 */:
case R.id.menu_audit_log_sort_actions /* 2131364294 */:
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 /* 2131364294 */:
case R.id.menu_audit_log_sort_users /* 2131364295 */:
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

@ -811,12 +811,13 @@ public final class WidgetMemberVerificationViewModel extends AppViewModel<ViewSt
r12 = r2;
r13 = true;
*/
/* JADX WARNING: Removed duplicated region for block: B:46:0x0093 */
/* JADX WARNING: Removed duplicated region for block: B:58:0x00c3 */
/* JADX WARNING: Removed duplicated region for block: B:47:0x0099 */
@MainThread
private final void handleStoreState(StoreState storeState) {
VerificationType verificationType;
ViewState viewState;
boolean z2;
ModelMemberVerificationForm form;
VerificationType verificationType2;
MeUser me2 = storeState.getMe();
Guild guild = storeState.getGuild();
@ -832,8 +833,8 @@ public final class WidgetMemberVerificationViewModel extends AppViewModel<ViewSt
} else if (ordinal == 1) {
updateViewState(ViewState.Invalid.INSTANCE);
} else if (ordinal == 2) {
ModelMemberVerificationForm form = memberVerificationFormData.getForm();
List<ModelMemberVerificationForm.FormField> formFields = form != null ? form.getFormFields() : null;
ModelMemberVerificationForm form2 = memberVerificationFormData.getForm();
List<ModelMemberVerificationForm.FormField> formFields = form2 != null ? form2.getFormFields() : null;
GuildVerificationLevel verificationLevel = guild != null ? guild.getVerificationLevel() : null;
GuildVerificationLevel guildVerificationLevel = GuildVerificationLevel.HIGHEST;
boolean z3 = verificationLevel != guildVerificationLevel;
@ -848,7 +849,16 @@ public final class WidgetMemberVerificationViewModel extends AppViewModel<ViewSt
} else {
verificationType = null;
boolean z6 = false;
if (formFields == null) {
viewState = getViewState();
if (!(viewState instanceof ViewState.Loaded)) {
viewState = null;
}
ViewState.Loaded loaded = (ViewState.Loaded) viewState;
List<ModelMemberVerificationForm.FormField> formFields2 = (loaded != null || (form = loaded.getForm()) == null) ? null : form.getFormFields();
if (formFields != null || !(!m.areEqual(formFields2, formFields))) {
z2 = false;
} else {
this.formUserInputDataMap.clear();
boolean z7 = false;
int i = 0;
for (Object obj : formFields) {
@ -864,15 +874,20 @@ public final class WidgetMemberVerificationViewModel extends AppViewModel<ViewSt
i = i2;
}
z2 = z7;
} else {
z2 = false;
}
updateViewState(new ViewState.Loaded(formFields == null && !formFields.isEmpty(), false, z5 || z6, verificationType, z6, createFormItems(formFields, !z2, channels, roles, allowAnimatedEmojis), memberVerificationFormData.getForm(), channels, roles, allowAnimatedEmojis, !z5 && !z6, !z2, guild));
}
verificationType = verificationType2;
boolean z6 = false;
if (formFields == null) {
viewState = getViewState();
if (!(viewState instanceof ViewState.Loaded)) {
}
ViewState.Loaded loaded = (ViewState.Loaded) viewState;
if (loaded != null) {
}
if (formFields != null) {
}
z2 = false;
updateViewState(new ViewState.Loaded(formFields == null && !formFields.isEmpty(), false, z5 || z6, verificationType, z6, createFormItems(formFields, !z2, channels, roles, allowAnimatedEmojis), memberVerificationFormData.getForm(), channels, roles, allowAnimatedEmojis, !z5 && !z6, !z2, guild));
}
}

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 /* 2131364339 */:
case R.id.menu_settings_debugging /* 2131364340 */:
WidgetDebugging.Companion companion = WidgetDebugging.Companion;
m.checkNotNullExpressionValue(context, "context");
companion.launch(context);
return;
case R.id.menu_settings_log_out /* 2131364340 */:
case R.id.menu_settings_log_out /* 2131364341 */:
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 + " - 114.7 - Beta (114107)");
textView.setText(string + " - 115.4 - Beta (115104)");
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

@ -0,0 +1,64 @@
package com.discord.widgets.tos;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.discord.R;
import com.discord.databinding.WidgetTosBinding;
import com.discord.utilities.view.text.LinkifiedTextView;
import com.google.android.material.button.MaterialButton;
import d0.z.d.k;
import d0.z.d.m;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetTos.kt */
public final /* synthetic */ class WidgetTos$binding$2 extends k implements Function1<View, WidgetTosBinding> {
public static final WidgetTos$binding$2 INSTANCE = new WidgetTos$binding$2();
public WidgetTos$binding$2() {
super(1, WidgetTosBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetTosBinding;", 0);
}
public final WidgetTosBinding invoke(View view) {
m.checkNotNullParameter(view, "p1");
int i = R.id.alert_tos_ack_continue;
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.alert_tos_ack_continue);
if (materialButton != null) {
i = R.id.alert_tos_ack_wrap;
LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.alert_tos_ack_wrap);
if (linearLayout != null) {
i = R.id.alert_tos_blog_post;
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view.findViewById(R.id.alert_tos_blog_post);
if (linkifiedTextView != null) {
i = R.id.alert_tos_community_guidelines;
LinkifiedTextView linkifiedTextView2 = (LinkifiedTextView) view.findViewById(R.id.alert_tos_community_guidelines);
if (linkifiedTextView2 != null) {
i = R.id.alert_tos_privacy_policy;
LinkifiedTextView linkifiedTextView3 = (LinkifiedTextView) view.findViewById(R.id.alert_tos_privacy_policy);
if (linkifiedTextView3 != null) {
i = R.id.alert_tos_terms_of_service;
LinkifiedTextView linkifiedTextView4 = (LinkifiedTextView) view.findViewById(R.id.alert_tos_terms_of_service);
if (linkifiedTextView4 != null) {
i = R.id.alert_tos_text_description_bottom;
TextView textView = (TextView) view.findViewById(R.id.alert_tos_text_description_bottom);
if (textView != null) {
i = R.id.alert_tos_text_description_top;
TextView textView2 = (TextView) view.findViewById(R.id.alert_tos_text_description_top);
if (textView2 != null) {
i = R.id.tos_icon;
ImageView imageView = (ImageView) view.findViewById(R.id.tos_icon);
if (imageView != null) {
return new WidgetTosBinding((RelativeLayout) view, materialButton, linearLayout, linkifiedTextView, linkifiedTextView2, linkifiedTextView3, linkifiedTextView4, textView, textView2, imageView);
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
}

View file

@ -0,0 +1,21 @@
package com.discord.widgets.tos;
import android.view.View;
import b.a.d.o;
import com.discord.restapi.RestAPIParams;
import com.discord.utilities.rest.RestAPI;
import com.discord.utilities.rx.ObservableExtensionsKt;
/* compiled from: WidgetTos.kt */
public final class WidgetTos$configureAgreementUI$$inlined$with$lambda$1 implements View.OnClickListener {
public final /* synthetic */ WidgetTos this$0;
public WidgetTos$configureAgreementUI$$inlined$with$lambda$1(WidgetTos widgetTos) {
this.this$0 = widgetTos;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().userAgreements(RestAPIParams.UserAgreements.Companion.agree()), false, 1, null), this.this$0, null, 2, null).k(o.a.g(this.this$0.getContext(), WidgetTos$configureAgreementUI$1$1$1.INSTANCE, null));
this.this$0.requireActivity().finish();
}
}

View file

@ -0,0 +1,24 @@
package com.discord.widgets.tos;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetTos.kt */
public final class WidgetTos$configureAgreementUI$1$1$1 extends o implements Function1<Void, Unit> {
public static final WidgetTos$configureAgreementUI$1$1$1 INSTANCE = new WidgetTos$configureAgreementUI$1$1$1();
public WidgetTos$configureAgreementUI$1$1$1() {
super(1);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(Void r1) {
invoke(r1);
return Unit.a;
}
public final void invoke(Void r1) {
}
}

View file

@ -7,12 +7,13 @@ import com.discord.utilities.rx.ObservableExtensionsKt;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetTosAccept.kt */
public final class WidgetTosAccept$configureUI$2 implements View.OnClickListener {
public final /* synthetic */ WidgetTosAccept this$0;
/* compiled from: WidgetTos.kt */
public final class WidgetTos$configureCommonTosModalUI$1 implements View.OnClickListener {
public final /* synthetic */ RestAPIParams.UserAgreements $userAgreementsParam;
public final /* synthetic */ WidgetTos this$0;
/* compiled from: WidgetTosAccept.kt */
/* renamed from: com.discord.widgets.tos.WidgetTosAccept$configureUI$2$1 reason: invalid class name */
/* compiled from: WidgetTos.kt */
/* renamed from: com.discord.widgets.tos.WidgetTos$configureCommonTosModalUI$1$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function1<Void, Unit> {
public static final AnonymousClass1 INSTANCE = new AnonymousClass1();
@ -32,12 +33,14 @@ public final class WidgetTosAccept$configureUI$2 implements View.OnClickListener
}
}
public WidgetTosAccept$configureUI$2(WidgetTosAccept widgetTosAccept) {
this.this$0 = widgetTosAccept;
public WidgetTos$configureCommonTosModalUI$1(WidgetTos widgetTos, RestAPIParams.UserAgreements userAgreements) {
this.this$0 = widgetTos;
this.$userAgreementsParam = userAgreements;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().userAgreements(new RestAPIParams.UserAgreements()), false, 1, null), this.this$0, null, 2, null).k(b.a.d.o.a.g(this.this$0.getContext(), AnonymousClass1.INSTANCE, null));
ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().userAgreements(this.$userAgreementsParam), false, 1, null), this.this$0, null, 2, null).k(b.a.d.o.a.g(this.this$0.getContext(), AnonymousClass1.INSTANCE, null));
this.this$0.requireActivity().finish();
}
}

View file

@ -0,0 +1,22 @@
package com.discord.widgets.tos;
import d0.z.d.o;
import kotlin.jvm.functions.Function0;
/* compiled from: WidgetTos.kt */
public final class WidgetTos$isAcknowledgement$2 extends o implements Function0<Boolean> {
public final /* synthetic */ WidgetTos this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetTos$isAcknowledgement$2(WidgetTos widgetTos) {
super(0);
this.this$0 = widgetTos;
}
/* Return type fixed from 'boolean' to match base method */
/* JADX WARNING: Unknown variable types count: 1 */
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final Boolean mo1invoke() {
return this.this$0.getMostRecentIntent().getBooleanExtra("intent_args_key", false);
}
}

View file

@ -0,0 +1,12 @@
package com.discord.widgets.tos;
import rx.functions.Func0;
/* compiled from: WidgetTos.kt */
public final class WidgetTos$onViewBound$1<R> implements Func0<Boolean> {
public static final WidgetTos$onViewBound$1 INSTANCE = new WidgetTos$onViewBound$1();
@Override // rx.functions.Func0, java.util.concurrent.Callable
public final Boolean call() {
return Boolean.TRUE;
}
}

View file

@ -6,9 +6,9 @@ import com.discord.R;
import com.discord.stores.StoreStream;
import d0.z.d.m;
import rx.functions.Action2;
/* compiled from: WidgetTosAccept.kt */
public final class WidgetTosAccept$onViewBound$2<T1, T2> implements Action2<MenuItem, Context> {
public static final WidgetTosAccept$onViewBound$2 INSTANCE = new WidgetTosAccept$onViewBound$2();
/* compiled from: WidgetTos.kt */
public final class WidgetTos$onViewBound$2<T1, T2> implements Action2<MenuItem, Context> {
public static final WidgetTos$onViewBound$2 INSTANCE = new WidgetTos$onViewBound$2();
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");

View file

@ -0,0 +1,132 @@
package com.discord.widgets.tos;
import android.content.Context;
import android.content.Intent;
import android.text.format.DateUtils;
import android.view.View;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import b.a.d.j;
import b.a.k.b;
import b.d.b.a.a;
import com.discord.R;
import com.discord.app.AppFragment;
import com.discord.databinding.WidgetTosBinding;
import com.discord.restapi.RestAPIParams;
import com.discord.utilities.view.text.LinkifiedTextView;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
import com.google.android.material.button.MaterialButton;
import d0.g;
import d0.z.d.m;
import kotlin.Lazy;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.reflect.KProperty;
/* compiled from: WidgetTos.kt */
public final class WidgetTos extends AppFragment {
public static final /* synthetic */ KProperty[] $$delegatedProperties = {a.b0(WidgetTos.class, "binding", "getBinding()Lcom/discord/databinding/WidgetTosBinding;", 0)};
public static final Companion Companion = new Companion(null);
private final FragmentViewBindingDelegate binding$delegate = FragmentViewBindingDelegateKt.viewBinding$default(this, WidgetTos$binding$2.INSTANCE, null, 2, null);
private final Lazy isAcknowledgement$delegate = g.lazy(new WidgetTos$isAcknowledgement$2(this));
/* compiled from: WidgetTos.kt */
public static final class Companion {
private Companion() {
}
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final void show(Context context, boolean z2) {
m.checkNotNullParameter(context, "context");
Intent intent = new Intent();
intent.putExtra("intent_args_key", z2);
j.d(context, WidgetTos.class, intent);
}
}
public WidgetTos() {
super(R.layout.widget_tos);
}
private final void configureAcknowledgementUI() {
configureCommonTosModalUI();
WidgetTosBinding binding = getBinding();
TextView textView = binding.h;
m.checkNotNullExpressionValue(textView, "alertTosTextDescriptionTop");
b.n(textView, R.string.terms_acknowledgement_description_1, new Object[]{DateUtils.formatDateTime(requireContext(), 1648454400000L, 4)}, null, 4);
TextView textView2 = binding.g;
m.checkNotNullExpressionValue(textView2, "alertTosTextDescriptionBottom");
b.n(textView2, R.string.terms_acknowledgement_description_2, new Object[0], null, 4);
}
private final void configureAgreementUI() {
configureCommonTosModalUI();
WidgetTosBinding binding = getBinding();
binding.f2648b.setOnClickListener(new WidgetTos$configureAgreementUI$$inlined$with$lambda$1(this));
TextView textView = binding.h;
m.checkNotNullExpressionValue(textView, "alertTosTextDescriptionTop");
b.n(textView, R.string.terms_agreement_description_1, new Object[0], null, 4);
TextView textView2 = binding.g;
m.checkNotNullExpressionValue(textView2, "alertTosTextDescriptionBottom");
b.n(textView2, R.string.terms_agreement_description_2, new Object[0], null, 4);
MaterialButton materialButton = binding.f2648b;
m.checkNotNullExpressionValue(materialButton, "alertTosAckContinue");
b.n(materialButton, R.string.got_it, new Object[0], null, 4);
}
private final void configureCommonTosModalUI() {
MaterialButton materialButton = getBinding().f2648b;
m.checkNotNullExpressionValue(materialButton, "binding.alertTosAckContinue");
b.n(materialButton, R.string.got_it, new Object[0], null, 4);
getBinding().f2648b.setOnClickListener(new WidgetTos$configureCommonTosModalUI$1(this, isAcknowledgement() ? RestAPIParams.UserAgreements.Companion.acknowledge() : RestAPIParams.UserAgreements.Companion.agree()));
}
private final void configureCommonUI() {
WidgetTosBinding binding = getBinding();
LinkifiedTextView linkifiedTextView = binding.f;
m.checkNotNullExpressionValue(linkifiedTextView, "alertTosTermsOfService");
b.n(linkifiedTextView, R.string.terms_of_service, new Object[]{getString(R.string.terms_of_service_url)}, null, 4);
LinkifiedTextView linkifiedTextView2 = binding.e;
m.checkNotNullExpressionValue(linkifiedTextView2, "alertTosPrivacyPolicy");
b.n(linkifiedTextView2, R.string.privacy_policy, new Object[]{getString(R.string.privacy_policy_url)}, null, 4);
LinkifiedTextView linkifiedTextView3 = binding.d;
m.checkNotNullExpressionValue(linkifiedTextView3, "alertTosCommunityGuidelines");
b.n(linkifiedTextView3, R.string.community_guidelines, new Object[]{getString(R.string.community_guidelines_url)}, null, 4);
LinkifiedTextView linkifiedTextView4 = binding.c;
m.checkNotNullExpressionValue(linkifiedTextView4, "alertTosBlogPost");
b.n(linkifiedTextView4, R.string.blog_post, new Object[]{getString(R.string.important_updates_url)}, null, 4);
}
private final void configureUI() {
configureCommonUI();
if (isAcknowledgement()) {
configureAcknowledgementUI();
} else {
configureAgreementUI();
}
}
private final WidgetTosBinding getBinding() {
return (WidgetTosBinding) this.binding$delegate.getValue((Fragment) this, $$delegatedProperties[0]);
}
private final boolean isAcknowledgement() {
return ((Boolean) this.isAcknowledgement$delegate.getValue()).booleanValue();
}
@Override // com.discord.app.AppFragment
public void onViewBound(View view) {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
AppFragment.setOnBackPressed$default(this, WidgetTos$onViewBound$1.INSTANCE, 0, 2, null);
AppFragment.setActionBarOptionsMenu$default(this, R.menu.menu_settings_logout, WidgetTos$onViewBound$2.INSTANCE, null, 4, null);
}
@Override // com.discord.app.AppFragment
public void onViewBoundOrOnResume() {
super.onViewBoundOrOnResume();
configureUI();
}
}

View file

@ -1,56 +0,0 @@
package com.discord.widgets.tos;
import android.view.View;
import android.widget.CheckBox;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.discord.R;
import com.discord.databinding.WidgetTosAcceptBinding;
import com.discord.utilities.view.text.LinkifiedTextView;
import com.google.android.material.button.MaterialButton;
import d0.z.d.k;
import d0.z.d.m;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetTosAccept.kt */
public final /* synthetic */ class WidgetTosAccept$binding$2 extends k implements Function1<View, WidgetTosAcceptBinding> {
public static final WidgetTosAccept$binding$2 INSTANCE = new WidgetTosAccept$binding$2();
public WidgetTosAccept$binding$2() {
super(1, WidgetTosAcceptBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetTosAcceptBinding;", 0);
}
public final WidgetTosAcceptBinding invoke(View view) {
m.checkNotNullParameter(view, "p1");
int i = R.id.alert_tos_ack;
CheckBox checkBox = (CheckBox) view.findViewById(R.id.alert_tos_ack);
if (checkBox != null) {
i = R.id.alert_tos_ack_continue;
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.alert_tos_ack_continue);
if (materialButton != null) {
i = R.id.alert_tos_ack_wrap;
LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.alert_tos_ack_wrap);
if (linearLayout != null) {
i = R.id.alert_tos_privacy_policy;
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view.findViewById(R.id.alert_tos_privacy_policy);
if (linkifiedTextView != null) {
i = R.id.alert_tos_terms_of_service;
LinkifiedTextView linkifiedTextView2 = (LinkifiedTextView) view.findViewById(R.id.alert_tos_terms_of_service);
if (linkifiedTextView2 != null) {
i = R.id.alert_tos_text_description;
TextView textView = (TextView) view.findViewById(R.id.alert_tos_text_description);
if (textView != null) {
i = R.id.alert_tos_text_title;
TextView textView2 = (TextView) view.findViewById(R.id.alert_tos_text_title);
if (textView2 != null) {
return new WidgetTosAcceptBinding((RelativeLayout) view, checkBox, materialButton, linearLayout, linkifiedTextView, linkifiedTextView2, textView, textView2);
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
}

View file

@ -1,20 +0,0 @@
package com.discord.widgets.tos;
import android.widget.CompoundButton;
import com.google.android.material.button.MaterialButton;
import d0.z.d.m;
/* compiled from: WidgetTosAccept.kt */
public final class WidgetTosAccept$configureUI$1 implements CompoundButton.OnCheckedChangeListener {
public final /* synthetic */ WidgetTosAccept this$0;
public WidgetTosAccept$configureUI$1(WidgetTosAccept widgetTosAccept) {
this.this$0 = widgetTosAccept;
}
@Override // android.widget.CompoundButton.OnCheckedChangeListener
public final void onCheckedChanged(CompoundButton compoundButton, boolean z2) {
MaterialButton materialButton = WidgetTosAccept.access$getBinding$p(this.this$0).c;
m.checkNotNullExpressionValue(materialButton, "binding.alertTosAckContinue");
materialButton.setEnabled(z2);
}
}

View file

@ -1,12 +0,0 @@
package com.discord.widgets.tos;
import rx.functions.Func0;
/* compiled from: WidgetTosAccept.kt */
public final class WidgetTosAccept$onViewBound$1<R> implements Func0<Boolean> {
public static final WidgetTosAccept$onViewBound$1 INSTANCE = new WidgetTosAccept$onViewBound$1();
@Override // rx.functions.Func0, java.util.concurrent.Callable
public final Boolean call() {
return Boolean.TRUE;
}
}

View file

@ -1,26 +0,0 @@
package com.discord.widgets.tos;
import com.discord.models.requiredaction.RequiredAction;
import d0.z.d.k;
import d0.z.d.m;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetTosAccept.kt */
public final /* synthetic */ class WidgetTosAccept$onViewBoundOrOnResume$1 extends k implements Function1<RequiredAction, Unit> {
public WidgetTosAccept$onViewBoundOrOnResume$1(WidgetTosAccept widgetTosAccept) {
super(1, widgetTosAccept, WidgetTosAccept.class, "configureUI", "configureUI(Lcom/discord/models/requiredaction/RequiredAction;)V", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(RequiredAction requiredAction) {
invoke(requiredAction);
return Unit.a;
}
public final void invoke(RequiredAction requiredAction) {
m.checkNotNullParameter(requiredAction, "p1");
WidgetTosAccept.access$configureUI((WidgetTosAccept) this.receiver, requiredAction);
}
}

View file

@ -1,93 +0,0 @@
package com.discord.widgets.tos;
import android.content.Context;
import android.view.View;
import android.widget.CheckBox;
import androidx.fragment.app.Fragment;
import b.a.d.j;
import b.a.k.b;
import b.d.b.a.a;
import com.discord.R;
import com.discord.app.AppFragment;
import com.discord.databinding.WidgetTosAcceptBinding;
import com.discord.models.requiredaction.RequiredAction;
import com.discord.stores.StoreStream;
import com.discord.utilities.rx.ObservableExtensionsKt;
import com.discord.utilities.view.text.LinkifiedTextView;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
import com.google.android.material.button.MaterialButton;
import d0.z.d.m;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.reflect.KProperty;
/* compiled from: WidgetTosAccept.kt */
public final class WidgetTosAccept extends AppFragment {
public static final /* synthetic */ KProperty[] $$delegatedProperties = {a.b0(WidgetTosAccept.class, "binding", "getBinding()Lcom/discord/databinding/WidgetTosAcceptBinding;", 0)};
public static final Companion Companion = new Companion(null);
private final FragmentViewBindingDelegate binding$delegate = FragmentViewBindingDelegateKt.viewBinding$default(this, WidgetTosAccept$binding$2.INSTANCE, null, 2, null);
/* compiled from: WidgetTosAccept.kt */
public static final class Companion {
private Companion() {
}
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final void show(Context context) {
m.checkNotNullParameter(context, "context");
j.e(context, WidgetTosAccept.class, null, 4);
}
}
public WidgetTosAccept() {
super(R.layout.widget_tos_accept);
}
public static final /* synthetic */ void access$configureUI(WidgetTosAccept widgetTosAccept, RequiredAction requiredAction) {
widgetTosAccept.configureUI(requiredAction);
}
public static final /* synthetic */ WidgetTosAcceptBinding access$getBinding$p(WidgetTosAccept widgetTosAccept) {
return widgetTosAccept.getBinding();
}
private final void configureUI(RequiredAction requiredAction) {
if (requiredAction == RequiredAction.AGREEMENTS) {
LinkifiedTextView linkifiedTextView = getBinding().e;
m.checkNotNullExpressionValue(linkifiedTextView, "binding.alertTosTermsOfService");
b.n(linkifiedTextView, R.string.terms_of_service_url, new Object[0], null, 4);
LinkifiedTextView linkifiedTextView2 = getBinding().d;
m.checkNotNullExpressionValue(linkifiedTextView2, "binding.alertTosPrivacyPolicy");
b.n(linkifiedTextView2, R.string.privacy_policy_url, new Object[0], null, 4);
getBinding().f2648b.setOnCheckedChangeListener(new WidgetTosAccept$configureUI$1(this));
MaterialButton materialButton = getBinding().c;
m.checkNotNullExpressionValue(materialButton, "binding.alertTosAckContinue");
CheckBox checkBox = getBinding().f2648b;
m.checkNotNullExpressionValue(checkBox, "binding.alertTosAck");
materialButton.setEnabled(checkBox.isChecked());
getBinding().c.setOnClickListener(new WidgetTosAccept$configureUI$2(this));
}
}
private final WidgetTosAcceptBinding getBinding() {
return (WidgetTosAcceptBinding) this.binding$delegate.getValue((Fragment) this, $$delegatedProperties[0]);
}
@Override // com.discord.app.AppFragment
public void onViewBound(View view) {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
AppFragment.setOnBackPressed$default(this, WidgetTosAccept$onViewBound$1.INSTANCE, 0, 2, null);
AppFragment.setActionBarOptionsMenu$default(this, R.menu.menu_settings_logout, WidgetTosAccept$onViewBound$2.INSTANCE, null, 4, null);
}
@Override // com.discord.app.AppFragment
public void onViewBoundOrOnResume() {
super.onViewBoundOrOnResume();
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(StoreStream.Companion.getUserRequiredActions().observeUserRequiredAction(), this, null, 2, null), WidgetTosAccept.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new WidgetTosAccept$onViewBoundOrOnResume$1(this), 62, (Object) null);
}
}

View file

@ -0,0 +1,5 @@
package com.discord.widgets.tos;
/* compiled from: WidgetTos.kt */
public final class WidgetTosKt {
private static final long ACCEPT_BY_DATE = 1648454400000L;
}

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 /* 2131362122 */:
case R.id.ban_user_delete_messages_1_day /* 2131362123 */:
i = 1;
break;
case R.id.ban_user_delete_messages_7_days /* 2131362123 */:
case R.id.ban_user_delete_messages_7_days /* 2131362124 */:
i = 7;
break;
case R.id.ban_user_delete_messages_none /* 2131362124 */:
case R.id.ban_user_delete_messages_none /* 2131362125 */:
default:
i = 0;
break;

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 /* 2131364297 */:
case R.id.menu_call_overlay_launcher /* 2131364298 */:
DiscordOverlayService.Companion companion = DiscordOverlayService.Companion;
m.checkNotNullExpressionValue(context, "context");
companion.launchForConnect(context);
return;
case R.id.menu_call_switch_camera /* 2131364298 */:
case R.id.menu_call_switch_camera /* 2131364299 */:
WidgetCallFullscreen.access$getViewModel$p(this.this$0).switchCameraInputPressed();
return;
case R.id.menu_call_video_list /* 2131364299 */:
case R.id.menu_call_video_list /* 2131364300 */:
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 /* 2131364300 */:
case R.id.menu_call_voice_settings /* 2131364301 */:
WidgetVoiceSettingsBottomSheet.Companion companion3 = WidgetVoiceSettingsBottomSheet.Companion;
Long valueOf = Long.valueOf(this.$viewState.getCallModel().getChannel().h());
FragmentManager parentFragmentManager2 = this.this$0.getParentFragmentManager();

View file

@ -57,7 +57,7 @@ public final class WidgetCallFullscreen$configureMenu$2<T> implements Action1<Me
ViewKt.setVisible(textView, true);
}
if (imageView != null) {
imageView.setImageResource(R.drawable.ic_text_in_voice_cutout);
imageView.setImageResource(R.drawable.ic_text_in_voice_cutout_dark);
}
if (textView != null) {
textView.setBackground(ContextCompat.getDrawable(this.this$0.requireContext(), R.drawable.drawable_circle_red));
@ -73,7 +73,7 @@ public final class WidgetCallFullscreen$configureMenu$2<T> implements Action1<Me
ViewKt.setVisible(textView, true);
}
if (imageView != null) {
imageView.setImageResource(R.drawable.ic_text_in_voice_cutout);
imageView.setImageResource(R.drawable.ic_text_in_voice_cutout_dark);
}
if (textView != null) {
textView.setBackground(ContextCompat.getDrawable(this.this$0.requireContext(), R.drawable.drawable_circle_white));
@ -86,7 +86,7 @@ public final class WidgetCallFullscreen$configureMenu$2<T> implements Action1<Me
}
} else {
if (imageView != null) {
imageView.setImageResource(R.drawable.ic_text_in_voice);
imageView.setImageResource(R.drawable.ic_text_in_voice_dark);
}
if (textView != null) {
ViewKt.setVisible(textView, false);

View file

@ -506,7 +506,7 @@ public final class WidgetCallFullscreen extends AppFragment {
if (valid.isTextInVoiceEnabled() || valid.getDisplayMode() == WidgetCallFullscreenViewModel.DisplayMode.STAGE) {
TextView textView6 = getBinding().h;
m.checkNotNullExpressionValue(textView6, "binding.callFullscreenMentions");
i = textView6.getVisibility() == 0 ? R.drawable.ic_call_toolbar_stage_minimize_cutout : R.drawable.ic_call_toolbar_stage_minimize;
i = textView6.getVisibility() == 0 ? R.drawable.ic_call_toolbar_stage_minimize_cutout_dark : R.drawable.ic_call_toolbar_stage_minimize_dark;
toolbar.setNavigationIcon(ContextCompat.getDrawable(requireContext, i));
getBinding().f2230b.setNavigationOnClickListener(new WidgetCallFullscreen$configureActionBar$1(this, valid));
CallEventsButtonView callEventsButtonView = getBinding().w;

View file

@ -0,0 +1,17 @@
package com.discord.widgets.voice.fullscreen;
import rx.functions.Func0;
/* compiled from: WidgetCallPreviewFullscreen.kt */
public final class WidgetCallPreviewFullscreen$onViewBoundOrOnResume$4<R> implements Func0<Boolean> {
public final /* synthetic */ WidgetCallPreviewFullscreen this$0;
public WidgetCallPreviewFullscreen$onViewBoundOrOnResume$4(WidgetCallPreviewFullscreen widgetCallPreviewFullscreen) {
this.this$0 = widgetCallPreviewFullscreen;
}
@Override // rx.functions.Func0, java.util.concurrent.Callable
public final Boolean call() {
WidgetCallPreviewFullscreen.finishActivity$default(this.this$0, true, false, 2, null);
return Boolean.TRUE;
}
}

View file

@ -361,5 +361,6 @@ public final class WidgetCallPreviewFullscreen extends AppFragment {
super.onViewBoundOrOnResume();
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.bindToComponentLifecycle$default(getViewModel().observeViewState(), this, null, 2, null), WidgetCallPreviewFullscreen.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new WidgetCallPreviewFullscreen$onViewBoundOrOnResume$1(this), 62, (Object) null);
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.bindToComponentLifecycle$default(getViewModel().observeEvents(), this, null, 2, null), WidgetCallPreviewFullscreen.class, (Context) null, new WidgetCallPreviewFullscreen$onViewBoundOrOnResume$3(this), (Function1) null, (Function0) null, (Function0) null, new WidgetCallPreviewFullscreen$onViewBoundOrOnResume$2(this), 58, (Object) null);
AppFragment.setOnBackPressed$default(this, new WidgetCallPreviewFullscreen$onViewBoundOrOnResume$4(this), 0, 2, null);
}
}

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="32dp" android:width="32dp" android:autoMirrored="true" android:viewportWidth="32" android:viewportHeight="32">
<path android:fillColor="#202225" android:pathData="M31.7673,18.7339C31.9203,17.8455 32,16.9321 32,16C32,7.1634 24.8366,0 16,0C7.1634,0 0,7.1634 0,16C0,24.8366 7.1634,32 16,32C16.9321,32 17.8455,31.9203 18.7339,31.7673C18.2607,30.6046 18,29.3327 18,28C18,22.4772 22.4772,18 28,18C29.3327,18 30.6046,18.2607 31.7673,18.7339Z" android:strokeAlpha="0.5" android:fillAlpha="0.5"/>
<path android:fillColor="#ffffff" android:pathData="M15.3263,20.9L8.7695,14.4111C8.4102,14.0334 8.4102,13.4556 8.7695,13.1C9.1287,12.7445 9.7126,12.7445 10.0943,13.1L16,18.9445L21.9057,13.1C22.265,12.7445 22.8713,12.7445 23.2305,13.1C23.5898,13.4556 23.5898,14.0334 23.2305,14.4111L16.6512,20.9C16.2919,21.2556 15.7081,21.2556 15.3263,20.9Z" android:fillType="evenOdd"/>
</vector>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="32dp" android:width="32dp" android:autoMirrored="true" android:viewportWidth="32" android:viewportHeight="32">
<path android:fillColor="#202225" android:pathData="M16,0L16,0A16,16 0,0 1,32 16L32,16A16,16 0,0 1,16 32L16,32A16,16 0,0 1,0 16L0,16A16,16 0,0 1,16 0z" android:strokeAlpha="0.5" android:fillAlpha="0.5"/>
<path android:fillColor="#ffffff" android:pathData="M15.3263,20.9L8.7695,14.4111C8.4102,14.0334 8.4102,13.4556 8.7695,13.1C9.1287,12.7445 9.7126,12.7445 10.0943,13.1L16,18.9445L21.9057,13.1C22.265,12.7445 22.8713,12.7445 23.2305,13.1C23.5898,13.4556 23.5898,14.0334 23.2305,14.4111L16.6512,20.9C16.2919,21.2556 15.7081,21.2556 15.3263,20.9Z" android:fillType="evenOdd"/>
</vector>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="32dp" android:width="32dp" android:viewportWidth="32" android:viewportHeight="32">
<path android:fillColor="#202225" android:pathData="M16,0C7.1634,0 0,7.1634 0,16C0,24.8366 7.1634,32 16,32C16.6482,32 17.2873,31.9615 17.9153,31.8865C16.7108,30.2351 16,28.2005 16,26C16,20.4772 20.4772,16 26,16C28.2005,16 30.2351,16.7108 31.8865,17.9153C31.9615,17.2873 32,16.6482 32,16C32,7.1634 24.8366,0 16,0Z" android:strokeAlpha="0.6" android:fillAlpha="0.5" android:fillType="evenOdd"/>
<path android:fillColor="#ffffff" android:pathData="M16,0C7.1634,0 0,7.1634 0,16C0,24.8366 7.1634,32 16,32C16.6482,32 17.2873,31.9615 17.9153,31.8865C16.7108,30.2351 16,28.2005 16,26C16,20.4772 20.4772,16 26,16C28.2005,16 30.2351,16.7108 31.8865,17.9153C31.9615,17.2873 32,16.6482 32,16C32,7.1634 24.8366,0 16,0Z" android:strokeAlpha="0.6" android:fillAlpha="0.1" android:fillType="evenOdd"/>
<path android:fillColor="#ffffff" android:pathData="M8.498,10.8335C8.498,10.0047 9.17,9.3335 9.998,9.3335H21.998C22.8268,9.3335 23.498,10.0047 23.498,10.8335V16.3156C20.7458,17.0245 18.4523,18.8756 17.1531,21.3335H15.248L12.248,24.3335V21.3335H9.998C9.17,21.3335 8.498,20.6615 8.498,19.8335V10.8335Z" android:fillType="evenOdd"/>
</vector>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="32dp" android:width="32dp" android:viewportWidth="32" android:viewportHeight="32">
<path android:fillColor="#202225" android:pathData="M16,0C7.1634,0 0,7.1634 0,16C0,24.8366 7.1634,32 16,32C16.6482,32 17.2873,31.9615 17.9153,31.8865C16.7108,30.2351 16,28.2005 16,26C16,20.4772 20.4772,16 26,16C28.2005,16 30.2351,16.7108 31.8865,17.9153C31.9615,17.2873 32,16.6482 32,16C32,7.1634 24.8366,0 16,0Z" android:strokeAlpha="0.6" android:fillAlpha="0.5" android:fillType="evenOdd"/>
<path android:fillColor="#ffffff" android:pathData="M8.498,10.8335C8.498,10.0047 9.17,9.3335 9.998,9.3335H21.998C22.8268,9.3335 23.498,10.0047 23.498,10.8335V16.3156C20.7458,17.0245 18.4523,18.8756 17.1531,21.3335H15.248L12.248,24.3335V21.3335H9.998C9.17,21.3335 8.498,20.6615 8.498,19.8335V10.8335Z" android:fillType="evenOdd"/>
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 873 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 519 B

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 649 B

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="32dp" android:width="32dp" android:viewportWidth="32" android:viewportHeight="32">
<path android:fillColor="#202225" android:pathData="M16,16m-16,0a16,16 0,1 1,32 0a16,16 0,1 1,-32 0" android:fillAlpha="0.5"/>
<path android:fillColor="#ffffff" android:pathData="M16,16m-16,0a16,16 0,1 1,32 0a16,16 0,1 1,-32 0" android:fillAlpha="0.1"/>
<path android:fillColor="#ffffff" android:pathData="M9.998,9.3335C9.17,9.3335 8.498,10.0047 8.498,10.8335V19.8335C8.498,20.6615 9.17,21.3335 9.998,21.3335H12.248V24.3335L15.248,21.3335H21.998C22.8268,21.3335 23.498,20.6615 23.498,19.8335V10.8335C23.498,10.0047 22.8268,9.3335 21.998,9.3335H9.998Z"/>
</vector>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="32dp" android:width="32dp" android:viewportWidth="32" android:viewportHeight="32">
<path android:fillColor="#202225" android:pathData="M16,16m-16,0a16,16 0,1 1,32 0a16,16 0,1 1,-32 0" android:fillAlpha="0.5"/>
<path android:fillColor="#ffffff" android:pathData="M9.998,9.3335C9.17,9.3335 8.498,10.0047 8.498,10.8335V19.8335C8.498,20.6615 9.17,21.3335 9.998,21.3335H12.248V24.3335L15.248,21.3335H21.998C22.8268,21.3335 23.498,20.6615 23.498,19.8335V10.8335C23.498,10.0047 22.8268,9.3335 21.998,9.3335H9.998Z"/>
</vector>

View file

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="160dp" android:width="208dp" android:viewportWidth="208" android:viewportHeight="160">
<path android:fillColor="#4f545c" android:pathData="M86.37,4L107.61,4C121.65,4 133.04,15.39 133.04,29.43L133.04,29.44C133.04,43.48 144.43,54.87 158.47,54.87L160.19,54.87C185.1,54.87 205.3,75.07 205.3,99.98L205.3,99.98C205.3,124.9 185.1,145.1 160.19,145.1L29.48,145.1C14.52,145.1 2.4,132.97 2.4,118.01L2.4,118.01C2.4,103.06 14.52,90.93 29.48,90.93L31.97,90.93C46.99,90.93 59.17,78.76 59.17,63.73L59.17,31.2C59.17,16.18 71.35,4 86.37,4" android:fillAlpha="0.3"/>
<path android:fillColor="#72767d" android:pathData="M147.79,36.63C142.25,36.23 137.82,31.81 137.43,26.27L146.99,26.27C147.43,26.27 147.79,26.63 147.79,27.07L147.79,36.63zM147.79,110.28L147.79,119.84C147.79,120.29 147.43,120.64 146.99,120.64L137.43,120.64C137.82,115.11 142.25,110.68 147.79,110.28"/>
<path android:fillColor="#1f2225" android:pathData="M34.47,108.64L34.47,108.64C33.81,108.64 33.27,108.1 33.27,107.44 33.27,106.99 32.91,106.64 32.47,106.64 32.02,106.64 31.67,106.99 31.67,107.44 31.67,108.1 31.13,108.64 30.46,108.64 30.02,108.64 29.66,109 29.66,109.44 29.66,109.89 30.02,110.24 30.46,110.24 31.13,110.24 31.67,110.79 31.67,111.45 31.67,111.89 32.02,112.25 32.47,112.25 32.91,112.25 33.27,111.89 33.27,111.45 33.27,110.79 33.81,110.24 34.47,110.24L34.47,110.24C34.92,110.24 35.27,109.89 35.27,109.44 35.27,109 34.92,108.64 34.47,108.64M38,74.8C38.2,74.8 38.41,74.72 38.57,74.56L39.51,73.62C39.82,73.31 39.82,72.8 39.51,72.49 39.2,72.17 38.69,72.17 38.38,72.49L37.43,73.43C37.12,73.74 37.12,74.25 37.43,74.56 37.59,74.72 37.79,74.8 38,74.8M33.27,79.53C33.47,79.53 33.68,79.45 33.83,79.3L34.78,78.35C35.09,78.04 35.09,77.53 34.78,77.22 34.47,76.91 33.96,76.91 33.65,77.22L32.7,78.17C32.39,78.48 32.39,78.98 32.7,79.3 32.86,79.45 33.06,79.53 33.27,79.53M38.57,77.22C38.25,76.91 37.75,76.91 37.43,77.22 37.12,77.53 37.12,78.04 37.43,78.35L38.38,79.3C38.54,79.45 38.74,79.53 38.95,79.53 39.15,79.53 39.36,79.45 39.51,79.3 39.82,78.98 39.82,78.48 39.51,78.17L38.57,77.22zM33.65,74.56C33.8,74.72 34.01,74.8 34.21,74.8 34.42,74.8 34.62,74.72 34.78,74.56 35.09,74.25 35.09,73.74 34.78,73.43L33.83,72.49C33.52,72.17 33.01,72.17 32.7,72.49 32.39,72.8 32.39,73.3 32.7,73.62L33.65,74.56zM170.14,19.17C170.34,19.17 170.54,19.1 170.7,18.94L171.65,17.99C171.96,17.68 171.96,17.18 171.65,16.86 171.34,16.55 170.83,16.55 170.52,16.86L169.57,17.81C169.26,18.12 169.26,18.63 169.57,18.94 169.73,19.1 169.93,19.17 170.14,19.17M165.4,23.91C165.61,23.91 165.81,23.83 165.97,23.67L166.91,22.73C167.23,22.41 167.23,21.91 166.91,21.6 166.6,21.28 166.1,21.28 165.78,21.6L164.84,22.54C164.52,22.86 164.52,23.36 164.84,23.67 164.99,23.83 165.2,23.91 165.4,23.91M170.7,21.6C170.39,21.28 169.88,21.28 169.57,21.6 169.26,21.91 169.26,22.41 169.57,22.73L170.52,23.67C170.67,23.83 170.88,23.91 171.08,23.91 171.29,23.91 171.49,23.83 171.65,23.67 171.96,23.36 171.96,22.86 171.65,22.54L170.7,21.6zM165.78,18.94C165.94,19.1 166.14,19.17 166.35,19.17 166.55,19.17 166.76,19.1 166.91,18.94 167.23,18.63 167.23,18.12 166.91,17.81L165.97,16.86C165.66,16.55 165.15,16.55 164.84,16.86 164.52,17.18 164.52,17.68 164.84,17.99L165.78,18.94zM176.54,35.42C177.21,35.42 177.75,35.96 177.75,36.63 177.75,37.29 177.21,37.84 176.54,37.84 175.87,37.84 175.33,37.29 175.33,36.63 175.33,35.96 175.87,35.42 176.54,35.42M176.54,39.44C178.09,39.44 179.35,38.18 179.35,36.63 179.35,35.08 178.09,33.82 176.54,33.82 174.99,33.82 173.73,35.08 173.73,36.63 173.73,38.18 174.99,39.44 176.54,39.44"/>
<path android:fillColor="#36393e" android:pathData="M62.21,21.87l0,104.8l-10.29,3.47l0,-100.66z"/>
<path android:fillColor="#4f545c" android:pathData="M52.6,50.07C52.6,44.78 56.33,40.23 61.41,39.13L61.41,43.91C57.58,44.63 54.4,47.05 52.6,50.31L52.6,50.07zM52.6,112.63C52.6,107.34 56.33,102.79 61.41,101.69L61.41,106.47C57.58,107.19 54.4,109.61 52.6,112.88L52.6,112.63zM94.74,155.05C94.47,155.19 94.16,155.17 93.91,154.99L89.9,152.12C86.83,149.93 82.72,149.93 79.66,152.12L75.64,154.99C75.39,155.17 75.08,155.19 74.81,155.05 74.54,154.91 74.38,154.65 74.38,154.34L74.38,138.25 95.18,138.25 95.18,154.34C95.18,154.65 95.02,154.91 94.74,155.05"/>
<path android:fillColor="#4f545c" android:pathData="M155.79,126.24C155.79,127.57 154.71,128.64 153.39,128.64L61.4,128.64C57.7,128.64 54.44,130.59 52.6,133.51L52.6,133.44C52.6,127.27 57.62,122.24 63.8,122.24L146.99,122.24C148.31,122.24 149.39,121.17 149.39,119.84L149.39,27.07C149.39,25.75 148.31,24.67 146.99,24.67L63.8,24.67C58.98,24.67 54.78,27.35 52.6,31.29L52.6,29.47C52.6,23.29 57.62,18.27 63.8,18.27L153.39,18.27C154.71,18.27 155.79,19.35 155.79,20.67L155.79,126.24Z"/>
<path android:fillColor="#1f2225" android:pathData="M63.01,81.07C63.01,80.63 62.65,80.27 62.21,80.27C61.76,80.27 61.41,80.63 61.41,81.07L61.41,82.87C61.41,83.31 61.76,83.67 62.21,83.67C62.65,83.67 63.01,83.31 63.01,82.87L63.01,81.07Z"/>
<path android:fillColor="#72767d" android:pathData="M74.38,154.34C74.38,154.65 74.54,154.91 74.81,155.05C75.08,155.19 75.39,155.17 75.64,154.99L79.66,152.12C82.72,149.93 86.83,149.93 89.9,152.12L93.91,154.99C94.16,155.17 94.47,155.19 94.74,155.05C95.02,154.91 95.18,154.65 95.18,154.34L95.18,138.25L74.38,138.25L74.38,154.34Z"/>
<path android:fillColor="#1f2225" android:pathData="M147.79,136.65L62.2,136.65C61.76,136.65 61.4,137.01 61.4,137.45C61.4,137.89 61.76,138.25 62.2,138.25L71.18,138.25C72.06,138.25 72.78,138.97 72.78,139.85C72.78,140.74 72.06,141.45 71.18,141.45L67.18,141.45C66.73,141.45 66.38,141.81 66.38,142.25C66.38,142.7 66.73,143.05 67.18,143.05L72.78,143.05L72.78,144.66C72.78,146.43 71.34,147.86 69.58,147.86L61.66,147.86C57.03,147.86 52.99,144.38 52.62,139.76C52.22,134.61 56.31,131.84 61.4,131.84L150.98,131.84C151.43,131.84 151.79,132.2 151.79,132.65C151.79,134.86 150,136.65 147.79,136.65L147.79,136.65ZM95.18,154.34C95.18,154.65 95.02,154.91 94.74,155.05C94.47,155.19 94.16,155.17 93.91,154.99L89.9,152.12C86.83,149.93 82.72,149.93 79.66,152.12L75.64,154.99C75.39,155.17 75.08,155.19 74.81,155.05C74.54,154.91 74.38,154.65 74.38,154.34L74.38,141.45C74.38,140.57 75.09,139.85 75.98,139.85L93.58,139.85C94.46,139.85 95.18,140.57 95.18,141.45L95.18,154.34ZM52.6,119.03C52.6,115.16 54.6,111.69 57.66,109.67C59.27,108.61 61.4,109.74 61.4,111.66L61.4,113.44C61.4,113.88 61.76,114.24 62.2,114.24C62.65,114.24 63,113.88 63,113.44L63,87.07C63,86.63 62.65,86.27 62.2,86.27C61.76,86.27 61.4,86.63 61.4,87.07L61.4,98.19C61.4,99.21 60.78,100.16 59.81,100.48C56.7,101.5 54.14,103.67 52.6,106.47L52.6,56.47C52.6,52.6 54.6,49.12 57.66,47.11C59.27,46.05 61.4,47.18 61.4,49.1L61.4,76.47C61.4,76.91 61.76,77.27 62.2,77.27C62.65,77.27 63,76.91 63,76.47L63,33.48C63,33.03 62.65,32.68 62.2,32.68C61.76,32.68 61.4,33.03 61.4,33.48L61.4,35.63C61.4,36.65 60.78,37.6 59.81,37.91C56.7,38.94 54.14,41.11 52.6,43.91L52.6,37.47C52.6,31.28 57.61,26.27 63.8,26.27L133.75,26.27C134.88,26.27 135.85,27.05 136.09,28.15C137.11,32.9 140.76,36.68 145.45,37.86C146.75,38.19 147.79,39.63 147.79,40.97L147.79,105.94C147.79,107.28 146.75,108.72 145.45,109.05C140.76,110.24 137.11,114.01 136.09,118.76C135.85,119.86 134.88,120.64 133.75,120.64L63.8,120.64C60.53,120.64 57.54,121.88 55.28,123.9C54.24,124.83 52.6,124.12 52.6,122.73L52.6,119.03ZM52.6,112.63C52.6,108.54 54.82,104.9 58.18,102.94C59.61,102.11 61.4,103.15 61.4,104.8C61.4,105.76 60.77,106.57 59.86,106.86C56.73,107.88 54.15,110.06 52.6,112.88L52.6,112.63ZM52.6,50.07C52.6,45.98 54.82,42.34 58.18,40.38C59.61,39.55 61.4,40.59 61.4,42.24C61.4,43.2 60.77,44.01 59.86,44.3C56.73,45.32 54.15,47.5 52.6,50.31L52.6,50.07ZM138.15,117.43C139.28,114.48 141.63,112.13 144.58,111C146.13,110.4 147.79,111.6 147.79,113.26L147.79,119.84C147.79,120.29 147.43,120.64 146.99,120.64L140.41,120.64C138.74,120.64 137.55,118.98 138.15,117.43L138.15,117.43ZM144.58,35.91C141.63,34.78 139.28,32.43 138.15,29.48C137.55,27.93 138.74,26.27 140.41,26.27L146.99,26.27C147.43,26.27 147.79,26.63 147.79,27.07L147.79,33.65C147.79,35.31 146.13,36.51 144.58,35.91L144.58,35.91ZM52.6,29.47C52.6,23.28 57.61,18.27 63.8,18.27L153.39,18.27C154.72,18.27 155.79,19.34 155.79,20.67L155.79,126.24C155.79,127.57 154.72,128.64 153.39,128.64L61.4,128.64C58.89,128.64 56.57,129.54 54.77,131.04C54.13,131.57 53.22,130.91 53.52,130.14C54.76,126.94 57.59,122.59 63.8,122.24L146.99,122.24C148.32,122.24 149.39,121.17 149.39,119.84L149.39,27.07C149.39,25.74 148.32,24.67 146.99,24.67L63.8,24.67C59.62,24.67 55.9,26.68 53.56,29.79C53.25,30.21 52.6,29.99 52.6,29.47L52.6,29.47ZM153.39,132.57C153.39,132.18 153.68,131.85 154.07,131.79C155.96,131.46 157.39,129.82 157.39,127.84L157.39,20.67C157.39,18.46 155.6,16.67 153.39,16.67L63.8,16.67C56.73,16.67 51,22.4 51,29.47L51,139.05C51,144.8 55.66,149.46 61.4,149.46L72.78,149.46L72.78,154.25C72.78,154.96 73.05,155.67 73.59,156.14C74.46,156.9 75.68,156.93 76.57,156.29L80.59,153.42C83.1,151.63 86.46,151.63 88.96,153.42L92.98,156.29C93.4,156.59 93.89,156.74 94.38,156.74C94.92,156.74 95.48,156.55 95.94,156.17C96.5,155.7 96.78,154.97 96.78,154.23L96.78,149.46L152.59,149.46C154.8,149.46 156.59,147.67 156.59,145.46L156.59,135.36C156.59,134.92 156.23,134.56 155.79,134.56C155.35,134.56 154.99,134.92 154.99,135.36L154.99,145.46C154.99,146.78 153.91,147.86 152.59,147.86L99.98,147.86C98.21,147.86 96.78,146.43 96.78,144.66L96.78,140.65C96.78,139.32 97.85,138.25 99.18,138.25L147.79,138.25C149.04,138.25 150.2,137.84 151.13,137.14C151.4,136.93 151.79,137.11 151.79,137.45C151.79,139.66 150,141.45 147.79,141.45L100.19,141.45C99.75,141.45 99.39,141.81 99.39,142.25C99.39,142.7 99.75,143.05 100.19,143.05L147.79,143.05C150.88,143.05 153.39,140.55 153.39,137.45L153.39,132.57Z"/>
<path android:fillColor="#1f2225" android:pathData="M109.9,74.01C108.64,74.01 107.62,72.91 107.62,71.56C107.62,70.21 108.64,69.11 109.9,69.11C111.17,69.11 112.19,70.21 112.19,71.56C112.19,72.91 111.17,74.01 109.9,74.01M101.76,74.01C100.5,74.01 99.47,72.91 99.47,71.56C99.47,70.21 100.5,69.11 101.76,69.11C103.02,69.11 104.05,70.21 104.05,71.56C104.05,72.91 103.02,74.01 101.76,74.01M109.48,60.85L109.17,61.2C112.98,62.35 114.73,64.02 114.73,64.02C112.41,62.76 110.13,62.13 108,61.89C106.38,61.71 104.86,61.76 103.48,61.93C103.36,61.95 103.23,61.97 103.11,61.98C102.33,62.06 100.44,62.34 98.04,63.38C97.19,63.74 96.71,64.02 96.71,64.02C96.71,64.02 98.55,62.25 102.58,61.11L102.35,60.85C102.35,60.85 99.3,60.77 96.08,63.17C96.08,63.17 92.86,68.95 92.86,76.08C92.86,76.08 94.75,79.31 99.69,79.46C99.69,79.46 100.5,78.47 101.18,77.63C98.34,76.79 97.26,75.02 97.26,75.02C97.26,75.02 97.48,75.17 97.88,75.4C97.91,75.42 97.94,75.44 97.98,75.46C98.04,75.49 98.11,75.53 98.18,75.57C98.76,75.89 99.31,76.14 99.82,76.33C100.73,76.69 101.83,77.05 103.1,77.28C104.79,77.6 106.76,77.69 108.89,77.3C109.94,77.11 111.03,76.8 112.14,76.34C112.93,76.04 113.79,75.62 114.72,75.02C114.72,75.02 113.61,76.84 110.68,77.66C111.35,78.5 112.14,79.46 112.14,79.46C117.08,79.31 118.96,76.08 118.96,76.08C118.96,68.95 115.75,63.17 115.75,63.17C112.53,60.77 109.48,60.85 109.48,60.85"/>
<path android:fillColor="#4f545c" android:pathData="M109.9,69.11C108.64,69.11 107.62,70.21 107.62,71.56 107.62,72.91 108.64,74.01 109.9,74.01 111.17,74.01 112.19,72.91 112.19,71.56 112.19,70.21 111.17,69.11 109.9,69.11M101.76,69.11C100.5,69.11 99.47,70.21 99.47,71.56 99.47,72.91 100.5,74.01 101.76,74.01 103.02,74.01 104.05,72.91 104.05,71.56 104.05,70.21 103.02,69.11 101.76,69.11"/>
<path android:fillColor="#4f545c" android:pathData="M112.14,79.46C112.14,79.46 111.35,78.5 110.68,77.66C113.61,76.84 114.72,75.02 114.72,75.02C113.79,75.62 112.93,76.04 112.14,76.34C111.03,76.8 109.94,77.11 108.89,77.3C106.76,77.69 104.79,77.6 103.1,77.28C101.83,77.05 100.73,76.69 99.83,76.33C99.31,76.14 98.76,75.89 98.18,75.57C98.11,75.53 98.04,75.49 97.98,75.46C97.94,75.44 97.91,75.42 97.88,75.4C97.48,75.17 97.26,75.02 97.26,75.02C97.26,75.02 98.34,76.79 101.18,77.63C100.5,78.47 99.69,79.46 99.69,79.46C94.75,79.31 92.86,76.08 92.86,76.08C92.86,68.95 96.08,63.17 96.08,63.17C99.3,60.77 102.35,60.85 102.35,60.85L102.58,61.11C98.55,62.25 96.71,64.02 96.71,64.02C96.71,64.02 97.19,63.74 98.04,63.38C100.44,62.34 102.33,62.06 103.11,61.98C103.23,61.97 103.36,61.95 103.48,61.93C104.86,61.76 106.38,61.71 108,61.89C110.13,62.13 112.41,62.76 114.73,64.02C114.73,64.02 112.98,62.35 109.17,61.2L109.48,60.85C109.48,60.85 112.53,60.77 115.75,63.17C115.75,63.17 118.96,68.95 118.96,76.08C118.96,76.08 117.08,79.31 112.14,79.46M120.77,50.52L90.82,50.52C88.29,50.52 86.25,52.57 86.25,55.1L86.25,85.04C86.25,85.52 86.32,85.97 86.45,86.4C86.54,86.69 86.66,86.96 86.8,87.22C86.94,87.48 87.11,87.73 87.29,87.95C88.13,88.97 89.4,89.62 90.82,89.62L116.16,89.62L114.98,85.52L117.83,88.16L120.52,90.64L125.34,94.82L125.34,85.04L125.34,82.82L125.34,55.1C125.34,52.57 123.29,50.52 120.77,50.52"/>
<path android:fillColor="#1f2225" android:pathData="M125.34,82.82L125.34,85.04L125.34,94.82L120.52,90.64L117.83,88.16L114.98,85.52L116.16,89.62L90.82,89.62C89.4,89.62 88.13,88.97 87.29,87.95C87.11,87.73 86.94,87.48 86.8,87.22C86.66,86.96 86.54,86.69 86.45,86.4C86.32,85.97 86.25,85.52 86.25,85.04L86.25,55.1C86.25,52.57 88.29,50.52 90.82,50.52L120.77,50.52C123.29,50.52 125.34,52.57 125.34,55.1L125.34,82.82ZM120.77,48.92L90.82,48.92C87.42,48.92 84.65,51.69 84.65,55.1L84.65,85.04C84.65,88.45 87.42,91.22 90.82,91.22L116.16,91.22C116.66,91.22 117.14,90.98 117.44,90.58C117.53,90.45 117.61,90.32 117.66,90.18L119.44,91.82C119.45,91.83 119.46,91.84 119.47,91.85L124.29,96.03C124.59,96.29 124.96,96.42 125.34,96.42C125.57,96.42 125.79,96.38 126.01,96.28C126.58,96.02 126.94,95.45 126.94,94.82L126.94,85.04L126.94,82.82L126.94,55.1C126.94,51.69 124.17,48.92 120.77,48.92L120.77,48.92Z"/>
</vector>

View file

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="160dp" android:width="208dp" android:viewportWidth="208" android:viewportHeight="160">
<path android:fillColor="#f7f7f8" android:pathData="M86.37,4L107.61,4C121.65,4 133.04,15.39 133.04,29.43L133.04,29.44C133.04,43.48 144.43,54.87 158.47,54.87L160.19,54.87C185.1,54.87 205.3,75.07 205.3,99.98L205.3,99.98C205.3,124.9 185.1,145.1 160.19,145.1L29.48,145.1C14.52,145.1 2.4,132.97 2.4,118.01L2.4,118.01C2.4,103.06 14.52,90.93 29.48,90.93L31.97,90.93C46.99,90.93 59.17,78.76 59.17,63.73L59.17,31.2C59.17,16.18 71.35,4 86.37,4" android:fillAlpha="0.9"/>
<path android:fillColor="#b9bbbe" android:pathData="M34.47,108.64L34.47,108.64C33.81,108.64 33.27,108.1 33.27,107.44 33.27,106.99 32.91,106.64 32.47,106.64 32.02,106.64 31.67,106.99 31.67,107.44 31.67,108.1 31.13,108.64 30.46,108.64 30.02,108.64 29.66,109 29.66,109.44 29.66,109.89 30.02,110.24 30.46,110.24 31.13,110.24 31.67,110.79 31.67,111.45 31.67,111.89 32.02,112.25 32.47,112.25 32.91,112.25 33.27,111.89 33.27,111.45 33.27,110.79 33.81,110.24 34.47,110.24 34.92,110.24 35.27,109.89 35.27,109.44 35.27,109 34.92,108.64 34.47,108.64M38,74.8C38.2,74.8 38.41,74.72 38.57,74.56L39.51,73.62C39.82,73.31 39.82,72.8 39.51,72.49 39.2,72.17 38.69,72.17 38.38,72.49L37.43,73.43C37.12,73.74 37.12,74.25 37.43,74.56 37.59,74.72 37.79,74.8 38,74.8M33.27,79.53C33.47,79.53 33.68,79.45 33.83,79.3L34.78,78.35C35.09,78.04 35.09,77.53 34.78,77.22 34.47,76.91 33.96,76.91 33.65,77.22L32.7,78.17C32.39,78.48 32.39,78.98 32.7,79.3 32.86,79.45 33.06,79.53 33.27,79.53M38.57,77.22C38.25,76.91 37.75,76.91 37.43,77.22 37.12,77.53 37.12,78.04 37.43,78.35L38.38,79.3C38.54,79.45 38.74,79.53 38.95,79.53 39.15,79.53 39.36,79.45 39.51,79.3 39.82,78.98 39.82,78.48 39.51,78.17L38.57,77.22zM33.65,74.56C33.8,74.72 34.01,74.8 34.21,74.8 34.42,74.8 34.62,74.72 34.78,74.56 35.09,74.25 35.09,73.74 34.78,73.43L33.83,72.49C33.52,72.17 33.01,72.17 32.7,72.49 32.39,72.8 32.39,73.3 32.7,73.62L33.65,74.56zM178.14,19.17C178.34,19.17 178.54,19.1 178.7,18.94L179.65,17.99C179.96,17.68 179.96,17.18 179.65,16.86 179.34,16.55 178.83,16.55 178.52,16.86L177.57,17.81C177.26,18.12 177.26,18.63 177.57,18.94 177.72,19.1 177.93,19.17 178.14,19.17M173.4,23.91C173.61,23.91 173.81,23.83 173.97,23.67L174.91,22.73C175.23,22.41 175.23,21.91 174.91,21.6 174.6,21.28 174.09,21.28 173.78,21.6L172.84,22.54C172.52,22.86 172.52,23.36 172.84,23.67 172.99,23.83 173.2,23.91 173.4,23.91M178.7,21.6C178.39,21.28 177.88,21.28 177.57,21.6 177.26,21.91 177.26,22.41 177.57,22.73L178.52,23.67C178.67,23.83 178.88,23.91 179.08,23.91 179.29,23.91 179.49,23.83 179.65,23.67 179.96,23.36 179.96,22.86 179.65,22.54L178.7,21.6zM173.78,18.94C173.94,19.1 174.14,19.17 174.35,19.17 174.55,19.17 174.76,19.1 174.91,18.94 175.23,18.63 175.23,18.12 174.91,17.81L173.97,16.86C173.66,16.55 173.15,16.55 172.84,16.86 172.52,17.18 172.52,17.68 172.84,17.99L173.78,18.94zM184.54,35.42C185.21,35.42 185.75,35.96 185.75,36.63 185.75,37.29 185.21,37.84 184.54,37.84 183.87,37.84 183.33,37.29 183.33,36.63 183.33,35.96 183.87,35.42 184.54,35.42M184.54,39.44C186.09,39.44 187.35,38.18 187.35,36.63 187.35,35.08 186.09,33.82 184.54,33.82 182.99,33.82 181.73,35.08 181.73,36.63 181.73,38.18 182.99,39.44 184.54,39.44"/>
<path android:fillColor="#ffffff" android:pathData="M62.21,21.87l0,104.8l-10.29,3.47l0,-100.66z"/>
<path android:fillColor="#dcddde" android:pathData="M52.6,50.07C52.6,44.78 56.33,40.23 61.41,39.13L61.41,43.91C57.58,44.63 54.4,47.05 52.6,50.31L52.6,50.07zM52.6,112.63C52.6,107.34 56.33,102.79 61.41,101.69L61.41,106.47C57.58,107.19 54.4,109.61 52.6,112.88L52.6,112.63z"/>
<path android:fillColor="#f7f7f8" android:pathData="M147.79,36.63C142.25,36.23 137.82,31.81 137.43,26.27L146.99,26.27C147.43,26.27 147.79,26.63 147.79,27.07L147.79,36.63zM147.79,110.28L147.79,119.84C147.79,120.29 147.43,120.64 146.99,120.64L137.43,120.64C137.82,115.11 142.25,110.68 147.79,110.28"/>
<path android:fillColor="#dcddde" android:pathData="M94.74,155.05C94.47,155.19 94.16,155.17 93.91,154.99L89.9,152.12C86.83,149.93 82.72,149.93 79.66,152.12L75.64,154.99C75.39,155.17 75.08,155.19 74.81,155.05 74.54,154.91 74.38,154.65 74.38,154.34L74.38,138.25 95.18,138.25 95.18,154.34C95.18,154.65 95.02,154.91 94.74,155.05M155.79,126.24C155.79,127.57 154.71,128.64 153.39,128.64L61.4,128.64C57.7,128.64 54.44,130.59 52.6,133.51L52.6,133.44C52.6,127.27 57.62,122.24 63.8,122.24L146.99,122.24C148.31,122.24 149.39,121.17 149.39,119.84L149.39,27.07C149.39,25.75 148.31,24.67 146.99,24.67L63.8,24.67C58.98,24.67 54.78,27.35 52.6,31.29L52.6,29.47C52.6,23.29 57.62,18.27 63.8,18.27L153.39,18.27C154.71,18.27 155.79,19.35 155.79,20.67L155.79,126.24z"/>
<path android:fillColor="#b9bbbe" android:pathData="M63,81.07C63,80.63 62.65,80.27 62.2,80.27C61.76,80.27 61.4,80.63 61.4,81.07L61.4,82.87C61.4,83.31 61.76,83.67 62.2,83.67C62.65,83.67 63,83.31 63,82.87L63,81.07Z"/>
<path android:fillColor="#f7f7f8" android:pathData="M74.38,154.34C74.38,154.65 74.54,154.91 74.81,155.05C75.08,155.19 75.39,155.17 75.64,154.99L79.66,152.12C82.72,149.93 86.83,149.93 89.9,152.12L93.91,154.99C94.16,155.17 94.47,155.19 94.74,155.05C95.02,154.91 95.18,154.65 95.18,154.34L95.18,138.25L74.38,138.25L74.38,154.34Z"/>
<path android:fillColor="#b9bbbe" android:pathData="M147.79,136.65L62.2,136.65C61.76,136.65 61.4,137.01 61.4,137.45C61.4,137.89 61.76,138.25 62.2,138.25L71.18,138.25C72.06,138.25 72.78,138.97 72.78,139.85C72.78,140.74 72.06,141.45 71.18,141.45L67.18,141.45C66.73,141.45 66.38,141.81 66.38,142.25C66.38,142.7 66.73,143.05 67.18,143.05L72.78,143.05L72.78,144.66C72.78,146.43 71.35,147.86 69.58,147.86L61.66,147.86C57.03,147.86 52.99,144.38 52.63,139.76C52.22,134.61 56.31,131.84 61.4,131.84L150.98,131.84C151.43,131.84 151.79,132.2 151.79,132.65C151.79,134.86 150,136.65 147.79,136.65L147.79,136.65ZM95.18,154.34C95.18,154.65 95.02,154.91 94.74,155.05C94.47,155.19 94.16,155.17 93.91,154.99L89.9,152.12C86.83,149.93 82.72,149.93 79.66,152.12L75.64,154.99C75.39,155.17 75.08,155.19 74.81,155.05C74.54,154.91 74.38,154.65 74.38,154.34L74.38,141.45C74.38,140.57 75.09,139.85 75.98,139.85L93.58,139.85C94.46,139.85 95.18,140.57 95.18,141.45L95.18,154.34ZM52.6,119.03C52.6,115.16 54.6,111.69 57.66,109.67C59.27,108.61 61.4,109.74 61.4,111.66L61.4,113.44C61.4,113.88 61.76,114.24 62.2,114.24C62.65,114.24 63,113.88 63,113.44L63,87.07C63,86.63 62.65,86.27 62.2,86.27C61.76,86.27 61.4,86.63 61.4,87.07L61.4,98.19C61.4,99.21 60.78,100.16 59.81,100.48C56.7,101.5 54.14,103.67 52.6,106.47L52.6,56.47C52.6,52.6 54.6,49.12 57.66,47.11C59.27,46.05 61.4,47.18 61.4,49.1L61.4,76.47C61.4,76.91 61.76,77.27 62.2,77.27C62.65,77.27 63,76.91 63,76.47L63,33.48C63,33.03 62.65,32.68 62.2,32.68C61.76,32.68 61.4,33.03 61.4,33.48L61.4,35.63C61.4,36.65 60.78,37.6 59.81,37.91C56.7,38.94 54.14,41.11 52.6,43.91L52.6,37.47C52.6,31.28 57.61,26.27 63.8,26.27L133.75,26.27C134.88,26.27 135.85,27.05 136.09,28.15C137.11,32.9 140.76,36.68 145.45,37.86C146.75,38.19 147.79,39.63 147.79,40.97L147.79,105.94C147.79,107.28 146.75,108.72 145.45,109.05C140.76,110.24 137.11,114.01 136.09,118.76C135.85,119.86 134.88,120.64 133.75,120.64L63.8,120.64C60.53,120.64 57.54,121.88 55.28,123.9C54.24,124.83 52.6,124.12 52.6,122.73L52.6,119.03ZM52.6,112.63C52.6,108.54 54.82,104.9 58.18,102.94C59.61,102.11 61.4,103.15 61.4,104.8C61.4,105.76 60.77,106.57 59.86,106.86C56.73,107.88 54.15,110.06 52.6,112.88L52.6,112.63ZM52.6,50.07C52.6,45.98 54.82,42.34 58.18,40.38C59.61,39.55 61.4,40.59 61.4,42.24C61.4,43.2 60.77,44.01 59.86,44.3C56.73,45.32 54.15,47.5 52.6,50.31L52.6,50.07ZM138.15,117.43C139.28,114.48 141.63,112.13 144.58,111C146.13,110.4 147.79,111.6 147.79,113.26L147.79,119.84C147.79,120.29 147.43,120.64 146.99,120.64L140.41,120.64C138.74,120.64 137.55,118.98 138.15,117.43L138.15,117.43ZM144.58,35.91C141.63,34.78 139.28,32.43 138.15,29.48C137.55,27.93 138.74,26.27 140.41,26.27L146.99,26.27C147.43,26.27 147.79,26.63 147.79,27.07L147.79,33.65C147.79,35.31 146.13,36.51 144.58,35.91L144.58,35.91ZM52.6,29.47C52.6,23.28 57.61,18.27 63.8,18.27L153.39,18.27C154.72,18.27 155.79,19.34 155.79,20.67L155.79,126.24C155.79,127.57 154.72,128.64 153.39,128.64L61.4,128.64C58.89,128.64 56.57,129.54 54.77,131.04C54.13,131.57 53.22,130.91 53.52,130.14C54.76,126.94 57.59,122.59 63.8,122.24L146.99,122.24C148.32,122.24 149.39,121.17 149.39,119.84L149.39,27.07C149.39,25.74 148.32,24.67 146.99,24.67L63.8,24.67C59.62,24.67 55.9,26.68 53.57,29.79C53.25,30.21 52.6,29.99 52.6,29.47L52.6,29.47ZM153.39,132.57C153.39,132.18 153.68,131.85 154.07,131.79C155.96,131.46 157.39,129.82 157.39,127.84L157.39,20.67C157.39,18.46 155.6,16.67 153.39,16.67L63.8,16.67C56.73,16.67 51,22.4 51,29.47L51,139.05C51,144.8 55.66,149.46 61.4,149.46L72.78,149.46L72.78,154.25C72.78,154.96 73.05,155.67 73.59,156.14C74.46,156.9 75.68,156.93 76.57,156.29L80.59,153.42C83.09,151.63 86.46,151.63 88.97,153.42L92.98,156.29C93.4,156.59 93.89,156.74 94.38,156.74C94.93,156.74 95.48,156.55 95.94,156.17C96.5,155.7 96.78,154.97 96.78,154.23L96.78,149.46L152.59,149.46C154.8,149.46 156.59,147.67 156.59,145.46L156.59,135.36C156.59,134.92 156.23,134.56 155.79,134.56C155.35,134.56 154.99,134.92 154.99,135.36L154.99,145.46C154.99,146.78 153.91,147.86 152.59,147.86L99.98,147.86C98.21,147.86 96.78,146.43 96.78,144.66L96.78,140.65C96.78,139.32 97.85,138.25 99.18,138.25L147.79,138.25C149.04,138.25 150.2,137.84 151.13,137.14C151.4,136.93 151.79,137.11 151.79,137.45C151.79,139.66 150,141.45 147.79,141.45L100.19,141.45C99.75,141.45 99.39,141.81 99.39,142.25C99.39,142.7 99.75,143.05 100.19,143.05L147.79,143.05C150.88,143.05 153.39,140.55 153.39,137.45L153.39,132.57Z"/>
<path android:fillColor="#b9bbbe" android:pathData="M109.9,74.01C108.64,74.01 107.62,72.91 107.62,71.56C107.62,70.21 108.64,69.11 109.9,69.11C111.17,69.11 112.19,70.21 112.19,71.56C112.19,72.91 111.17,74.01 109.9,74.01M101.76,74.01C100.5,74.01 99.47,72.91 99.47,71.56C99.47,70.21 100.5,69.11 101.76,69.11C103.02,69.11 104.05,70.21 104.05,71.56C104.05,72.91 103.02,74.01 101.76,74.01M109.48,60.85L109.17,61.2C112.98,62.35 114.73,64.02 114.73,64.02C112.41,62.76 110.12,62.13 108,61.89C106.38,61.71 104.86,61.76 103.48,61.93C103.36,61.95 103.23,61.97 103.11,61.98C102.33,62.06 100.44,62.34 98.04,63.38C97.19,63.74 96.71,64.02 96.71,64.02C96.71,64.02 98.55,62.25 102.58,61.11L102.35,60.85C102.35,60.85 99.3,60.77 96.08,63.17C96.08,63.17 92.86,68.95 92.86,76.08C92.86,76.08 94.75,79.31 99.69,79.46C99.69,79.46 100.5,78.47 101.18,77.63C98.34,76.79 97.26,75.02 97.26,75.02C97.26,75.02 97.48,75.17 97.88,75.4C97.91,75.42 97.94,75.44 97.98,75.46C98.04,75.49 98.11,75.53 98.18,75.57C98.76,75.89 99.31,76.14 99.82,76.33C100.73,76.69 101.83,77.05 103.1,77.28C104.79,77.6 106.76,77.69 108.89,77.3C109.94,77.11 111.03,76.8 112.14,76.34C112.92,76.04 113.8,75.62 114.72,75.02C114.72,75.02 113.61,76.84 110.68,77.66C111.35,78.5 112.14,79.46 112.14,79.46C117.08,79.31 118.96,76.08 118.96,76.08C118.96,68.95 115.75,63.17 115.75,63.17C112.53,60.77 109.48,60.85 109.48,60.85"/>
<path android:fillColor="#dcddde" android:pathData="M109.9,69.11C108.64,69.11 107.62,70.21 107.62,71.56 107.62,72.91 108.64,74.01 109.9,74.01 111.17,74.01 112.19,72.91 112.19,71.56 112.19,70.21 111.17,69.11 109.9,69.11M101.76,69.11C100.5,69.11 99.47,70.21 99.47,71.56 99.47,72.91 100.5,74.01 101.76,74.01 103.02,74.01 104.05,72.91 104.05,71.56 104.05,70.21 103.02,69.11 101.76,69.11"/>
<path android:fillColor="#dcddde" android:pathData="M112.14,79.46C112.14,79.46 111.35,78.5 110.68,77.66C113.61,76.84 114.72,75.02 114.72,75.02C113.8,75.62 112.93,76.04 112.14,76.34C111.03,76.8 109.94,77.11 108.89,77.3C106.76,77.69 104.79,77.6 103.1,77.28C101.83,77.05 100.73,76.69 99.83,76.33C99.31,76.14 98.76,75.89 98.18,75.57C98.11,75.53 98.04,75.49 97.98,75.46C97.94,75.44 97.91,75.42 97.88,75.4C97.48,75.17 97.26,75.02 97.26,75.02C97.26,75.02 98.34,76.79 101.18,77.63C100.5,78.47 99.69,79.46 99.69,79.46C94.75,79.31 92.86,76.08 92.86,76.08C92.86,68.95 96.08,63.17 96.08,63.17C99.3,60.77 102.35,60.85 102.35,60.85L102.58,61.11C98.55,62.25 96.71,64.02 96.71,64.02C96.71,64.02 97.19,63.74 98.04,63.38C100.44,62.34 102.33,62.06 103.11,61.98C103.23,61.97 103.36,61.95 103.48,61.93C104.86,61.76 106.38,61.71 108,61.89C110.13,62.13 112.41,62.76 114.73,64.02C114.73,64.02 112.98,62.35 109.17,61.2L109.48,60.85C109.48,60.85 112.53,60.77 115.75,63.17C115.75,63.17 118.96,68.95 118.96,76.08C118.96,76.08 117.08,79.31 112.14,79.46M120.77,50.52L90.82,50.52C88.29,50.52 86.25,52.57 86.25,55.1L86.25,85.04C86.25,85.52 86.32,85.97 86.45,86.4C86.54,86.69 86.66,86.96 86.8,87.22C86.94,87.48 87.11,87.73 87.29,87.95C88.13,88.97 89.4,89.62 90.82,89.62L116.16,89.62L114.98,85.52L117.83,88.16L120.52,90.64L125.34,94.82L125.34,85.04L125.34,82.82L125.34,55.1C125.34,52.57 123.29,50.52 120.77,50.52"/>
<path android:fillColor="#b9bbbe" android:pathData="M125.34,82.82L125.34,85.04L125.34,94.82L120.52,90.64L117.83,88.16L114.98,85.52L116.16,89.62L90.82,89.62C89.4,89.62 88.13,88.97 87.29,87.95C87.11,87.73 86.94,87.48 86.8,87.22C86.66,86.96 86.54,86.69 86.45,86.4C86.32,85.97 86.25,85.52 86.25,85.04L86.25,55.1C86.25,52.57 88.29,50.52 90.82,50.52L120.77,50.52C123.29,50.52 125.34,52.57 125.34,55.1L125.34,82.82ZM120.77,48.92L90.82,48.92C87.42,48.92 84.65,51.69 84.65,55.1L84.65,85.04C84.65,88.45 87.42,91.22 90.82,91.22L116.16,91.22C116.66,91.22 117.14,90.98 117.44,90.58C117.53,90.45 117.61,90.32 117.66,90.18L119.44,91.82C119.45,91.83 119.46,91.84 119.48,91.85L124.29,96.03C124.59,96.29 124.96,96.42 125.34,96.42C125.57,96.42 125.79,96.38 126,96.28C126.58,96.02 126.94,95.45 126.94,94.82L126.94,85.04L126.94,82.82L126.94,55.1C126.94,51.69 124.17,48.92 120.77,48.92L120.77,48.92Z"/>
</vector>

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="160dp" android:width="208dp" android:viewportWidth="416" android:viewportHeight="320">
<path android:fillColor="#dce0e4" android:pathData="M387.3,115.5l-6.6,97.8c-3.4,50 -46.6,90.6 -96.5,90.6H186.6c-40.4,0 -72.9,-26.6 -82,-63.2 -36.9,2 -74.8,-7.5 -104.6,-27.8 35.4,0.6 83.2,-16.4 104.9,-39.1l4,-58.3c3.3,-50 46.6,-90.6 96.5,-90.6H303C353,24.9 390.7,65.5 387.3,115.5Z"/>
<path android:fillColor="#8bd8ff" android:pathData="M204.1,245.2c-30.4,-23.7 -44.8,-62.1 -38.7,-102.8l5.4,-35.3 4.2,-0.8c21.7,-4.4 33.9,-14.2 39.6,-31.7l1.4,-4.2h84.6v4.2c0.4,17.5 9.6,27.3 30,31.7l3.9,0.8 -5.4,35.3c-6.2,40.7 -32.3,79.1 -69.9,102.8l-30.3,18Z"/>
<path android:fillColor="#45a9f6" android:pathData="M318,116.8c-10.8,-2.4 -29,-9.7 -29.4,-32.3L288.6,83.3L224.1,83.3l-0.4,1.1c-7.3,22.6 -27.8,30 -39.4,32.4l-1.1,0.3 -4.1,26.6c-5.3,34.9 6.9,67.9 32.5,88.2l20,14.8L256,231.9c31.7,-20.2 53.8,-53.2 59.1,-88l4.1,-26.8ZM275.6,92L234.3,92a6.2,6.2 0,0 1,-4.6 -1.8,6 6,0 0,1 -1.7,-4h55.8A9,9 0,0 1,275.6 92ZM275.4,94.9a12.4,12.4 0,0 0,10.5 -6.4c1.6,15.7 12.2,26.6 30,30.9l-3.7,24.3c-5.1,34 -26.7,66.1 -57.5,85.8L232,243.2l-18.5,-13.6c-24.9,-19.8 -36.6,-51.8 -31.5,-85.7l3.7,-24.5c19.3,-4.3 33.2,-15.3 39.6,-31.1a8.6,8.6 0,0 0,8.7 6.6Z"/>
<path android:fillColor="#45a9f6" android:pathData="M332.6,100.9c-18.3,-4 -26,-11.9 -26.3,-27.3l-0.2,-8.8h-94l-2.8,8.8c-5,15.4 -15.1,23.3 -34.7,27.3l-8.7,1.7 -6,39.8c-6.5,42.6 8.6,82.7 40.4,107.3L222.8,266l5.2,3.8 33.5,-19.9 0.3,-0.2c39.3,-24.6 66.5,-64.8 73,-107.3l6,-39.8ZM328.3,111.7 L323.7,142.4c-5.9,38.9 -30.9,75.6 -66.8,98.2L230,256.5l-22,-15.9c-29.1,-22.6 -42.9,-59.3 -37,-98.2l4.7,-30.7c23.6,-4.9 37.6,-16.3 44.1,-35.8L295,75.9C295.6,95.4 306.2,106.8 328.3,111.7Z"/>
<path android:fillColor="#ff000000" android:pathData="M265,142.1a39.2,39.2 0,0 0,-10 -3.3l-1.7,2.8a37.6,37.6 0,0 0,-11.6 0,13.3 13.3,0 0,0 -1,-2.8 52.6,52.6 0,0 0,-10.9 3.3c-8.2,9.8 -11.4,19.4 -11.9,28.8h0a33.5,33.5 0,0 0,11.8 6.4,37.5 37.5,0 0,0 3.5,-4.4 26.3,26.3 0,0 1,-4.1 -2.1l1.2,-0.8c7.8,3.8 16.9,3.8 25.7,0a3.9,3.9 0,0 0,1 0.8,39.6 39.6,0 0,1 -4.7,2.1 29.8,29.8 0,0 0,2.1 4.4,48.2 48.2,0 0,0 13.8,-6.4h0C270.9,160 269.5,150.5 265,142.1ZM235.5,165.1c-2.5,0 -4.2,-2.3 -3.8,-5.1s2.8,-5.1 5.3,-5.1 4.3,2.3 3.8,5.1S238,165.1 235.5,165.1ZM252.4,165.1c-2.6,0 -4.3,-2.3 -3.8,-5.1s2.7,-5.1 5.3,-5.1 4.3,2.3 3.8,5.1S254.9,165.1 252.4,165.1Z"/>
<path android:fillColor="#fff" android:pathData="M291.5,130.2a9.2,9.2 0,0 1,-3.8 -7.6v-5.3a0.5,0.5 0,0 0,-0.4 -0.5h0a0.6,0.6 0,0 0,-0.6 0.5l-1.6,5.3a13.9,13.9 0,0 1,-6.1 7.6l-0.8,0.4a0.9,0.9 0,0 0,-0.3 0.5h0c0,0.2 0,0.4 0.2,0.5l0.6,0.4a9.2,9.2 0,0 1,3.8 7.6v5.3c0,0.3 0.1,0.5 0.4,0.5h0a0.6,0.6 0,0 0,0.6 -0.5l1.6,-5.3a13.9,13.9 0,0 1,6.1 -7.6l0.7,-0.4a1,1 0,0 0,0.4 -0.5h0a0.8,0.8 0,0 0,-0.2 -0.5Z"/>
<path android:fillColor="#fff" android:pathData="M297.6,152.5a5.1,5.1 0,0 1,-2.1 -4.2v-3c0,-0.1 -0.1,-0.3 -0.2,-0.3h0c-0.2,0 -0.3,0.2 -0.4,0.3l-0.9,3a7,7 0,0 1,-3.4 4.2l-0.4,0.3 -0.2,0.2h0c0,0.1 0,0.2 0.1,0.2l0.4,0.3a5.1,5.1 0,0 1,2.1 4.2v3c0,0.1 0.1,0.3 0.2,0.3h0c0.2,0 0.3,-0.2 0.4,-0.3l0.9,-3a7,7 0,0 1,3.4 -4.2l0.4,-0.3a0.2,0.2 0,0 0,0.2 -0.2h0v-0.2Z"/>
<path android:fillColor="#ff6cba" android:pathData="M380.4,47.7a24.3,24.3 0,0 1,-10.9 -17l-1.8,-11.8a1.2,1.2 0,0 0,-1.2 -1h0a1.2,1.2 0,0 0,-1.2 1l-1.8,11.8a24.3,24.3 0,0 1,-10.9 17l-1.5,1a1.1,1.1 0,0 0,-0.6 1h0a1.1,1.1 0,0 0,0.6 1l1.5,1a24.3,24.3 0,0 1,10.9 16.9l1.8,11.9a1.2,1.2 0,0 0,1.2 1h0a1.2,1.2 0,0 0,1.2 -1l1.8,-11.9a24.3,24.3 0,0 1,10.9 -16.9l1.5,-1a1.1,1.1 0,0 0,0.6 -1h0a1.1,1.1 0,0 0,-0.6 -1Z"/>
<path android:fillColor="#62ffa4" android:pathData="M411.3,20.1a16.3,16.3 0,0 1,-7.4 -11.4l-1.2,-8a0.8,0.8 0,0 0,-0.8 -0.7h0a0.8,0.8 0,0 0,-0.8 0.7l-1.2,8a16.3,16.3 0,0 1,-7.4 11.4l-1,0.7a0.7,0.7 0,0 0,-0.4 0.7h0a0.8,0.8 0,0 0,0.4 0.7l1,0.7a16.3,16.3 0,0 1,7.4 11.4l1.2,8a0.8,0.8 0,0 0,0.8 0.7h0a0.8,0.8 0,0 0,0.8 -0.7l1.2,-8a16.3,16.3 0,0 1,7.4 -11.4l1,-0.7a1,1 0,0 0,0.4 -0.7h0a0.8,0.8 0,0 0,-0.4 -0.7Z"/>
<path android:fillColor="#fff29a" android:pathData="M414.8,220.7a14.5,14.5 0,0 1,-6.5 -10l-1,-7a0.7,0.7 0,0 0,-0.7 -0.6h0c-0.4,0 -0.7,0.2 -0.7,0.6l-1.1,7a14.7,14.7 0,0 1,-6.4 10l-1,0.5a0.9,0.9 0,0 0,-0.3 0.6h0a0.9,0.9 0,0 0,0.3 0.6l1,0.6a14.5,14.5 0,0 1,6.4 10l1.1,7a0.7,0.7 0,0 0,0.7 0.6h0a0.9,0.9 0,0 0,0.7 -0.6l1,-7a14.3,14.3 0,0 1,6.5 -10l0.9,-0.6a0.9,0.9 0,0 0,0.3 -0.6h0a0.9,0.9 0,0 0,-0.3 -0.6Z"/>
<path android:fillColor="#ff6cba" android:pathData="M94.2,294.2a18.8,18.8 0,0 1,-8.3 -13l-1.4,-9a1,1 0,0 0,-0.9 -0.8h0a1.1,1.1 0,0 0,-0.9 0.8l-1.3,9a18.9,18.9 0,0 1,-8.4 13l-1.2,0.7a1.2,1.2 0,0 0,-0.4 0.8h0a1.2,1.2 0,0 0,0.4 0.8l1.2,0.8a18.7,18.7 0,0 1,8.4 12.9l1.3,9a0.9,0.9 0,0 0,0.9 0.8h0a0.9,0.9 0,0 0,0.9 -0.8l1.4,-9a18.6,18.6 0,0 1,8.3 -12.9l1.2,-0.8a1.2,1.2 0,0 0,0.4 -0.8h0a1.2,1.2 0,0 0,-0.4 -0.8Z"/>
<path android:fillColor="#fff29a" android:pathData="M80.2,76.2a13.5,13.5 0,0 1,-6.1 -9.3l-0.9,-6.5a0.7,0.7 0,0 0,-0.7 -0.6h0a0.6,0.6 0,0 0,-0.6 0.6l-1,6.5a13.7,13.7 0,0 1,-6 9.3l-0.8,0.5a0.7,0.7 0,0 0,-0.3 0.6h0a0.9,0.9 0,0 0,0.3 0.6l0.8,0.5a13.7,13.7 0,0 1,6 9.3l1,6.5a0.6,0.6 0,0 0,0.6 0.6h0a0.7,0.7 0,0 0,0.7 -0.6l0.9,-6.5a13.5,13.5 0,0 1,6.1 -9.3l0.8,-0.5a0.9,0.9 0,0 0,0.3 -0.6h0a0.7,0.7 0,0 0,-0.3 -0.6Z"/>
<path android:fillColor="#62ffa4" android:pathData="M57.3,116.5a22.7,22.7 0,0 1,-10.3 -16L45.3,89.4a1.2,1.2 0,0 0,-1.1 -1h0a1.1,1.1 0,0 0,-1.1 1l-1.7,11.1a23,23 0,0 1,-10.3 16l-1.4,0.9a1.1,1.1 0,0 0,-0.6 1h0a1.1,1.1 0,0 0,0.6 1l1.4,0.9a23,23 0,0 1,10.3 16l1.7,11.1a1.1,1.1 0,0 0,1.1 1h0a1.2,1.2 0,0 0,1.1 -1L47,136.3a22.7,22.7 0,0 1,10.3 -16l1.4,-0.9a1.2,1.2 0,0 0,0.5 -1h0a1.2,1.2 0,0 0,-0.5 -1Z"/>
</vector>

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.views.GuildView android:id="@+id/invite_avatar" android:layout_marginBottom="16dp" app:gv_text_size="16sp" app:layout_constraintBottom_toTopOf="@+id/title_layout" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2" style="@style/Avatar_XXLarge"/>
<com.discord.views.GuildView android:id="@+id/invite_avatar" android:layout_marginBottom="16dp" app:gv_text_size="16sp" app:layout_constraintBottom_toTopOf="@+id/title_layout" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_bias="0.3" app:layout_constraintVertical_chainStyle="2" style="@style/Avatar_XXLarge"/>
<LinearLayout android:gravity="center" android:id="@+id/title_layout" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constraintBottom_toTopOf="@+id/invite_message" app:layout_constraintEnd_toEndOf="0" app:layout_constraintHorizontal_chainStyle="2" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/invite_avatar" app:layout_constraintVertical_chainStyle="2">
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/invite_avatar_small" android:layout_marginEnd="8dp" app:actualImageScaleType="2" app:roundWithOverlayColor="?attr/colorBackgroundPrimary" style="@style/Avatar_Medium"/>
<TextView android:textSize="@dimen/uikit_textsize_large" android:id="@+id/invite_title" style="@style/UiKit_TextView"/>
</LinearLayout>
<TextView android:gravity="center" android:id="@+id/invite_message" android:layout_marginTop="8dp" app:layout_constraintBottom_toTopOf="@+id/invite_member_container_layout" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/title_layout" app:layout_constraintVertical_bias="0" app:layout_constraintVertical_chainStyle="2" style="@style/UiKit_TextView_H1"/>
<com.discord.views.guilds.ServerMemberCount android:id="@+id/invite_member_container_layout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginTop="16dp" android:layout_marginRight="16dp" android:layout_marginHorizontal="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/invite_message" app:layout_constraintVertical_bias="0" app:layout_constraintVertical_chainStyle="2"/>
<com.google.android.material.button.MaterialButton android:id="@+id/guild_invite_accept" android:layout_marginTop="16dp" android:text="@string/instant_invite_accept" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/invite_member_container_layout" app:layout_constraintVertical_bias="0" style="@style/UiKit_Material_Button"/>
</merge>

View file

@ -11,6 +11,5 @@
</androidx.core.widget.NestedScrollView>
<LinearLayout android:id="@+id/guild_invite_actions" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/scroll_view" style="@style/UiKit_Copy_Anchor">
<com.google.android.material.button.MaterialButton android:id="@+id/guild_invite_cancel" android:visibility="visible" android:text="@string/cancel" style="@style/UiKit_Material_Button_Secondary"/>
<com.google.android.material.button.MaterialButton android:id="@+id/guild_invite_accept" android:visibility="gone" android:text="@string/instant_invite_accept" style="@style/UiKit_Material_Button"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/text_in_voice_root" android:clipChildren="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="8dp" android:paddingEnd="8dp">
<ImageView android:id="@+id/text_in_voice_icon" android:layout_width="32dp" android:layout_height="32dp" android:layout_marginTop="2dp" android:layout_marginBottom="2dp" android:src="@drawable/ic_text_in_voice" android:contentDescription="@string/text_channel" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/text_in_voice_root" android:background="?android:attr/actionBarItemBackground" android:focusable="true" android:clickable="true" android:clipChildren="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="10dp" android:paddingEnd="10dp">
<ImageView android:id="@+id/text_in_voice_icon" android:paddingBottom="2dp" android:layout_width="32dp" android:layout_height="32dp" android:layout_marginTop="2dp" android:src="@drawable/ic_text_in_voice" android:contentDescription="@string/text_channel" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
<TextView android:id="@+id/text_in_voice_count" android:visibility="gone" android:layout_marginTop="20dp" android:minWidth="16dp" android:layout_marginStart="18dp" android:layout_marginEnd="2dp" android:outlineProvider="none" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" style="@style/Icon_Mentions_Call"/>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.views.GuildView android:id="@+id/invite_avatar" android:layout_marginBottom="16dp" app:gv_text_size="16sp" app:layout_constraintBottom_toTopOf="@+id/title_layout" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2" style="@style/Avatar_XXLarge"/>
<com.discord.views.GuildView android:id="@+id/invite_avatar" android:layout_marginBottom="16dp" app:gv_text_size="16sp" app:layout_constraintBottom_toTopOf="@+id/title_layout" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_bias="0.3" app:layout_constraintVertical_chainStyle="2" style="@style/Avatar_XXLarge"/>
<LinearLayout android:gravity="center" android:id="@+id/title_layout" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constraintBottom_toTopOf="@+id/invite_message" app:layout_constraintEnd_toEndOf="0" app:layout_constraintHorizontal_chainStyle="2" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/invite_avatar" app:layout_constraintVertical_chainStyle="2">
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/invite_avatar_small" android:layout_marginEnd="8dp" app:actualImageScaleType="2" app:roundWithOverlayColor="?attr/colorBackgroundPrimary" style="@style/Avatar_Medium"/>
<TextView android:textSize="@dimen/uikit_textsize_large" android:id="@+id/invite_title" style="@style/UiKit_TextView"/>
</LinearLayout>
<TextView android:gravity="center" android:id="@+id/invite_message" android:layout_marginTop="8dp" app:layout_constraintBottom_toTopOf="@+id/invite_member_container_layout" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/title_layout" app:layout_constraintVertical_bias="0" app:layout_constraintVertical_chainStyle="2" style="@style/UiKit_TextView_H1"/>
<com.discord.views.guilds.ServerMemberCount android:id="@+id/invite_member_container_layout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginTop="16dp" android:layout_marginRight="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/invite_message" app:layout_constraintVertical_bias="0" app:layout_constraintVertical_chainStyle="2"/>
<com.google.android.material.button.MaterialButton android:id="@+id/guild_invite_accept" android:layout_marginTop="16dp" android:text="@string/instant_invite_accept" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/invite_member_container_layout" app:layout_constraintVertical_bias="0" style="@style/UiKit_Material_Button"/>
</merge>

View file

@ -11,6 +11,5 @@
</androidx.core.widget.NestedScrollView>
<LinearLayout android:id="@+id/guild_invite_actions" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/scroll_view" style="@style/UiKit_Copy_Anchor">
<com.google.android.material.button.MaterialButton android:id="@+id/guild_invite_cancel" android:visibility="visible" android:text="@string/cancel" style="@style/UiKit_Material_Button_Secondary"/>
<com.google.android.material.button.MaterialButton android:id="@+id/guild_invite_accept" android:visibility="gone" android:text="@string/instant_invite_accept" style="@style/UiKit_Material_Button"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -2,21 +2,20 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/UiKit_ViewGroup_Page">
<ScrollView android:layout_height="match_parent" android:layout_above="@+id/alert_tos_ack_wrap" style="@style/UiKit_ViewGroup_ScrollView">
<LinearLayout style="@style/UiKit_Copy_Container">
<ImageView android:src="?attr/img_new_tos" android:contentDescription="@string/new_terms_title" style="@style/UiKit_ImageView"/>
<ImageView android:id="@+id/tos_icon" android:src="@drawable/img_tos" android:contentDescription="@string/new_terms_title" style="@style/UiKit_ImageView"/>
<LinearLayout style="@style/UiKit_Copy">
<TextView android:layout_gravity="start" android:id="@+id/alert_tos_text_title" android:text="@string/new_terms_title" style="@style/UiKit_TextView_H1"/>
<TextView android:id="@+id/alert_tos_text_description" android:layout_marginTop="16dp" android:text="@string/new_terms_description" style="@style/UiKit_TextView"/>
<com.discord.utilities.view.text.LinkifiedTextView android:layout_gravity="start" android:id="@+id/alert_tos_terms_of_service" android:layout_marginTop="16dp" android:text="@string/terms_of_service_url" style="@style/UiKit_TextView_Link"/>
<com.discord.utilities.view.text.LinkifiedTextView android:layout_gravity="start" android:id="@+id/alert_tos_privacy_policy" android:layout_marginTop="12dp" android:text="@string/privacy_policy_url" style="@style/UiKit_TextView_Link"/>
<TextView android:id="@+id/alert_tos_text_description_top" android:layout_marginTop="16dp" style="@style/UiKit_TextView"/>
<TextView android:id="@+id/alert_tos_text_description_bottom" android:layout_marginTop="8dp" style="@style/UiKit_TextView"/>
<com.discord.utilities.view.text.LinkifiedTextView android:layout_gravity="start" android:id="@+id/alert_tos_terms_of_service" android:layout_marginTop="16dp" android:text="@string/terms_of_service" style="@style/UiKit_TextView_Link"/>
<com.discord.utilities.view.text.LinkifiedTextView android:layout_gravity="start" android:id="@+id/alert_tos_privacy_policy" android:layout_marginTop="12dp" android:text="@string/privacy_policy" style="@style/UiKit_TextView_Link"/>
<com.discord.utilities.view.text.LinkifiedTextView android:layout_gravity="start" android:id="@+id/alert_tos_community_guidelines" android:layout_marginTop="12dp" android:text="@string/community_guidelines" style="@style/UiKit_TextView_Link"/>
<com.discord.utilities.view.text.LinkifiedTextView android:layout_gravity="start" android:id="@+id/alert_tos_blog_post" android:layout_marginTop="12dp" android:text="@string/privacy_policy" style="@style/UiKit_TextView_Link"/>
</LinearLayout>
</LinearLayout>
</ScrollView>
<LinearLayout android:id="@+id/alert_tos_ack_wrap" android:layout_marginTop="8dp" android:layout_alignParentBottom="true" style="@style/UiKit_Copy_Anchor">
<FrameLayout style="@style/UiKit_Copy_Anchor_Item_Rotatable">
<CheckBox android:id="@+id/alert_tos_ack" android:layout_height="52dp" android:text="@string/new_terms_ack" style="@style/UiKit_Checkbox"/>
</FrameLayout>
<FrameLayout style="@style/UiKit_Copy_Anchor_Item_Rotatable">
<com.google.android.material.button.MaterialButton android:enabled="false" android:id="@+id/alert_tos_ack_continue" android:layout_width="match_parent" android:text="@string/new_terms_continue" style="@style/UiKit_Material_Button"/>
<com.google.android.material.button.MaterialButton android:id="@+id/alert_tos_ack_continue" android:layout_width="match_parent" android:text="@string/new_terms_continue" style="@style/UiKit_Material_Button"/>
</FrameLayout>
</LinearLayout>
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme_AppBarLayout_Flat_Transparent">

Some files were not shown because too many files have changed in this diff Show more