94.8 - Beta (94108)

This commit is contained in:
Juby210 2021-09-30 01:07:52 +02:00
parent 8f6cfe8041
commit 61ba5608bf
76 changed files with 3910 additions and 3760 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 29
versionCode 94107
versionName "94.7 - Beta"
versionCode 94108
versionName "94.8 - 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="94107" android:versionName="94.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="94108" android:versionName="94.8 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

View File

@ -58,6 +58,10 @@ public final class GuildScheduledEventEntityMetadata implements Serializable {
return this.speakerIds;
}
public final boolean c() {
return this.speakerIds == null && this.location == null;
}
@Override // java.lang.Object
public boolean equals(Object obj) {
if (this == obj) {

View File

@ -6,6 +6,7 @@ import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.cardview.widget.CardView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;
import com.discord.views.CheckedSetting;
@ -15,7 +16,9 @@ public final class WidgetGuildProfileActionsBinding implements ViewBinding {
@NonNull
public final MaterialButton A;
@NonNull
public final LinearLayout B;
public final MaterialButton B;
@NonNull
public final LinearLayout C;
@NonNull
public final LinearLayout a;
@NonNull
@ -39,47 +42,47 @@ public final class WidgetGuildProfileActionsBinding implements ViewBinding {
@NonNull
public final TextView j;
@NonNull
public final TextView k;
public final ConstraintLayout k;
@NonNull
public final CardView l;
public final TextView l;
@NonNull
public final RecyclerView m;
public final CardView m;
@NonNull
public final CardView n;
public final RecyclerView n;
@NonNull
public final TextView o;
public final CardView o;
@NonNull
public final SimpleDraweeView p;
public final TextView p;
@NonNull
public final CheckedSetting q;
public final SimpleDraweeView q;
@NonNull
public final MaterialButton r;
public final CheckedSetting r;
@NonNull
/* renamed from: s reason: collision with root package name */
public final TextView f1862s;
public final MaterialButton f1862s;
@NonNull
public final TextView t;
@NonNull
public final CardView u;
public final TextView u;
@NonNull
public final TextView v;
public final CardView v;
@NonNull
public final ImageView w;
public final TextView w;
@NonNull
/* renamed from: x reason: collision with root package name */
public final TextView f1863x;
public final ImageView f1863x;
@NonNull
/* renamed from: y reason: collision with root package name */
public final CardView f1864y;
public final TextView f1864y;
@NonNull
/* renamed from: z reason: collision with root package name */
public final MaterialButton f1865z;
public final CardView f1865z;
public WidgetGuildProfileActionsBinding(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull LinearLayout linearLayout3, @NonNull CheckedSetting checkedSetting, @NonNull LinearLayout linearLayout4, @NonNull LinearLayout linearLayout5, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull TextView textView5, @NonNull CardView cardView, @NonNull RecyclerView recyclerView, @NonNull CardView cardView2, @NonNull TextView textView6, @NonNull SimpleDraweeView simpleDraweeView, @NonNull CheckedSetting checkedSetting2, @NonNull MaterialButton materialButton, @NonNull TextView textView7, @NonNull TextView textView8, @NonNull CardView cardView3, @NonNull TextView textView9, @NonNull ImageView imageView, @NonNull TextView textView10, @NonNull CardView cardView4, @NonNull CardView cardView5, @NonNull MaterialButton materialButton2, @NonNull MaterialButton materialButton3, @NonNull LinearLayout linearLayout6) {
public WidgetGuildProfileActionsBinding(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull LinearLayout linearLayout3, @NonNull CheckedSetting checkedSetting, @NonNull LinearLayout linearLayout4, @NonNull LinearLayout linearLayout5, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull ConstraintLayout constraintLayout, @NonNull TextView textView5, @NonNull TextView textView6, @NonNull CardView cardView, @NonNull RecyclerView recyclerView, @NonNull CardView cardView2, @NonNull TextView textView7, @NonNull SimpleDraweeView simpleDraweeView, @NonNull CheckedSetting checkedSetting2, @NonNull MaterialButton materialButton, @NonNull TextView textView8, @NonNull TextView textView9, @NonNull CardView cardView3, @NonNull TextView textView10, @NonNull ImageView imageView, @NonNull TextView textView11, @NonNull CardView cardView4, @NonNull CardView cardView5, @NonNull MaterialButton materialButton2, @NonNull MaterialButton materialButton3, @NonNull LinearLayout linearLayout6) {
this.a = linearLayout;
this.b = linearLayout2;
this.f1861c = textView;
@ -90,24 +93,25 @@ public final class WidgetGuildProfileActionsBinding implements ViewBinding {
this.h = textView2;
this.i = textView3;
this.j = textView4;
this.k = textView5;
this.l = cardView;
this.m = recyclerView;
this.n = cardView2;
this.o = textView6;
this.p = simpleDraweeView;
this.q = checkedSetting2;
this.r = materialButton;
this.f1862s = textView7;
this.k = constraintLayout;
this.l = textView6;
this.m = cardView;
this.n = recyclerView;
this.o = cardView2;
this.p = textView7;
this.q = simpleDraweeView;
this.r = checkedSetting2;
this.f1862s = materialButton;
this.t = textView8;
this.u = cardView3;
this.v = textView9;
this.w = imageView;
this.f1863x = textView10;
this.f1864y = cardView4;
this.f1865z = materialButton2;
this.A = materialButton3;
this.B = linearLayout6;
this.u = textView9;
this.v = cardView3;
this.w = textView10;
this.f1863x = imageView;
this.f1864y = textView11;
this.f1865z = cardView4;
this.A = materialButton2;
this.B = materialButton3;
this.C = linearLayout6;
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -35,6 +35,7 @@ import com.discord.models.domain.ModelGuildFolder;
import com.discord.models.domain.ModelMemberVerificationForm;
import com.discord.models.domain.ModelMuteConfig;
import com.discord.models.domain.ModelSubscription;
import com.discord.nullserializable.NullSerializable;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import d0.t.g0;
@ -3535,9 +3536,9 @@ public final class RestAPIParams {
/* compiled from: RestAPIParams.kt */
public static final class UpdateGuildScheduledEventBody {
private final Long channelId;
private final NullSerializable<Long> channelId;
private final String description;
private final GuildScheduledEventEntityMetadata entityMetadata;
private final NullSerializable<GuildScheduledEventEntityMetadata> entityMetadata;
private final GuildScheduledEventEntityType entityType;
private final String name;
private final StageInstancePrivacyLevel privacyLevel;
@ -3549,25 +3550,25 @@ public final class RestAPIParams {
this(null, null, null, null, null, null, null, null, null, FrameMetricsAggregator.EVERY_DURATION, null);
}
public UpdateGuildScheduledEventBody(String str, String str2, StageInstancePrivacyLevel stageInstancePrivacyLevel, String str3, String str4, Long l, GuildScheduledEventEntityType guildScheduledEventEntityType, GuildScheduledEventEntityMetadata guildScheduledEventEntityMetadata, GuildScheduledEventStatus guildScheduledEventStatus) {
public UpdateGuildScheduledEventBody(String str, String str2, StageInstancePrivacyLevel stageInstancePrivacyLevel, String str3, String str4, NullSerializable<Long> nullSerializable, GuildScheduledEventEntityType guildScheduledEventEntityType, NullSerializable<GuildScheduledEventEntityMetadata> nullSerializable2, GuildScheduledEventStatus guildScheduledEventStatus) {
this.name = str;
this.description = str2;
this.privacyLevel = stageInstancePrivacyLevel;
this.scheduledStartTime = str3;
this.scheduledEndTime = str4;
this.channelId = l;
this.channelId = nullSerializable;
this.entityType = guildScheduledEventEntityType;
this.entityMetadata = guildScheduledEventEntityMetadata;
this.entityMetadata = nullSerializable2;
this.status = guildScheduledEventStatus;
}
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
public /* synthetic */ UpdateGuildScheduledEventBody(String str, String str2, StageInstancePrivacyLevel stageInstancePrivacyLevel, String str3, String str4, Long l, GuildScheduledEventEntityType guildScheduledEventEntityType, GuildScheduledEventEntityMetadata guildScheduledEventEntityMetadata, GuildScheduledEventStatus guildScheduledEventStatus, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : str2, (i & 4) != 0 ? null : stageInstancePrivacyLevel, (i & 8) != 0 ? null : str3, (i & 16) != 0 ? null : str4, (i & 32) != 0 ? null : l, (i & 64) != 0 ? null : guildScheduledEventEntityType, (i & 128) != 0 ? null : guildScheduledEventEntityMetadata, (i & 256) == 0 ? guildScheduledEventStatus : null);
public /* synthetic */ UpdateGuildScheduledEventBody(String str, String str2, StageInstancePrivacyLevel stageInstancePrivacyLevel, String str3, String str4, NullSerializable nullSerializable, GuildScheduledEventEntityType guildScheduledEventEntityType, NullSerializable nullSerializable2, GuildScheduledEventStatus guildScheduledEventStatus, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : str2, (i & 4) != 0 ? null : stageInstancePrivacyLevel, (i & 8) != 0 ? null : str3, (i & 16) != 0 ? null : str4, (i & 32) != 0 ? null : nullSerializable, (i & 64) != 0 ? null : guildScheduledEventEntityType, (i & 128) != 0 ? null : nullSerializable2, (i & 256) == 0 ? guildScheduledEventStatus : null);
}
public static /* synthetic */ UpdateGuildScheduledEventBody copy$default(UpdateGuildScheduledEventBody updateGuildScheduledEventBody, String str, String str2, StageInstancePrivacyLevel stageInstancePrivacyLevel, String str3, String str4, Long l, GuildScheduledEventEntityType guildScheduledEventEntityType, GuildScheduledEventEntityMetadata guildScheduledEventEntityMetadata, GuildScheduledEventStatus guildScheduledEventStatus, int i, Object obj) {
return updateGuildScheduledEventBody.copy((i & 1) != 0 ? updateGuildScheduledEventBody.name : str, (i & 2) != 0 ? updateGuildScheduledEventBody.description : str2, (i & 4) != 0 ? updateGuildScheduledEventBody.privacyLevel : stageInstancePrivacyLevel, (i & 8) != 0 ? updateGuildScheduledEventBody.scheduledStartTime : str3, (i & 16) != 0 ? updateGuildScheduledEventBody.scheduledEndTime : str4, (i & 32) != 0 ? updateGuildScheduledEventBody.channelId : l, (i & 64) != 0 ? updateGuildScheduledEventBody.entityType : guildScheduledEventEntityType, (i & 128) != 0 ? updateGuildScheduledEventBody.entityMetadata : guildScheduledEventEntityMetadata, (i & 256) != 0 ? updateGuildScheduledEventBody.status : guildScheduledEventStatus);
public static /* synthetic */ UpdateGuildScheduledEventBody copy$default(UpdateGuildScheduledEventBody updateGuildScheduledEventBody, String str, String str2, StageInstancePrivacyLevel stageInstancePrivacyLevel, String str3, String str4, NullSerializable nullSerializable, GuildScheduledEventEntityType guildScheduledEventEntityType, NullSerializable nullSerializable2, GuildScheduledEventStatus guildScheduledEventStatus, int i, Object obj) {
return updateGuildScheduledEventBody.copy((i & 1) != 0 ? updateGuildScheduledEventBody.name : str, (i & 2) != 0 ? updateGuildScheduledEventBody.description : str2, (i & 4) != 0 ? updateGuildScheduledEventBody.privacyLevel : stageInstancePrivacyLevel, (i & 8) != 0 ? updateGuildScheduledEventBody.scheduledStartTime : str3, (i & 16) != 0 ? updateGuildScheduledEventBody.scheduledEndTime : str4, (i & 32) != 0 ? updateGuildScheduledEventBody.channelId : nullSerializable, (i & 64) != 0 ? updateGuildScheduledEventBody.entityType : guildScheduledEventEntityType, (i & 128) != 0 ? updateGuildScheduledEventBody.entityMetadata : nullSerializable2, (i & 256) != 0 ? updateGuildScheduledEventBody.status : guildScheduledEventStatus);
}
public final String component1() {
@ -3590,7 +3591,7 @@ public final class RestAPIParams {
return this.scheduledEndTime;
}
public final Long component6() {
public final NullSerializable<Long> component6() {
return this.channelId;
}
@ -3598,7 +3599,7 @@ public final class RestAPIParams {
return this.entityType;
}
public final GuildScheduledEventEntityMetadata component8() {
public final NullSerializable<GuildScheduledEventEntityMetadata> component8() {
return this.entityMetadata;
}
@ -3606,8 +3607,8 @@ public final class RestAPIParams {
return this.status;
}
public final UpdateGuildScheduledEventBody copy(String str, String str2, StageInstancePrivacyLevel stageInstancePrivacyLevel, String str3, String str4, Long l, GuildScheduledEventEntityType guildScheduledEventEntityType, GuildScheduledEventEntityMetadata guildScheduledEventEntityMetadata, GuildScheduledEventStatus guildScheduledEventStatus) {
return new UpdateGuildScheduledEventBody(str, str2, stageInstancePrivacyLevel, str3, str4, l, guildScheduledEventEntityType, guildScheduledEventEntityMetadata, guildScheduledEventStatus);
public final UpdateGuildScheduledEventBody copy(String str, String str2, StageInstancePrivacyLevel stageInstancePrivacyLevel, String str3, String str4, NullSerializable<Long> nullSerializable, GuildScheduledEventEntityType guildScheduledEventEntityType, NullSerializable<GuildScheduledEventEntityMetadata> nullSerializable2, GuildScheduledEventStatus guildScheduledEventStatus) {
return new UpdateGuildScheduledEventBody(str, str2, stageInstancePrivacyLevel, str3, str4, nullSerializable, guildScheduledEventEntityType, nullSerializable2, guildScheduledEventStatus);
}
public boolean equals(Object obj) {
@ -3621,7 +3622,7 @@ public final class RestAPIParams {
return m.areEqual(this.name, updateGuildScheduledEventBody.name) && m.areEqual(this.description, updateGuildScheduledEventBody.description) && m.areEqual(this.privacyLevel, updateGuildScheduledEventBody.privacyLevel) && m.areEqual(this.scheduledStartTime, updateGuildScheduledEventBody.scheduledStartTime) && m.areEqual(this.scheduledEndTime, updateGuildScheduledEventBody.scheduledEndTime) && m.areEqual(this.channelId, updateGuildScheduledEventBody.channelId) && m.areEqual(this.entityType, updateGuildScheduledEventBody.entityType) && m.areEqual(this.entityMetadata, updateGuildScheduledEventBody.entityMetadata) && m.areEqual(this.status, updateGuildScheduledEventBody.status);
}
public final Long getChannelId() {
public final NullSerializable<Long> getChannelId() {
return this.channelId;
}
@ -3629,7 +3630,7 @@ public final class RestAPIParams {
return this.description;
}
public final GuildScheduledEventEntityMetadata getEntityMetadata() {
public final NullSerializable<GuildScheduledEventEntityMetadata> getEntityMetadata() {
return this.entityMetadata;
}
@ -3669,12 +3670,12 @@ public final class RestAPIParams {
int hashCode4 = (hashCode3 + (str3 != null ? str3.hashCode() : 0)) * 31;
String str4 = this.scheduledEndTime;
int hashCode5 = (hashCode4 + (str4 != null ? str4.hashCode() : 0)) * 31;
Long l = this.channelId;
int hashCode6 = (hashCode5 + (l != null ? l.hashCode() : 0)) * 31;
NullSerializable<Long> nullSerializable = this.channelId;
int hashCode6 = (hashCode5 + (nullSerializable != null ? nullSerializable.hashCode() : 0)) * 31;
GuildScheduledEventEntityType guildScheduledEventEntityType = this.entityType;
int hashCode7 = (hashCode6 + (guildScheduledEventEntityType != null ? guildScheduledEventEntityType.hashCode() : 0)) * 31;
GuildScheduledEventEntityMetadata guildScheduledEventEntityMetadata = this.entityMetadata;
int hashCode8 = (hashCode7 + (guildScheduledEventEntityMetadata != null ? guildScheduledEventEntityMetadata.hashCode() : 0)) * 31;
NullSerializable<GuildScheduledEventEntityMetadata> nullSerializable2 = this.entityMetadata;
int hashCode8 = (hashCode7 + (nullSerializable2 != null ? nullSerializable2.hashCode() : 0)) * 31;
GuildScheduledEventStatus guildScheduledEventStatus = this.status;
if (guildScheduledEventStatus != null) {
i = guildScheduledEventStatus.hashCode();

View File

@ -1,10 +1,10 @@
package com.discord.stores;
import com.discord.api.guildscheduledevent.GuildScheduledEventUser;
import d0.t.u;
import d0.z.d.m;
import d0.z.d.o;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
@ -30,14 +30,12 @@ public final class StoreGuildScheduledEvents$fetchUserGuildScheduledEvents$1 ext
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreGuildScheduledEvents.access$getUserGuildScheduledEventIds$p(this.this$0.this$0).clear();
HashSet access$getUserGuildScheduledEventIds$p = StoreGuildScheduledEvents.access$getUserGuildScheduledEventIds$p(this.this$0.this$0);
List<GuildScheduledEventUser> list = this.$eventUsers;
ArrayList arrayList = new ArrayList(d0.t.o.collectionSizeOrDefault(list, 10));
for (GuildScheduledEventUser guildScheduledEventUser : list) {
arrayList.add(Long.valueOf(guildScheduledEventUser.a()));
}
access$getUserGuildScheduledEventIds$p.addAll(arrayList);
StoreGuildScheduledEvents.access$getUserGuildScheduledEventIds$p(this.this$0.this$0).put(Long.valueOf(this.this$0.$guildId), u.toMutableSet(arrayList));
StoreGuildScheduledEvents.access$getUserGuildScheduledEventsFetches$p(this.this$0.this$0).add(Long.valueOf(this.this$0.$guildId));
this.this$0.this$0.markChanged();
}

View File

@ -13,6 +13,7 @@ import kotlin.jvm.functions.Function1;
/* compiled from: StoreGuildScheduledEvents.kt */
public final class StoreGuildScheduledEvents$toggleRsvpGuildScheduledEvent$1 extends o implements Function0<Unit> {
public final /* synthetic */ long $eventId;
public final /* synthetic */ GuildScheduledEvent $guildScheduledEvent;
public final /* synthetic */ GuildScheduledEvent $storeEvent;
public final /* synthetic */ StoreGuildScheduledEvents this$0;
@ -122,17 +123,18 @@ public final class StoreGuildScheduledEvents$toggleRsvpGuildScheduledEvent$1 ext
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreGuildScheduledEvents$toggleRsvpGuildScheduledEvent$1(StoreGuildScheduledEvents storeGuildScheduledEvents, long j, GuildScheduledEvent guildScheduledEvent) {
public StoreGuildScheduledEvents$toggleRsvpGuildScheduledEvent$1(StoreGuildScheduledEvents storeGuildScheduledEvents, GuildScheduledEvent guildScheduledEvent, long j, GuildScheduledEvent guildScheduledEvent2) {
super(0);
this.this$0 = storeGuildScheduledEvents;
this.$guildScheduledEvent = guildScheduledEvent;
this.$eventId = j;
this.$storeEvent = guildScheduledEvent;
this.$storeEvent = guildScheduledEvent2;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
if (StoreGuildScheduledEvents.access$getUserGuildScheduledEventIds$p(this.this$0).contains(Long.valueOf(this.$eventId))) {
if (this.this$0.isRsvpedToEvent(this.$guildScheduledEvent.f(), this.$eventId)) {
StoreGuildScheduledEvents.processRsvpDelete$default(this.this$0, this.$storeEvent, 0, 2, null);
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().deleteGuildScheduledEventRsvp(this.$storeEvent.g()), false, 1, null), this.this$0.getClass(), (Context) null, (Function1) null, new AnonymousClass1(this), (Function0) null, (Function0) null, new AnonymousClass2(this), 54, (Object) null);
return;

View File

@ -41,8 +41,8 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
private final StorePermissions permissionsStore;
private final HashSet<Long> rsvpsAwaitingNetwork = new HashSet<>();
private HashSet<Long> rsvpsAwaitingSnapshot = new HashSet<>();
private final HashSet<Long> userGuildScheduledEventIds = new HashSet<>();
private Set<Long> userGuildScheduledEventIdsSnapshot = n0.emptySet();
private final HashMap<Long, Set<Long>> userGuildScheduledEventIds = new HashMap<>();
private Map<Long, ? extends Set<Long>> userGuildScheduledEventIdsSnapshot = h0.emptyMap();
private final HashSet<Long> userGuildScheduledEventsFetches = new HashSet<>();
private final StoreUser userStore;
@ -93,7 +93,7 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
return storeGuildScheduledEvents.rsvpsAwaitingNetwork;
}
public static final /* synthetic */ HashSet access$getUserGuildScheduledEventIds$p(StoreGuildScheduledEvents storeGuildScheduledEvents) {
public static final /* synthetic */ HashMap access$getUserGuildScheduledEventIds$p(StoreGuildScheduledEvents storeGuildScheduledEvents) {
return storeGuildScheduledEvents.userGuildScheduledEventIds;
}
@ -101,6 +101,18 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
return storeGuildScheduledEvents.userGuildScheduledEventsFetches;
}
private final void addUserRsvpForEvent(long j, long j2) {
if (this.userGuildScheduledEventIds.containsKey(Long.valueOf(j))) {
Set<Long> set = this.userGuildScheduledEventIds.get(Long.valueOf(j));
if (set != null) {
set.add(Long.valueOf(j2));
return;
}
return;
}
this.userGuildScheduledEventIds.put(Long.valueOf(j), n0.mutableSetOf(Long.valueOf(j2)));
}
private final GuildScheduledEvent findEventFromStore(GuildScheduledEvent guildScheduledEvent) {
GuildScheduledEvent findEventFromStore = findEventFromStore(guildScheduledEvent.g(), Long.valueOf(guildScheduledEvent.f()));
return findEventFromStore != null ? findEventFromStore : guildScheduledEvent;
@ -181,9 +193,9 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
@StoreThread
private final void processRsvpCreate(GuildScheduledEvent guildScheduledEvent, long j) {
long g = guildScheduledEvent.g();
if (!this.userGuildScheduledEventIds.contains(Long.valueOf(g)) || j != this.userStore.getMe().getId()) {
if (!isRsvpedToEvent(guildScheduledEvent.f(), g) || j != this.userStore.getMe().getId()) {
this.rsvpsAwaitingSnapshot.add(Long.valueOf(g));
this.userGuildScheduledEventIds.add(Long.valueOf(g));
addUserRsvpForEvent(guildScheduledEvent.f(), guildScheduledEvent.g());
Integer l = guildScheduledEvent.l();
GuildScheduledEvent a = GuildScheduledEvent.a(guildScheduledEvent, 0, 0, null, null, null, null, null, null, null, null, null, null, null, null, Integer.valueOf(l != null ? l.intValue() + 1 : 1), null, 49151);
List<GuildScheduledEvent> list = this.guildScheduledEvents.get(Long.valueOf(a.f()));
@ -223,9 +235,9 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
@StoreThread
private final void processRsvpDelete(GuildScheduledEvent guildScheduledEvent, long j) {
long g = guildScheduledEvent.g();
if (this.userGuildScheduledEventIds.contains(Long.valueOf(g)) || j != this.userStore.getMe().getId()) {
if (isRsvpedToEvent(guildScheduledEvent.f(), g) || j != this.userStore.getMe().getId()) {
this.rsvpsAwaitingSnapshot.add(Long.valueOf(g));
this.userGuildScheduledEventIds.remove(Long.valueOf(g));
removeUserRsvpForEvent(guildScheduledEvent.f(), g);
List<GuildScheduledEvent> list = this.guildScheduledEvents.get(Long.valueOf(guildScheduledEvent.f()));
if (list != null) {
m.checkNotNullExpressionValue(list, "eventList");
@ -266,6 +278,13 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
storeGuildScheduledEvents.processRsvpDelete(guildScheduledEvent, j);
}
private final void removeUserRsvpForEvent(long j, long j2) {
Set<Long> set = this.userGuildScheduledEventIds.get(Long.valueOf(j));
if (set != null) {
set.remove(Long.valueOf(j2));
}
}
/* JADX WARNING: Removed duplicated region for block: B:17:0x0063 */
/* JADX WARNING: Removed duplicated region for block: B:18:0x0073 */
/* JADX WARNING: Removed duplicated region for block: B:21:0x0088 */
@ -294,7 +313,7 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
((List) h0.getValue(this.guildScheduledEvents, Long.valueOf(f))).set(i, guildScheduledEvent);
}
if (guildScheduledEvent.m() != null) {
this.userGuildScheduledEventIds.add(Long.valueOf(guildScheduledEvent.g()));
addUserRsvpForEvent(f, guildScheduledEvent.g());
}
markChanged();
}
@ -441,8 +460,9 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
return arrayList;
}
public final Set<Long> getUserGuildScheduledEventIds() {
return this.userGuildScheduledEventIdsSnapshot;
public final Set<Long> getUserGuildScheduledEventIds(long j) {
Set<Long> set = (Set) this.userGuildScheduledEventIdsSnapshot.get(Long.valueOf(j));
return set != null ? set : n0.emptySet();
}
@StoreThread
@ -477,6 +497,7 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
public final void handleGuildRemove(long j) {
this.guildScheduledEvents.remove(Long.valueOf(j));
this.guildScheduledEventsFetchTimestamps.remove(Long.valueOf(j));
this.userGuildScheduledEventIds.remove(Long.valueOf(j));
this.userGuildScheduledEventsFetches.remove(Long.valueOf(j));
markChanged();
}
@ -508,7 +529,7 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
if (!(i == -1 || (list = this.guildScheduledEvents.get(Long.valueOf(guildScheduledEvent.f()))) == null)) {
list.remove(i);
}
this.userGuildScheduledEventIds.remove(Long.valueOf(guildScheduledEvent.g()));
removeUserRsvpForEvent(guildScheduledEvent.f(), guildScheduledEvent.g());
markChanged();
}
}
@ -537,8 +558,12 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
}
}
public final boolean isRsvpedToEvent(long j) {
return this.userGuildScheduledEventIdsSnapshot.contains(Long.valueOf(j));
public final boolean isRsvpedToEvent(long j, long j2) {
Set set = (Set) this.userGuildScheduledEventIdsSnapshot.get(Long.valueOf(j));
if (set == null) {
set = n0.emptySet();
}
return set.contains(Long.valueOf(j2));
}
public final Observable<GuildScheduledEvent> observeGuildScheduledEvent(Long l, Long l2) {
@ -553,7 +578,7 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
public void snapshotData() {
super.snapshotData();
this.guildScheduledEventsSnapshot = new HashMap(this.guildScheduledEvents);
this.userGuildScheduledEventIdsSnapshot = new HashSet(this.userGuildScheduledEventIds);
this.userGuildScheduledEventIdsSnapshot = new HashMap(this.userGuildScheduledEventIds);
this.rsvpsAwaitingSnapshot.clear();
}
@ -563,7 +588,7 @@ public final class StoreGuildScheduledEvents extends StoreV2 {
long g = findEventFromStore.g();
if (!this.rsvpsAwaitingNetwork.contains(Long.valueOf(g)) && !this.rsvpsAwaitingSnapshot.contains(Long.valueOf(g))) {
this.rsvpsAwaitingNetwork.add(Long.valueOf(g));
this.dispatcher.schedule(new StoreGuildScheduledEvents$toggleRsvpGuildScheduledEvent$1(this, g, findEventFromStore));
this.dispatcher.schedule(new StoreGuildScheduledEvents$toggleRsvpGuildScheduledEvent$1(this, guildScheduledEvent, g, findEventFromStore));
}
}
}

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

View File

@ -22,6 +22,6 @@ public final class WidgetChannelsList$configureUI$3 implements View.OnClickListe
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
Guild guild = this.$guild;
WidgetGuildProfileSheet.Companion.show$default(companion, parentFragmentManager, true, guild != null ? guild.getId() : 0, 0, 8, null);
WidgetGuildProfileSheet.Companion.show$default(companion, parentFragmentManager, true, guild != null ? guild.getId() : 0, 0, false, 24, null);
}
}

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 /* 2131364177 */:
case R.id.menu_channel_settings_delete /* 2131364179 */:
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 /* 2131364178 */:
case R.id.menu_channel_settings_reset /* 2131364180 */:
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 /* 2131364222 */:
case R.id.menu_thread_browser_create_thread /* 2131364224 */:
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 /* 2131364223 */:
case R.id.menu_thread_browser_filters /* 2131364225 */:
WidgetThreadBrowserFilterSheet.Companion companion = WidgetThreadBrowserFilterSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");

View File

@ -448,7 +448,7 @@ public final class WidgetChatListAdapterEventsHandler implements WidgetChatListA
l = messageReference2.b();
}
if (l != null && a != null) {
WidgetGuildProfileSheet.Companion.show(getFragmentManager(), false, l.longValue(), a.longValue());
WidgetGuildProfileSheet.Companion.show$default(WidgetGuildProfileSheet.Companion, getFragmentManager(), false, l.longValue(), a.longValue(), false, 16, null);
}
}
}

View File

@ -50,7 +50,7 @@ public final class WidgetChatListAdapterItemGuildScheduledEventInvite$Model$Comp
}
ModelInvite invite = this.$item.getInvite();
boolean z2 = this.$guildStore.getMember(this.$item.getGuildScheduledEvent().f(), this.$userStore.getMe().getId()) != null;
boolean isRsvpedToEvent = this.$guildScheduledEventStore.isRsvpedToEvent(this.$item.getGuildScheduledEvent().g());
boolean isRsvpedToEvent = this.$guildScheduledEventStore.isRsvpedToEvent(this.$item.getGuildScheduledEvent().f(), this.$item.getGuildScheduledEvent().g());
GuildScheduledEvent findEventFromStore = this.$guildScheduledEventStore.findEventFromStore(guildScheduledEvent.g(), Long.valueOf(guildScheduledEvent.f()));
GuildScheduledEvent guildScheduledEvent2 = findEventFromStore != null ? findEventFromStore : guildScheduledEvent;
Channel channel3 = channel != null ? this.$channelStore.getChannel(channel.h()) : null;

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 /* 2131364197 */:
case R.id.menu_friends_add_friend /* 2131364199 */:
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 /* 2131364198 */:
case R.id.menu_friends_contact_sync /* 2131364200 */:
ContactSyncAnalytics.Companion.trackStart$default(ContactSyncAnalytics.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 /* 2131364199 */:
case R.id.menu_friends_start_group /* 2131364201 */:
if (GroupInviteFriendsSheetFeatureFlag.Companion.getINSTANCE().isEnabled()) {
GroupInviteFriendsSheet.Companion companion3 = GroupInviteFriendsSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();

View File

@ -21,6 +21,6 @@ public final class WidgetGuildContextMenu$configureValidUI$4 implements View.OnC
WidgetGuildProfileSheet.Companion companion = WidgetGuildProfileSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
WidgetGuildProfileSheet.Companion.show$default(companion, parentFragmentManager, this.$viewState.isGuildSelected(), this.$viewState.getGuild().getId(), 0, 8, null);
WidgetGuildProfileSheet.Companion.show$default(companion, parentFragmentManager, this.$viewState.isGuildSelected(), this.$viewState.getGuild().getId(), 0, false, 24, null);
}
}

View File

@ -2,7 +2,7 @@ package com.discord.widgets.guilds.profile;
import android.content.Context;
import android.view.View;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.discord.widgets.guildscheduledevent.WidgetGuildScheduledEventLocationSelect;
import d0.z.d.m;
import d0.z.d.o;
@ -12,13 +12,13 @@ import kotlin.jvm.functions.Function1;
public final class WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$3 extends o implements Function1<View, Unit> {
public final /* synthetic */ boolean $canManageEvents$inlined;
public final /* synthetic */ long $guildId$inlined;
public final /* synthetic */ TextView $this_apply;
public final /* synthetic */ ConstraintLayout $this_apply;
public final /* synthetic */ WidgetGuildProfileSheet this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$3(TextView textView, WidgetGuildProfileSheet widgetGuildProfileSheet, boolean z2, long j) {
public WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$3(ConstraintLayout constraintLayout, WidgetGuildProfileSheet widgetGuildProfileSheet, boolean z2, long j) {
super(1);
this.$this_apply = textView;
this.$this_apply = constraintLayout;
this.this$0 = widgetGuildProfileSheet;
this.$canManageEvents$inlined = z2;
this.$guildId$inlined = j;

View File

@ -0,0 +1,22 @@
package com.discord.widgets.guilds.profile;
import d0.z.d.o;
import kotlin.jvm.functions.Function0;
/* compiled from: WidgetGuildProfileSheet.kt */
public final class WidgetGuildProfileSheet$fromGuildEventUpsell$2 extends o implements Function0<Boolean> {
public final /* synthetic */ WidgetGuildProfileSheet this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetGuildProfileSheet$fromGuildEventUpsell$2(WidgetGuildProfileSheet widgetGuildProfileSheet) {
super(0);
this.this$0 = widgetGuildProfileSheet;
}
/* 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 WidgetGuildProfileSheet.access$getArgumentsOrDefault$p(this.this$0).getBoolean("EXTRA_FROM_UPSELL", false);
}
}

View File

@ -49,6 +49,7 @@ import com.discord.widgets.stage.start.StageEventsGuildsFeatureFlag;
import com.facebook.drawee.view.SimpleDraweeView;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.textfield.TextInputLayout;
import d0.g;
import d0.g0.t;
import d0.z.d.a0;
import d0.z.d.m;
@ -65,6 +66,7 @@ import kotlin.reflect.KProperty;
public final class WidgetGuildProfileSheet extends AppBottomSheet {
public static final /* synthetic */ KProperty[] $$delegatedProperties = {a.a0(WidgetGuildProfileSheet.class, "binding", "getBinding()Lcom/discord/databinding/WidgetGuildProfileSheetBinding;", 0)};
public static final Companion Companion = new Companion(null);
private static final String EXTRA_FROM_UPSELL = "EXTRA_FROM_UPSELL";
private static final int LOADED_VIEW_INDEX = 1;
private static final int LOADING_VIEW_INDEX = 0;
private static final int NUM_ROWS_EMOJIS = 2;
@ -72,6 +74,7 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
private Long channelId;
private AlertDialog dialog;
private final WidgetGuildProfileSheetEmojisAdapter emojisAdapter;
private final Lazy fromGuildEventUpsell$delegate;
private WidgetGuildProfileActionsBinding guildActionBinding;
private WidgetGuildHubProfileActionsBinding guildHubActionBinding;
private final Lazy viewModel$delegate;
@ -85,19 +88,17 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
this();
}
public static /* synthetic */ void show$default(Companion companion, FragmentManager fragmentManager, boolean z2, long j, long j2, int i, Object obj) {
if ((i & 8) != 0) {
j2 = 0;
}
companion.show(fragmentManager, z2, j, j2);
public static /* synthetic */ void show$default(Companion companion, FragmentManager fragmentManager, boolean z2, long j, long j2, boolean z3, int i, Object obj) {
companion.show(fragmentManager, z2, j, (i & 8) != 0 ? 0 : j2, (i & 16) != 0 ? false : z3);
}
public final void show(FragmentManager fragmentManager, boolean z2, long j, long j2) {
public final void show(FragmentManager fragmentManager, boolean z2, long j, long j2, boolean z3) {
m.checkNotNullParameter(fragmentManager, "fragmentManager");
WidgetGuildProfileSheet widgetGuildProfileSheet = new WidgetGuildProfileSheet();
Bundle I = a.I("com.discord.intent.extra.EXTRA_GUILD_ID", j);
I.putLong("com.discord.intent.extra.EXTRA_CHANNEL_ID", j2);
I.putBoolean("com.discord.intent.extra.EXTRA_VIEWING_GUILD", z2);
I.putBoolean(WidgetGuildProfileSheet.EXTRA_FROM_UPSELL, z3);
widgetGuildProfileSheet.setArguments(I);
widgetGuildProfileSheet.show(fragmentManager, WidgetGuildProfileSheet.class.getName());
}
@ -120,6 +121,7 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
WidgetGuildProfileSheet$viewModel$2 widgetGuildProfileSheet$viewModel$2 = new WidgetGuildProfileSheet$viewModel$2(this);
f0 f0Var = new f0(this);
this.viewModel$delegate = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(WidgetGuildProfileSheetViewModel.class), new WidgetGuildProfileSheet$appViewModels$$inlined$viewModels$1(f0Var), new h0(widgetGuildProfileSheet$viewModel$2));
this.fromGuildEventUpsell$delegate = g.lazy(new WidgetGuildProfileSheet$fromGuildEventUpsell$2(this));
this.emojisAdapter = new WidgetGuildProfileSheetEmojisAdapter();
}
@ -196,21 +198,21 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (widgetGuildProfileActionsBinding2 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
MaterialButton materialButton = widgetGuildProfileActionsBinding2.f1865z;
MaterialButton materialButton = widgetGuildProfileActionsBinding2.A;
materialButton.setVisibility(showUploadEmoji ? 0 : 8);
setOnClickAndDismissListener(materialButton, new WidgetGuildProfileSheet$configureBottomActions$$inlined$apply$lambda$1(this, showUploadEmoji, j));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding3 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding3 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
MaterialButton materialButton2 = widgetGuildProfileActionsBinding3.r;
MaterialButton materialButton2 = widgetGuildProfileActionsBinding3.f1862s;
materialButton2.setVisibility(showJoinServer ? 0 : 8);
setOnClickAndDismissListener(materialButton2, new WidgetGuildProfileSheet$configureBottomActions$$inlined$apply$lambda$2(this, showJoinServer, j));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding4 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding4 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
MaterialButton materialButton3 = widgetGuildProfileActionsBinding4.A;
MaterialButton materialButton3 = widgetGuildProfileActionsBinding4.B;
if (showViewServer) {
i = 0;
}
@ -237,7 +239,7 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (widgetGuildProfileActionsBinding == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
TextView textView = widgetGuildProfileActionsBinding.o;
TextView textView = widgetGuildProfileActionsBinding.p;
m.checkNotNullExpressionValue(textView, "guildActionBinding.guildProfileSheetEmojisCount");
Resources resources = getResources();
m.checkNotNullExpressionValue(resources, "resources");
@ -246,14 +248,14 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (widgetGuildProfileActionsBinding2 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
ImageView imageView = widgetGuildProfileActionsBinding2.w;
ImageView imageView = widgetGuildProfileActionsBinding2.f1863x;
m.checkNotNullExpressionValue(imageView, "guildActionBinding.guild…PremiumUpsellDotSeparator");
imageView.setVisibility(isPremium ^ true ? 0 : 8);
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding3 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding3 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
TextView textView2 = widgetGuildProfileActionsBinding3.f1863x;
TextView textView2 = widgetGuildProfileActionsBinding3.f1864y;
m.checkNotNullExpressionValue(textView2, "guildActionBinding.guild…ileSheetPremiumUpsellText");
textView2.setVisibility(isPremium ^ true ? 0 : 8);
if (size != 0) {
@ -261,7 +263,7 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (widgetGuildProfileActionsBinding4 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
CardView cardView = widgetGuildProfileActionsBinding4.n;
CardView cardView = widgetGuildProfileActionsBinding4.o;
m.checkNotNullExpressionValue(cardView, "guildActionBinding.guildProfileSheetEmojisCard");
cardView.setVisibility(0);
int maxEmojisPerRow = maxEmojisPerRow();
@ -269,7 +271,7 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (widgetGuildProfileActionsBinding5 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
RecyclerView recyclerView = widgetGuildProfileActionsBinding5.m;
RecyclerView recyclerView = widgetGuildProfileActionsBinding5.n;
m.checkNotNullExpressionValue(recyclerView, "guildActionBinding.guildProfileSheetEmojis");
RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager();
Objects.requireNonNull(layoutManager, "null cannot be cast to non-null type androidx.recyclerview.widget.GridLayoutManager");
@ -281,7 +283,7 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (widgetGuildProfileActionsBinding6 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
CardView cardView2 = widgetGuildProfileActionsBinding6.n;
CardView cardView2 = widgetGuildProfileActionsBinding6.o;
m.checkNotNullExpressionValue(cardView2, "guildActionBinding.guildProfileSheetEmojisCard");
cardView2.setVisibility(8);
}
@ -313,19 +315,19 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (widgetGuildProfileActionsBinding3 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
CardView cardView = widgetGuildProfileActionsBinding3.u;
CardView cardView = widgetGuildProfileActionsBinding3.v;
m.checkNotNullExpressionValue(cardView, "guildActionBinding.guild…fileSheetMarkAsReadAction");
cardView.setVisibility(isUnread ? 0 : 8);
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding4 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding4 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
widgetGuildProfileActionsBinding4.t.setOnClickListener(new WidgetGuildProfileSheet$configureGuildActions$1(this, j));
widgetGuildProfileActionsBinding4.u.setOnClickListener(new WidgetGuildProfileSheet$configureGuildActions$1(this, j));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding5 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding5 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
CardView cardView2 = widgetGuildProfileActionsBinding5.f1864y;
CardView cardView2 = widgetGuildProfileActionsBinding5.f1865z;
m.checkNotNullExpressionValue(cardView2, "guildActionBinding.guildProfileSheetPrimaryActions");
cardView2.setVisibility(canManageChannels || (canManageEvents && StageEventsGuildsFeatureFlag.Companion.getINSTANCE().canGuildAccessStageEvents(j)) ? 0 : 8);
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding6 = this.guildActionBinding;
@ -346,79 +348,86 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (widgetGuildProfileActionsBinding8 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
TextView textView3 = widgetGuildProfileActionsBinding8.k;
textView3.setVisibility(canManageEvents && StageEventsGuildsFeatureFlag.Companion.getINSTANCE().canGuildAccessStageEvents(j) ? 0 : 8);
setOnClickAndDismissListener(textView3, new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$3(textView3, this, canManageEvents, j));
ConstraintLayout constraintLayout = widgetGuildProfileActionsBinding8.k;
constraintLayout.setVisibility(canManageEvents && StageEventsGuildsFeatureFlag.Companion.getINSTANCE().canGuildAccessStageEvents(j) ? 0 : 8);
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding9 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding9 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
widgetGuildProfileActionsBinding9.f1861c.setText(z2 ? R.string.change_identity : R.string.change_nickname);
TextView textView3 = widgetGuildProfileActionsBinding9.l;
m.checkNotNullExpressionValue(textView3, "guildActionBinding.guildProfileSheetCreateEventNew");
textView3.setVisibility(getFromGuildEventUpsell() ? 0 : 8);
setOnClickAndDismissListener(constraintLayout, new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$3(constraintLayout, this, canManageEvents, j));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding10 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding10 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
View view = widgetGuildProfileActionsBinding10.b;
view.setVisibility(canChangeNickname || z2 ? 0 : 8);
setOnClickAndDismissListener(view, new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$4(this, canChangeNickname, z2, j, actions));
widgetGuildProfileActionsBinding10.f1861c.setText(z2 ? R.string.change_identity : R.string.change_nickname);
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding11 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding11 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
TextView textView4 = widgetGuildProfileActionsBinding11.v;
View view = widgetGuildProfileActionsBinding11.b;
view.setVisibility(canChangeNickname || z2 ? 0 : 8);
setOnClickAndDismissListener(view, new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$4(this, canChangeNickname, z2, j, actions));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding12 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding12 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
TextView textView4 = widgetGuildProfileActionsBinding12.w;
textView4.setVisibility(actions.getDisplayGuildIdentityRow() ? 0 : 8);
if (nick == null) {
nick = actions.getUsername();
}
textView4.setText(nick);
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding12 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding12 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
SimpleDraweeView simpleDraweeView = widgetGuildProfileActionsBinding12.p;
String guildAvatar = actions.getGuildAvatar();
simpleDraweeView.setVisibility((guildAvatar == null || guildAvatar.length() == 0) ^ true ? 0 : 8);
simpleDraweeView.setImageURI(IconUtils.INSTANCE.getForGuildMember(actions.getGuildAvatar(), j, j2, Integer.valueOf(DimenUtils.dpToPixels(16)), false));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding13 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding13 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
LinearLayout linearLayout3 = widgetGuildProfileActionsBinding13.B;
m.checkNotNullExpressionValue(linearLayout3, "guildActionBinding.perGuildIdentityContainer");
linearLayout3.setVisibility(actions.getDisplayGuildIdentityRow() ? 0 : 8);
SimpleDraweeView simpleDraweeView = widgetGuildProfileActionsBinding13.q;
String guildAvatar = actions.getGuildAvatar();
simpleDraweeView.setVisibility((guildAvatar == null || guildAvatar.length() == 0) ^ true ? 0 : 8);
simpleDraweeView.setImageURI(IconUtils.INSTANCE.getForGuildMember(actions.getGuildAvatar(), j, j2, Integer.valueOf(DimenUtils.dpToPixels(16)), false));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding14 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding14 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
CheckedSetting checkedSetting = widgetGuildProfileActionsBinding14.e;
checkedSetting.setChecked(actions.isAllowDMChecked());
checkedSetting.setOnCheckedListener(new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$5(this, actions, j));
LinearLayout linearLayout3 = widgetGuildProfileActionsBinding14.C;
m.checkNotNullExpressionValue(linearLayout3, "guildActionBinding.perGuildIdentityContainer");
linearLayout3.setVisibility(actions.getDisplayGuildIdentityRow() ? 0 : 8);
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding15 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding15 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
CheckedSetting checkedSetting2 = widgetGuildProfileActionsBinding15.q;
checkedSetting2.setChecked(actions.getHideMutedChannels());
checkedSetting2.setOnCheckedListener(new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$6(this, actions, j));
CheckedSetting checkedSetting = widgetGuildProfileActionsBinding15.e;
checkedSetting.setChecked(actions.isAllowDMChecked());
checkedSetting.setOnCheckedListener(new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$5(this, actions, j));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding16 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding16 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
View view2 = widgetGuildProfileActionsBinding16.f1862s;
view2.setVisibility(actions.getCanLeaveGuild() ? 0 : 8);
setOnClickAndDismissListener(view2, new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$7(this, actions, j));
CheckedSetting checkedSetting2 = widgetGuildProfileActionsBinding16.r;
checkedSetting2.setChecked(actions.getHideMutedChannels());
checkedSetting2.setOnCheckedListener(new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$6(this, actions, j));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding17 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding17 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
CardView cardView3 = widgetGuildProfileActionsBinding17.l;
m.checkNotNullExpressionValue(cardView3, "guildActionBinding.guild…fileSheetDeveloperActions");
cardView3.setVisibility(actions.isDeveloper() ? 0 : 8);
View view2 = widgetGuildProfileActionsBinding17.t;
view2.setVisibility(actions.getCanLeaveGuild() ? 0 : 8);
setOnClickAndDismissListener(view2, new WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$7(this, actions, j));
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding18 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding18 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
widgetGuildProfileActionsBinding18.h.setOnClickListener(new WidgetGuildProfileSheet$configureGuildActions$11(this, j));
CardView cardView3 = widgetGuildProfileActionsBinding18.m;
m.checkNotNullExpressionValue(cardView3, "guildActionBinding.guild…fileSheetDeveloperActions");
cardView3.setVisibility(actions.isDeveloper() ? 0 : 8);
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding19 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding19 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
widgetGuildProfileActionsBinding19.h.setOnClickListener(new WidgetGuildProfileSheet$configureGuildActions$11(this, j));
}
private final void configureGuildBanner(WidgetGuildProfileSheetViewModel.Banner banner) {
@ -630,8 +639,8 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
m.checkNotNullExpressionValue(materialButton4, "binding.guildProfileShee…Invite(guildId) }\n }");
}
/* JADX WARNING: Removed duplicated region for block: B:116:0x0313 */
/* JADX WARNING: Removed duplicated region for block: B:117:0x0324 */
/* JADX WARNING: Removed duplicated region for block: B:122:0x0336 */
/* JADX WARNING: Removed duplicated region for block: B:123:0x0347 */
private final void configureUI(WidgetGuildProfileSheetViewModel.ViewState.Loaded loaded) {
WidgetGuildProfileSheetViewModel.Actions actions;
WidgetGuildProfileSheetViewModel.TabItems tabItems;
@ -673,108 +682,118 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (textView3 != null) {
TextView textView4 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_create_channel);
if (textView4 != null) {
TextView textView5 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_create_event);
if (textView5 != null) {
CardView cardView = (CardView) inflate.findViewById(R.id.guild_profile_sheet_developer_actions);
if (cardView != null) {
RecyclerView recyclerView = (RecyclerView) inflate.findViewById(R.id.guild_profile_sheet_emojis);
if (recyclerView != null) {
tabItems = component10;
i = R.id.guild_profile_sheet_emojis_card;
CardView cardView2 = (CardView) inflate.findViewById(R.id.guild_profile_sheet_emojis_card);
if (cardView2 != null) {
TextView textView6 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_emojis_count);
if (textView6 != null) {
i = R.id.guild_profile_sheet_guild_avatar;
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate.findViewById(R.id.guild_profile_sheet_guild_avatar);
if (simpleDraweeView != null) {
i = R.id.guild_profile_sheet_hide_muted_channels;
CheckedSetting checkedSetting2 = (CheckedSetting) inflate.findViewById(R.id.guild_profile_sheet_hide_muted_channels);
if (checkedSetting2 != null) {
MaterialButton materialButton = (MaterialButton) inflate.findViewById(R.id.guild_profile_sheet_join_server);
if (materialButton != null) {
i = R.id.guild_profile_sheet_leave_server;
TextView textView7 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_leave_server);
if (textView7 != null) {
i = R.id.guild_profile_sheet_mark_as_read;
TextView textView8 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_mark_as_read);
if (textView8 != null) {
CardView cardView3 = (CardView) inflate.findViewById(R.id.guild_profile_sheet_mark_as_read_action);
if (cardView3 != null) {
i = R.id.guild_profile_sheet_nickname;
TextView textView9 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_nickname);
ConstraintLayout constraintLayout = (ConstraintLayout) inflate.findViewById(R.id.guild_profile_sheet_create_event);
if (constraintLayout != null) {
TextView textView5 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_create_event_label);
if (textView5 != null) {
TextView textView6 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_create_event_new);
if (textView6 != null) {
CardView cardView = (CardView) inflate.findViewById(R.id.guild_profile_sheet_developer_actions);
if (cardView != null) {
RecyclerView recyclerView = (RecyclerView) inflate.findViewById(R.id.guild_profile_sheet_emojis);
if (recyclerView != null) {
tabItems = component10;
i = R.id.guild_profile_sheet_emojis_card;
CardView cardView2 = (CardView) inflate.findViewById(R.id.guild_profile_sheet_emojis_card);
if (cardView2 != null) {
TextView textView7 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_emojis_count);
if (textView7 != null) {
i = R.id.guild_profile_sheet_guild_avatar;
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate.findViewById(R.id.guild_profile_sheet_guild_avatar);
if (simpleDraweeView != null) {
i = R.id.guild_profile_sheet_hide_muted_channels;
CheckedSetting checkedSetting2 = (CheckedSetting) inflate.findViewById(R.id.guild_profile_sheet_hide_muted_channels);
if (checkedSetting2 != null) {
MaterialButton materialButton = (MaterialButton) inflate.findViewById(R.id.guild_profile_sheet_join_server);
if (materialButton != null) {
i = R.id.guild_profile_sheet_leave_server;
TextView textView8 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_leave_server);
if (textView8 != null) {
i = R.id.guild_profile_sheet_mark_as_read;
TextView textView9 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_mark_as_read);
if (textView9 != null) {
i = R.id.guild_profile_sheet_premium_upsell_dot_separator;
ImageView imageView = (ImageView) inflate.findViewById(R.id.guild_profile_sheet_premium_upsell_dot_separator);
if (imageView != null) {
i = R.id.guild_profile_sheet_premium_upsell_text;
TextView textView10 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_premium_upsell_text);
CardView cardView3 = (CardView) inflate.findViewById(R.id.guild_profile_sheet_mark_as_read_action);
if (cardView3 != null) {
i = R.id.guild_profile_sheet_nickname;
TextView textView10 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_nickname);
if (textView10 != null) {
CardView cardView4 = (CardView) inflate.findViewById(R.id.guild_profile_sheet_primary_actions);
if (cardView4 != null) {
i = R.id.guild_profile_sheet_secondary_actions;
CardView cardView5 = (CardView) inflate.findViewById(R.id.guild_profile_sheet_secondary_actions);
if (cardView5 != null) {
i = R.id.guild_profile_sheet_upload_emoji;
MaterialButton materialButton2 = (MaterialButton) inflate.findViewById(R.id.guild_profile_sheet_upload_emoji);
if (materialButton2 != null) {
MaterialButton materialButton3 = (MaterialButton) inflate.findViewById(R.id.guild_profile_sheet_view_server);
if (materialButton3 != null) {
i = R.id.per_guild_identity_container;
LinearLayout linearLayout5 = (LinearLayout) inflate.findViewById(R.id.per_guild_identity_container);
if (linearLayout5 != null) {
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding = new WidgetGuildProfileActionsBinding(linearLayout4, linearLayout, textView, linearLayout2, checkedSetting, linearLayout3, linearLayout4, textView2, textView3, textView4, textView5, cardView, recyclerView, cardView2, textView6, simpleDraweeView, checkedSetting2, materialButton, textView7, textView8, cardView3, textView9, imageView, textView10, cardView4, cardView5, materialButton2, materialButton3, linearLayout5);
m.checkNotNullExpressionValue(widgetGuildProfileActionsBinding, "WidgetGuildProfileActionsBinding.bind(view)");
this.guildActionBinding = widgetGuildProfileActionsBinding;
if (widgetGuildProfileActionsBinding == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
i = R.id.guild_profile_sheet_premium_upsell_dot_separator;
ImageView imageView = (ImageView) inflate.findViewById(R.id.guild_profile_sheet_premium_upsell_dot_separator);
if (imageView != null) {
i = R.id.guild_profile_sheet_premium_upsell_text;
TextView textView11 = (TextView) inflate.findViewById(R.id.guild_profile_sheet_premium_upsell_text);
if (textView11 != null) {
CardView cardView4 = (CardView) inflate.findViewById(R.id.guild_profile_sheet_primary_actions);
if (cardView4 != null) {
i = R.id.guild_profile_sheet_secondary_actions;
CardView cardView5 = (CardView) inflate.findViewById(R.id.guild_profile_sheet_secondary_actions);
if (cardView5 != null) {
i = R.id.guild_profile_sheet_upload_emoji;
MaterialButton materialButton2 = (MaterialButton) inflate.findViewById(R.id.guild_profile_sheet_upload_emoji);
if (materialButton2 != null) {
MaterialButton materialButton3 = (MaterialButton) inflate.findViewById(R.id.guild_profile_sheet_view_server);
if (materialButton3 != null) {
i = R.id.per_guild_identity_container;
LinearLayout linearLayout5 = (LinearLayout) inflate.findViewById(R.id.per_guild_identity_container);
if (linearLayout5 != null) {
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding = new WidgetGuildProfileActionsBinding(linearLayout4, linearLayout, textView, linearLayout2, checkedSetting, linearLayout3, linearLayout4, textView2, textView3, textView4, constraintLayout, textView5, textView6, cardView, recyclerView, cardView2, textView7, simpleDraweeView, checkedSetting2, materialButton, textView8, textView9, cardView3, textView10, imageView, textView11, cardView4, cardView5, materialButton2, materialButton3, linearLayout5);
m.checkNotNullExpressionValue(widgetGuildProfileActionsBinding, "WidgetGuildProfileActionsBinding.bind(view)");
this.guildActionBinding = widgetGuildProfileActionsBinding;
if (widgetGuildProfileActionsBinding == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
m.checkNotNullExpressionValue(recyclerView, "guildActionBinding.guildProfileSheetEmojis");
recyclerView.setAdapter(this.emojisAdapter);
configureGuildIcon(component1, component4, component3);
configureGuildBanner(component7);
configureGuildContent(component2, component5, component6);
configureMemberCount(component8, component9);
configureTabItems(component1, tabItems, component14);
if (!component14) {
configureGuildHubActions(component1, component16.getId(), actions, loaded.getInPerGuildAvatarExperiment());
return;
}
configureGuildActions(component1, component16.getId(), actions, loaded.getInPerGuildAvatarExperiment());
configureEmojis(component12);
configureBottomActions(component1, this.channelId, component13);
return;
}
} else {
i = R.id.guild_profile_sheet_view_server;
}
m.checkNotNullExpressionValue(recyclerView, "guildActionBinding.guildProfileSheetEmojis");
recyclerView.setAdapter(this.emojisAdapter);
configureGuildIcon(component1, component4, component3);
configureGuildBanner(component7);
configureGuildContent(component2, component5, component6);
configureMemberCount(component8, component9);
configureTabItems(component1, tabItems, component14);
if (!component14) {
configureGuildHubActions(component1, component16.getId(), actions, loaded.getInPerGuildAvatarExperiment());
return;
}
configureGuildActions(component1, component16.getId(), actions, loaded.getInPerGuildAvatarExperiment());
configureEmojis(component12);
configureBottomActions(component1, this.channelId, component13);
return;
}
} else {
i = R.id.guild_profile_sheet_view_server;
}
} else {
i = R.id.guild_profile_sheet_primary_actions;
}
}
} else {
i = R.id.guild_profile_sheet_primary_actions;
}
}
} else {
i = R.id.guild_profile_sheet_mark_as_read_action;
}
}
} else {
i = R.id.guild_profile_sheet_mark_as_read_action;
}
} else {
i = R.id.guild_profile_sheet_join_server;
}
}
} else {
i = R.id.guild_profile_sheet_join_server;
}
} else {
i = R.id.guild_profile_sheet_emojis_count;
}
}
} else {
i = R.id.guild_profile_sheet_emojis_count;
i = R.id.guild_profile_sheet_emojis;
}
} else {
i = R.id.guild_profile_sheet_developer_actions;
}
} else {
i = R.id.guild_profile_sheet_emojis;
i = R.id.guild_profile_sheet_create_event_new;
}
} else {
i = R.id.guild_profile_sheet_developer_actions;
i = R.id.guild_profile_sheet_create_event_label;
}
} else {
i = R.id.guild_profile_sheet_create_event;
@ -816,19 +835,19 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
SimpleDraweeView simpleDraweeView2 = (SimpleDraweeView) inflate2.findViewById(R.id.guild_profile_sheet_guild_avatar);
if (simpleDraweeView2 != null) {
i2 = R.id.guild_profile_sheet_invite;
TextView textView11 = (TextView) inflate2.findViewById(R.id.guild_profile_sheet_invite);
if (textView11 != null) {
TextView textView12 = (TextView) inflate2.findViewById(R.id.guild_profile_sheet_invite);
if (textView12 != null) {
CardView cardView6 = (CardView) inflate2.findViewById(R.id.guild_profile_sheet_invite_action);
if (cardView6 != null) {
TextView textView12 = (TextView) inflate2.findViewById(R.id.guild_profile_sheet_leave_server);
if (textView12 != null) {
TextView textView13 = (TextView) inflate2.findViewById(R.id.guild_profile_sheet_nickname);
if (textView13 != null) {
TextView textView13 = (TextView) inflate2.findViewById(R.id.guild_profile_sheet_leave_server);
if (textView13 != null) {
TextView textView14 = (TextView) inflate2.findViewById(R.id.guild_profile_sheet_nickname);
if (textView14 != null) {
CardView cardView7 = (CardView) inflate2.findViewById(R.id.guild_profile_sheet_secondary_actions);
if (cardView7 != null) {
LinearLayout linearLayout9 = (LinearLayout) inflate2.findViewById(R.id.per_guild_identity_container);
if (linearLayout9 != null) {
WidgetGuildHubProfileActionsBinding widgetGuildHubProfileActionsBinding = new WidgetGuildHubProfileActionsBinding(linearLayout7, linearLayout6, linearLayout7, linearLayout8, simpleDraweeView2, textView11, cardView6, textView12, textView13, cardView7, linearLayout9);
WidgetGuildHubProfileActionsBinding widgetGuildHubProfileActionsBinding = new WidgetGuildHubProfileActionsBinding(linearLayout7, linearLayout6, linearLayout7, linearLayout8, simpleDraweeView2, textView12, cardView6, textView13, textView14, cardView7, linearLayout9);
m.checkNotNullExpressionValue(widgetGuildHubProfileActionsBinding, "WidgetGuildHubProfileActionsBinding.bind(view)");
this.guildHubActionBinding = widgetGuildHubProfileActionsBinding;
} else {
@ -932,6 +951,10 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
return (WidgetGuildProfileSheetBinding) this.binding$delegate.getValue((Fragment) this, $$delegatedProperties[0]);
}
private final boolean getFromGuildEventUpsell() {
return ((Boolean) this.fromGuildEventUpsell$delegate.getValue()).booleanValue();
}
private final WidgetGuildProfileSheetViewModel getViewModel() {
return (WidgetGuildProfileSheetViewModel) this.viewModel$delegate.getValue();
}
@ -978,14 +1001,14 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
if (widgetGuildProfileActionsBinding == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
CardView cardView = widgetGuildProfileActionsBinding.n;
CardView cardView = widgetGuildProfileActionsBinding.o;
m.checkNotNullExpressionValue(cardView, "guildActionBinding.guildProfileSheetEmojisCard");
int contentPaddingLeft = cardView.getContentPaddingLeft();
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding2 = this.guildActionBinding;
if (widgetGuildProfileActionsBinding2 == null) {
m.throwUninitializedPropertyAccessException("guildActionBinding");
}
CardView cardView2 = widgetGuildProfileActionsBinding2.n;
CardView cardView2 = widgetGuildProfileActionsBinding2.o;
m.checkNotNullExpressionValue(cardView2, "guildActionBinding.guildProfileSheetEmojisCard");
int contentPaddingRight = cardView2.getContentPaddingRight() + contentPaddingLeft;
WidgetGuildProfileActionsBinding widgetGuildProfileActionsBinding3 = this.guildActionBinding;
@ -1004,8 +1027,8 @@ public final class WidgetGuildProfileSheet extends AppBottomSheet {
return ((i - contentPaddingRight) - (linearLayout2.getPaddingEnd() + paddingStart)) / getResources().getDimensionPixelSize(R.dimen.emoji_size);
}
public static final void show(FragmentManager fragmentManager, boolean z2, long j, long j2) {
Companion.show(fragmentManager, z2, j, j2);
public static final void show(FragmentManager fragmentManager, boolean z2, long j, long j2, boolean z3) {
Companion.show(fragmentManager, z2, j, j2, z3);
}
private final void showChangeNicknameDialog(long j, String str, boolean z2) {

View File

@ -47,7 +47,7 @@ public final class GuildScheduledEventDetailsViewModel$Companion$observeStores$1
channel = null;
}
Guild guild = this.$guildsStore.getGuild(findEventFromStore$default.f());
boolean isRsvpedToEvent = this.$guildScheduledEventsStore.isRsvpedToEvent(this.$guildScheduledEventId);
boolean isRsvpedToEvent = this.$guildScheduledEventsStore.isRsvpedToEvent(findEventFromStore$default.f(), this.$guildScheduledEventId);
GuildScheduledEventUtilities.Companion companion = GuildScheduledEventUtilities.Companion;
return new GuildScheduledEventDetailsViewModel.StoreState(findEventFromStore$default, channel, guild, isRsvpedToEvent, GuildScheduledEventUtilities.Companion.canShareEvent$default(companion, findEventFromStore$default.b(), this.$channelsStore, this.$guildsStore, null, 8, null), companion.canStartEvent(findEventFromStore$default.f(), findEventFromStore$default.b(), this.$channelsStore, this.$permissionsStore), this.$userSettingsStore.getIsDeveloperMode());
}

View File

@ -52,7 +52,7 @@ public final class GuildScheduledEventListViewModel$Companion$observeStores$1 ex
guildScheduledEvents$default = arrayList;
}
List sortedWith = u.sortedWith(guildScheduledEvents$default, GuildScheduledEventsComparator.INSTANCE);
Set<Long> userGuildScheduledEventIds = this.$guildScheduledEventsStore.getUserGuildScheduledEventIds();
Set<Long> userGuildScheduledEventIds = this.$guildScheduledEventsStore.getUserGuildScheduledEventIds(this.$guildId);
boolean canCreateAnyEvent = GuildScheduledEventUtilities.Companion.canCreateAnyEvent(this.$guildId, this.$channelStore, this.$permissionsStore);
Long valueOf = Long.valueOf(this.$voiceChannelSelectedStore.getSelectedVoiceChannelId());
if (!(valueOf.longValue() != 0)) {

View File

@ -7,6 +7,7 @@ import com.discord.api.guildscheduledevent.GuildScheduledEventEntityMetadata;
import com.discord.api.guildscheduledevent.GuildScheduledEventEntityType;
import com.discord.api.stageinstance.StageInstancePrivacyLevel;
import com.discord.api.utcdatetime.UtcDateTime;
import com.discord.nullserializable.NullSerializable;
import com.discord.restapi.RestAPIParams;
import com.discord.utilities.time.TimeUtils;
import d0.z.d.m;
@ -236,10 +237,13 @@ public final class GuildScheduledEventModel implements Serializable {
GuildScheduledEventPickerDate guildScheduledEventPickerDate = this.endDate;
Long valueOf = (guildScheduledEventPickerDate == null || (guildScheduledEventPickerTime = this.endTime) == null) ? null : Long.valueOf(guildScheduledEventPickerDateTime.toMillis(guildScheduledEventPickerDate, guildScheduledEventPickerTime));
Long l = this.channelId;
NullSerializable bVar = l != null ? new NullSerializable.b(l) : new NullSerializable.a(null, 1);
GuildScheduledEventEntityMetadata guildScheduledEventEntityMetadata = this.entityMetadata;
NullSerializable aVar = (guildScheduledEventEntityMetadata == null || guildScheduledEventEntityMetadata.c()) ? new NullSerializable.a(null, 1) : new NullSerializable.b(this.entityMetadata);
String str2 = this.description;
StageInstancePrivacyLevel stageInstancePrivacyLevel = StageInstancePrivacyLevel.GUILD_ONLY;
String uTCDateTime$default = guildScheduledEvent.j().g() == millis ? null : TimeUtils.toUTCDateTime$default(Long.valueOf(millis), null, 2, null);
UtcDateTime i = guildScheduledEvent.i();
return new RestAPIParams.UpdateGuildScheduledEventBody(str, str2, stageInstancePrivacyLevel, uTCDateTime$default, m.areEqual(i != null ? Long.valueOf(i.g()) : null, valueOf) ? null : TimeUtils.toUTCDateTime$default(valueOf, null, 2, null), l, this.entityType, this.entityMetadata, null, 256, null);
return new RestAPIParams.UpdateGuildScheduledEventBody(str, str2, stageInstancePrivacyLevel, uTCDateTime$default, m.areEqual(i != null ? Long.valueOf(i.g()) : null, valueOf) ? null : TimeUtils.toUTCDateTime$default(valueOf, null, 2, null), bVar, this.entityType, aVar, null, 256, null);
}
}

View File

@ -28,7 +28,6 @@ import com.discord.widgets.guildscheduledevent.GuildScheduledEventListItem;
import com.discord.widgets.guildscheduledevent.GuildScheduledEventListViewModel;
import com.discord.widgets.guildscheduledevent.WidgetGuildScheduledEventDetailsBottomSheet;
import com.discord.widgets.guildscheduledevent.WidgetPreviewGuildScheduledEvent;
import com.discord.widgets.stage.start.StageEventsGuildsFeatureFlag;
import com.discord.widgets.voice.VoiceUtils;
import d0.g;
import d0.z.d.a0;
@ -68,15 +67,13 @@ public final class WidgetGuildScheduledEventListBottomSheet extends AppBottomShe
public final void show(FragmentManager fragmentManager, long j, Long l) {
m.checkNotNullParameter(fragmentManager, "fragmentManager");
if (StageEventsGuildsFeatureFlag.Companion.getINSTANCE().canGuildAccessStageEvents(j)) {
WidgetGuildScheduledEventListBottomSheet widgetGuildScheduledEventListBottomSheet = new WidgetGuildScheduledEventListBottomSheet();
Bundle I = a.I("com.discord.intent.extra.EXTRA_GUILD_ID", j);
if (l != null) {
I.putLong("com.discord.intent.extra.EXTRA_CHANNEL_ID", l.longValue());
}
widgetGuildScheduledEventListBottomSheet.setArguments(I);
widgetGuildScheduledEventListBottomSheet.show(fragmentManager, WidgetGuildScheduledEventListBottomSheet.class.getName());
WidgetGuildScheduledEventListBottomSheet widgetGuildScheduledEventListBottomSheet = new WidgetGuildScheduledEventListBottomSheet();
Bundle I = a.I("com.discord.intent.extra.EXTRA_GUILD_ID", j);
if (l != null) {
I.putLong("com.discord.intent.extra.EXTRA_CHANNEL_ID", l.longValue());
}
widgetGuildScheduledEventListBottomSheet.setArguments(I);
widgetGuildScheduledEventListBottomSheet.show(fragmentManager, WidgetGuildScheduledEventListBottomSheet.class.getName());
}
}

View File

@ -2,8 +2,13 @@ package com.discord.widgets.guildscheduledevent;
import android.view.View;
import androidx.fragment.app.FragmentManager;
import com.discord.api.guild.GuildFeature;
import com.discord.models.guild.Guild;
import com.discord.stores.StoreStream;
import com.discord.widgets.guilds.profile.WidgetGuildProfileSheet;
import com.discord.widgets.guildscheduledevent.WidgetGuildScheduledEventListBottomSheet;
import d0.z.d.m;
import java.util.Set;
/* compiled from: WidgetGuildScheduledEventUpsellBottomSheet.kt */
public final class WidgetGuildScheduledEventUpsellBottomSheet$onViewCreated$1 implements View.OnClickListener {
public final /* synthetic */ WidgetGuildScheduledEventUpsellBottomSheet this$0;
@ -14,10 +19,19 @@ public final class WidgetGuildScheduledEventUpsellBottomSheet$onViewCreated$1 im
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
WidgetGuildScheduledEventListBottomSheet.Companion companion = WidgetGuildScheduledEventListBottomSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
WidgetGuildScheduledEventListBottomSheet.Companion.show$default(companion, parentFragmentManager, WidgetGuildScheduledEventUpsellBottomSheet.access$getGuildId$p(this.this$0), null, 4, null);
Set<GuildFeature> features;
Guild guild = StoreStream.Companion.getGuilds().getGuild(WidgetGuildScheduledEventUpsellBottomSheet.access$getGuildId$p(this.this$0));
if (guild == null || (features = guild.getFeatures()) == null || !features.contains(GuildFeature.COMMUNITY)) {
WidgetGuildProfileSheet.Companion companion = WidgetGuildProfileSheet.Companion;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
WidgetGuildProfileSheet.Companion.show$default(companion, parentFragmentManager, true, WidgetGuildScheduledEventUpsellBottomSheet.access$getGuildId$p(this.this$0), 0, true, 8, null);
} else {
WidgetGuildScheduledEventListBottomSheet.Companion companion2 = WidgetGuildScheduledEventListBottomSheet.Companion;
FragmentManager parentFragmentManager2 = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager2, "parentFragmentManager");
WidgetGuildScheduledEventListBottomSheet.Companion.show$default(companion2, parentFragmentManager2, WidgetGuildScheduledEventUpsellBottomSheet.access$getGuildId$p(this.this$0), null, 4, null);
}
this.this$0.dismiss();
}
}

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 /* 2131364179 */:
case R.id.menu_chat_add_friend /* 2131364181 */:
WidgetFriendsAdd.Companion.show$default(WidgetFriendsAdd.Companion, context, null, "Toolbar", 2, null);
break;
case R.id.menu_chat_search /* 2131364180 */:
case R.id.menu_chat_search /* 2131364182 */:
launchForSearch(context);
break;
case R.id.menu_chat_side_panel /* 2131364181 */:
case R.id.menu_chat_side_panel /* 2131364183 */:
this.$panelLayout.openEndPanel();
break;
case R.id.menu_chat_start_call /* 2131364182 */:
case R.id.menu_chat_start_call /* 2131364184 */:
privateCallLauncher.launchVoiceCall(this.$this_getOnSelectedAction.getChannelId());
break;
case R.id.menu_chat_start_group /* 2131364183 */:
case R.id.menu_chat_start_group /* 2131364185 */:
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 /* 2131364184 */:
case R.id.menu_chat_start_video_call /* 2131364186 */:
privateCallLauncher.launchVideoCall(this.$this_getOnSelectedAction.getChannelId());
break;
case R.id.menu_chat_stop_call /* 2131364185 */:
case R.id.menu_chat_stop_call /* 2131364187 */:
StoreStream.Companion.getVoiceChannelSelected().clear();
break;
}

View File

@ -1,6 +1,8 @@
package com.discord.widgets.home;
import com.discord.api.permission.Permission;
import com.discord.models.experiments.domain.Experiment;
import com.discord.stores.StoreExperiments;
import com.discord.stores.StoreGuildWelcomeScreens;
import com.discord.stores.StoreLurking;
import com.discord.stores.StorePermissions;
@ -12,6 +14,7 @@ import rx.Observable;
import rx.functions.Func3;
/* compiled from: WidgetHomeViewModel.kt */
public final class WidgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1<T, R> implements b<Long, Observable<? extends WidgetHomeViewModel.GuildInfo>> {
public final /* synthetic */ StoreExperiments $storeExperiments;
public final /* synthetic */ StoreGuildWelcomeScreens $storeGuildWelcomeScreens;
public final /* synthetic */ StoreLurking $storeLurking;
public final /* synthetic */ StorePermissions $storePermissions;
@ -20,8 +23,10 @@ public final class WidgetHomeViewModel$Companion$observeStoreState$guildInfoObse
/* renamed from: com.discord.widgets.home.WidgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1$1 reason: invalid class name */
public static final class AnonymousClass1<T1, T2, T3, R> implements Func3<Boolean, StoreGuildWelcomeScreens.State, Long, WidgetHomeViewModel.GuildInfo> {
public final /* synthetic */ Long $selectedGuildId;
public final /* synthetic */ WidgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1 this$0;
public AnonymousClass1(Long l) {
public AnonymousClass1(WidgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1 widgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1, Long l) {
this.this$0 = widgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1;
this.$selectedGuildId = l;
}
@ -30,19 +35,26 @@ public final class WidgetHomeViewModel$Companion$observeStoreState$guildInfoObse
m.checkNotNullExpressionValue(l2, "selectedGuildId");
long longValue = l2.longValue();
m.checkNotNullExpressionValue(bool, "isLurking");
return new WidgetHomeViewModel.GuildInfo(longValue, bool.booleanValue(), state, l != null ? PermissionUtils.can(Permission.MANAGE_EVENTS, Long.valueOf(l.longValue())) : false);
boolean booleanValue = bool.booleanValue();
boolean can = l != null ? PermissionUtils.can(Permission.MANAGE_EVENTS, Long.valueOf(l.longValue())) : false;
StoreExperiments storeExperiments = this.this$0.$storeExperiments;
Long l3 = this.$selectedGuildId;
m.checkNotNullExpressionValue(l3, "selectedGuildId");
Experiment guildExperiment = storeExperiments.getGuildExperiment("2021-06_stage_events", l3.longValue(), false);
return new WidgetHomeViewModel.GuildInfo(longValue, booleanValue, state, can, guildExperiment != null && guildExperiment.getBucket() == 1);
}
}
public WidgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1(StoreLurking storeLurking, StoreGuildWelcomeScreens storeGuildWelcomeScreens, StorePermissions storePermissions) {
public WidgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1(StoreLurking storeLurking, StoreGuildWelcomeScreens storeGuildWelcomeScreens, StorePermissions storePermissions, StoreExperiments storeExperiments) {
this.$storeLurking = storeLurking;
this.$storeGuildWelcomeScreens = storeGuildWelcomeScreens;
this.$storePermissions = storePermissions;
this.$storeExperiments = storeExperiments;
}
public final Observable<? extends WidgetHomeViewModel.GuildInfo> call(Long l) {
StoreLurking storeLurking = this.$storeLurking;
m.checkNotNullExpressionValue(l, "selectedGuildId");
return Observable.i(storeLurking.isLurkingObs(l.longValue()), this.$storeGuildWelcomeScreens.observeGuildWelcomeScreen(l.longValue()), this.$storePermissions.observePermissionsForGuild(l.longValue()), new AnonymousClass1(l));
return Observable.i(storeLurking.isLurkingObs(l.longValue()), this.$storeGuildWelcomeScreens.observeGuildWelcomeScreen(l.longValue()), this.$storePermissions.observePermissionsForGuild(l.longValue()), new AnonymousClass1(this, l));
}
}

View File

@ -119,7 +119,7 @@ public final class WidgetHomeViewModel extends AppViewModel<ViewState> {
}
private final Observable<StoreState> observeStoreState(StoreGuildSelected storeGuildSelected, StoreNavigation storeNavigation, StoreLurking storeLurking, StoreUser storeUser, StoreGuildWelcomeScreens storeGuildWelcomeScreens, StoreChannelsSelected storeChannelsSelected, StoreExperiments storeExperiments, StorePermissions storePermissions) {
Observable<StoreState> e = Observable.e(storeNavigation.observeLeftPanelState(), storeNavigation.observeRightPanelState(), storeGuildSelected.observeSelectedGuildId().X(new WidgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1(storeLurking, storeGuildWelcomeScreens, storePermissions)), StoreUser.observeMe$default(storeUser, false, 1, null), storeChannelsSelected.observeResolvedSelectedChannel(), storeExperiments.observeUserExperiment("2021-05_per_guild_avatars", false), storeExperiments.observeUserExperiment("2021-09_events_upsell", true), WidgetHomeViewModel$Companion$observeStoreState$1.INSTANCE);
Observable<StoreState> e = Observable.e(storeNavigation.observeLeftPanelState(), storeNavigation.observeRightPanelState(), storeGuildSelected.observeSelectedGuildId().X(new WidgetHomeViewModel$Companion$observeStoreState$guildInfoObservable$1(storeLurking, storeGuildWelcomeScreens, storePermissions, storeExperiments)), StoreUser.observeMe$default(storeUser, false, 1, null), storeChannelsSelected.observeResolvedSelectedChannel(), storeExperiments.observeUserExperiment("2021-05_per_guild_avatars", false), storeExperiments.observeUserExperiment("2021-09_events_upsell", false), WidgetHomeViewModel$Companion$observeStoreState$1.INSTANCE);
m.checkNotNullExpressionValue(e, "Observable.combineLatest…t == 1,\n )\n }");
return e;
}
@ -324,19 +324,21 @@ public final class WidgetHomeViewModel extends AppViewModel<ViewState> {
/* compiled from: WidgetHomeViewModel.kt */
public static final class GuildInfo {
private final boolean canGuildShowEvents;
private final boolean canManageEvents;
private final long guildId;
private final boolean isLurking;
private final StoreGuildWelcomeScreens.State welcomeScreenState;
public GuildInfo(long j, boolean z2, StoreGuildWelcomeScreens.State state, boolean z3) {
public GuildInfo(long j, boolean z2, StoreGuildWelcomeScreens.State state, boolean z3, boolean z4) {
this.guildId = j;
this.isLurking = z2;
this.welcomeScreenState = state;
this.canManageEvents = z3;
this.canGuildShowEvents = z4;
}
public static /* synthetic */ GuildInfo copy$default(GuildInfo guildInfo, long j, boolean z2, StoreGuildWelcomeScreens.State state, boolean z3, int i, Object obj) {
public static /* synthetic */ GuildInfo copy$default(GuildInfo guildInfo, long j, boolean z2, StoreGuildWelcomeScreens.State state, boolean z3, boolean z4, int i, Object obj) {
if ((i & 1) != 0) {
j = guildInfo.guildId;
}
@ -349,7 +351,10 @@ public final class WidgetHomeViewModel extends AppViewModel<ViewState> {
if ((i & 8) != 0) {
z3 = guildInfo.canManageEvents;
}
return guildInfo.copy(j, z2, state, z3);
if ((i & 16) != 0) {
z4 = guildInfo.canGuildShowEvents;
}
return guildInfo.copy(j, z2, state, z3, z4);
}
public final long component1() {
@ -368,8 +373,12 @@ public final class WidgetHomeViewModel extends AppViewModel<ViewState> {
return this.canManageEvents;
}
public final GuildInfo copy(long j, boolean z2, StoreGuildWelcomeScreens.State state, boolean z3) {
return new GuildInfo(j, z2, state, z3);
public final boolean component5() {
return this.canGuildShowEvents;
}
public final GuildInfo copy(long j, boolean z2, StoreGuildWelcomeScreens.State state, boolean z3, boolean z4) {
return new GuildInfo(j, z2, state, z3, z4);
}
public boolean equals(Object obj) {
@ -380,7 +389,11 @@ public final class WidgetHomeViewModel extends AppViewModel<ViewState> {
return false;
}
GuildInfo guildInfo = (GuildInfo) obj;
return this.guildId == guildInfo.guildId && this.isLurking == guildInfo.isLurking && m.areEqual(this.welcomeScreenState, guildInfo.welcomeScreenState) && this.canManageEvents == guildInfo.canManageEvents;
return this.guildId == guildInfo.guildId && this.isLurking == guildInfo.isLurking && m.areEqual(this.welcomeScreenState, guildInfo.welcomeScreenState) && this.canManageEvents == guildInfo.canManageEvents && this.canGuildShowEvents == guildInfo.canGuildShowEvents;
}
public final boolean getCanGuildShowEvents() {
return this.canGuildShowEvents;
}
public final boolean getCanManageEvents() {
@ -409,10 +422,18 @@ public final class WidgetHomeViewModel extends AppViewModel<ViewState> {
StoreGuildWelcomeScreens.State state = this.welcomeScreenState;
int hashCode = (i5 + (state != null ? state.hashCode() : 0)) * 31;
boolean z3 = this.canManageEvents;
if (!z3) {
i = z3 ? 1 : 0;
if (z3) {
z3 = true;
}
return hashCode + i;
int i6 = z3 ? 1 : 0;
int i7 = z3 ? 1 : 0;
int i8 = z3 ? 1 : 0;
int i9 = (hashCode + i6) * 31;
boolean z4 = this.canGuildShowEvents;
if (!z4) {
i = z4 ? 1 : 0;
}
return i9 + i;
}
public final boolean isLurking() {
@ -427,7 +448,9 @@ public final class WidgetHomeViewModel extends AppViewModel<ViewState> {
P.append(", welcomeScreenState=");
P.append(this.welcomeScreenState);
P.append(", canManageEvents=");
return a.L(P, this.canManageEvents, ")");
P.append(this.canManageEvents);
P.append(", canGuildShowEvents=");
return a.L(P, this.canGuildShowEvents, ")");
}
}
@ -861,7 +884,7 @@ public final class WidgetHomeViewModel extends AppViewModel<ViewState> {
emitShowChannelOnboardingSheet();
} else if (shouldShowGuildIdentityMarketingSheet(this.previousLeftPanelState, leftPanelState, storeState.getMe(), storeState.isInGuildIdentityExperiment())) {
emitShowGuildIdentityMarketingSheet(guildId);
} else if (shouldShowGuildEventUpsell(storeState.getGuildInfo().getCanManageEvents(), storeState.isInEventsUpsellExperiment())) {
} else if (shouldShowGuildEventUpsell(storeState.getGuildInfo().getCanManageEvents(), storeState.getGuildInfo().getCanGuildShowEvents(), storeState.isInEventsUpsellExperiment())) {
SharedPreferences.Editor edit = this.sharedPreferences.edit();
m.checkNotNullExpressionValue(edit, "editor");
edit.putBoolean(WidgetGuildScheduledEventUpsellBottomSheet.GUILD_EVENT_UPSELL_CACHE_KEY, true);
@ -882,8 +905,8 @@ public final class WidgetHomeViewModel extends AppViewModel<ViewState> {
return ((panelState instanceof PanelState.d) && (panelState2 instanceof PanelState.c)) && ((j > 0 ? 1 : (j == 0 ? 0 : -1)) != 0) && z2 && !this.channelOnboardingManager.hasUserSeenChannelOnboarding();
}
private final boolean shouldShowGuildEventUpsell(boolean z2, boolean z3) {
return z2 && !this.sharedPreferences.getBoolean(WidgetGuildScheduledEventUpsellBottomSheet.GUILD_EVENT_UPSELL_CACHE_KEY, false) && z3;
private final boolean shouldShowGuildEventUpsell(boolean z2, boolean z3, boolean z4) {
return z2 && !this.sharedPreferences.getBoolean(WidgetGuildScheduledEventUpsellBottomSheet.GUILD_EVENT_UPSELL_CACHE_KEY, false) && z4 && z3;
}
private final boolean shouldShowGuildIdentityMarketingSheet(PanelState panelState, PanelState panelState2, MeUser meUser, boolean z2) {

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 /* 2131364202 */:
case R.id.menu_media_browser /* 2131364204 */:
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 /* 2131364203 */:
case R.id.menu_media_download /* 2131364205 */:
this.this$0.requestMediaDownload(new AnonymousClass1(this, context));
return;
case R.id.menu_media_share /* 2131364204 */:
case R.id.menu_media_share /* 2131364206 */:
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 = 2131364348;
public static final int notice_cancel = 2131364350;
public static final Companion Companion = new Companion(null);
/* renamed from: OK_BUTTON */
public static final int notice_ok = 2131364353;
public static final int notice_ok = 2131364355;
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 /* 2131364220 */:
case R.id.menu_sort_channel /* 2131364222 */:
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 /* 2131364221 */:
case R.id.menu_sort_done /* 2131364223 */:
WidgetServerSettingsChannels.access$getChannelSortTypeSubject$p(this.this$0).onNext(-1);
return;
default:

View File

@ -571,135 +571,135 @@ public final class WidgetServerSettingsEditRole extends AppFragment {
for (CheckedSetting checkedSetting : n.listOf((Object[]) new CheckedSetting[]{getBinding().g, getBinding().h, getBinding().i, getBinding().j, getBinding().m, getBinding().r, getBinding().u, getBinding().v, getBinding().f1821y, getBinding().C, getBinding().f1822z, getBinding().w, getBinding().A, getBinding().B, getBinding().D, getBinding().E, getBinding().H, getBinding().I, getBinding().N, getBinding().O, getBinding().o, getBinding().n, getBinding().P, getBinding().Q, getBinding().R, getBinding().S, getBinding().f, getBinding().T, getBinding().V, getBinding().Z, getBinding().f1817b0, getBinding().Y, getBinding().W, getBinding().X, getBinding().f1816a0, getBinding().G, getBinding().U, getBinding().J, getBinding().f1820x})) {
m.checkNotNullExpressionValue(checkedSetting, "setting");
switch (checkedSetting.getId()) {
case R.id.role_settings_add_reactions /* 2131364793 */:
case R.id.role_settings_add_reactions /* 2131364795 */:
j = 64;
break;
case R.id.role_settings_administrator /* 2131364794 */:
case R.id.role_settings_administrator /* 2131364796 */:
j = 8;
break;
case R.id.role_settings_attach_files /* 2131364795 */:
case R.id.role_settings_attach_files /* 2131364797 */:
j = Permission.ATTACH_FILES;
break;
case R.id.role_settings_ban_members /* 2131364796 */:
case R.id.role_settings_ban_members /* 2131364798 */:
j = 4;
break;
case R.id.role_settings_change_nickname /* 2131364797 */:
case R.id.role_settings_change_nickname /* 2131364799 */:
j = Permission.CHANGE_NICKNAME;
break;
case R.id.role_settings_color_disabled_overlay /* 2131364798 */:
case R.id.role_settings_color_selector_container /* 2131364799 */:
case R.id.role_settings_current_color_display /* 2131364803 */:
case R.id.role_settings_edit_name_disabled_overlay /* 2131364804 */:
case R.id.role_settings_hoist_checkedsetting /* 2131364806 */:
case R.id.role_settings_icon_container /* 2131364807 */:
case R.id.role_settings_mentionable_checkedsetting /* 2131364819 */:
case R.id.role_settings_overview_scroll /* 2131364820 */:
case R.id.role_settings_role_icon /* 2131364825 */:
case R.id.role_settings_role_icon_divider /* 2131364826 */:
case R.id.role_settings_role_icon_header /* 2131364827 */:
case R.id.role_settings_color_disabled_overlay /* 2131364800 */:
case R.id.role_settings_color_selector_container /* 2131364801 */:
case R.id.role_settings_current_color_display /* 2131364805 */:
case R.id.role_settings_edit_name_disabled_overlay /* 2131364806 */:
case R.id.role_settings_hoist_checkedsetting /* 2131364808 */:
case R.id.role_settings_icon_container /* 2131364809 */:
case R.id.role_settings_mentionable_checkedsetting /* 2131364821 */:
case R.id.role_settings_overview_scroll /* 2131364822 */:
case R.id.role_settings_role_icon /* 2131364827 */:
case R.id.role_settings_role_icon_divider /* 2131364828 */:
case R.id.role_settings_role_icon_header /* 2131364829 */:
default:
j = 0;
break;
case R.id.role_settings_create_instant_invite /* 2131364800 */:
case R.id.role_settings_create_instant_invite /* 2131364802 */:
j = 1;
break;
case R.id.role_settings_create_private_threads /* 2131364801 */:
case R.id.role_settings_create_private_threads /* 2131364803 */:
j = Permission.CREATE_PRIVATE_THREADS;
break;
case R.id.role_settings_create_public_threads /* 2131364802 */:
case R.id.role_settings_create_public_threads /* 2131364804 */:
j = Permission.CREATE_PUBLIC_THREADS;
break;
case R.id.role_settings_embed_links /* 2131364805 */:
case R.id.role_settings_embed_links /* 2131364807 */:
j = Permission.EMBED_LINKS;
break;
case R.id.role_settings_kick_members /* 2131364808 */:
case R.id.role_settings_kick_members /* 2131364810 */:
j = 2;
break;
case R.id.role_settings_manage_channels /* 2131364809 */:
case R.id.role_settings_manage_channels /* 2131364811 */:
j = 16;
break;
case R.id.role_settings_manage_emojis_and_stickers /* 2131364810 */:
case R.id.role_settings_manage_emojis_and_stickers /* 2131364812 */:
j = Permission.MANAGE_EMOJIS_AND_STICKERS;
break;
case R.id.role_settings_manage_events /* 2131364811 */:
case R.id.role_settings_manage_events /* 2131364813 */:
j = Permission.MANAGE_EVENTS;
break;
case R.id.role_settings_manage_messages /* 2131364812 */:
case R.id.role_settings_manage_messages /* 2131364814 */:
j = Permission.MANAGE_MESSAGES;
break;
case R.id.role_settings_manage_nicknames /* 2131364813 */:
case R.id.role_settings_manage_nicknames /* 2131364815 */:
j = Permission.MANAGE_NICKNAMES;
break;
case R.id.role_settings_manage_roles /* 2131364814 */:
case R.id.role_settings_manage_roles /* 2131364816 */:
j = Permission.MANAGE_ROLES;
break;
case R.id.role_settings_manage_server /* 2131364815 */:
case R.id.role_settings_manage_server /* 2131364817 */:
j = 32;
break;
case R.id.role_settings_manage_threads /* 2131364816 */:
case R.id.role_settings_manage_threads /* 2131364818 */:
j = Permission.MANAGE_THREADS;
break;
case R.id.role_settings_manage_webhooks /* 2131364817 */:
case R.id.role_settings_manage_webhooks /* 2131364819 */:
j = Permission.MANAGE_WEBHOOKS;
break;
case R.id.role_settings_mention_everyone /* 2131364818 */:
case R.id.role_settings_mention_everyone /* 2131364820 */:
j = Permission.MENTION_EVERYONE;
break;
case R.id.role_settings_priority_speaker /* 2131364821 */:
case R.id.role_settings_priority_speaker /* 2131364823 */:
j = 256;
break;
case R.id.role_settings_read_message_history /* 2131364822 */:
case R.id.role_settings_read_message_history /* 2131364824 */:
j = Permission.READ_MESSAGE_HISTORY;
break;
case R.id.role_settings_read_messages /* 2131364823 */:
case R.id.role_settings_read_messages /* 2131364825 */:
j = Permission.VIEW_CHANNEL;
break;
case R.id.role_settings_request_to_speak /* 2131364824 */:
case R.id.role_settings_request_to_speak /* 2131364826 */:
j = Permission.REQUEST_TO_SPEAK;
break;
case R.id.role_settings_send_messages /* 2131364828 */:
case R.id.role_settings_send_messages /* 2131364830 */:
j = Permission.SEND_MESSAGES;
break;
case R.id.role_settings_send_messages_in_threads /* 2131364829 */:
case R.id.role_settings_send_messages_in_threads /* 2131364831 */:
j = Permission.SEND_MESSAGES_IN_THREADS;
break;
case R.id.role_settings_send_tts_messages /* 2131364830 */:
case R.id.role_settings_send_tts_messages /* 2131364832 */:
j = Permission.SEND_TTS_MESSAGES;
break;
case R.id.role_settings_use_application_commands /* 2131364831 */:
case R.id.role_settings_use_application_commands /* 2131364833 */:
j = Permission.USE_APPLICATION_COMMANDS;
break;
case R.id.role_settings_use_external_emojis /* 2131364832 */:
case R.id.role_settings_use_external_emojis /* 2131364834 */:
j = Permission.USE_EXTERNAL_EMOJIS;
break;
case R.id.role_settings_use_external_stickers /* 2131364833 */:
case R.id.role_settings_use_external_stickers /* 2131364835 */:
j = Permission.USE_EXTERNAL_STICKERS;
break;
case R.id.role_settings_view_audit_log /* 2131364834 */:
case R.id.role_settings_view_audit_log /* 2131364836 */:
j = 128;
break;
case R.id.role_settings_view_guild_analytics /* 2131364835 */:
case R.id.role_settings_view_guild_analytics /* 2131364837 */:
j = Permission.VIEW_GUILD_ANALYTICS;
break;
case R.id.role_settings_voice_connect /* 2131364836 */:
case R.id.role_settings_voice_connect /* 2131364838 */:
j = Permission.CONNECT;
break;
case R.id.role_settings_voice_deafen_members /* 2131364837 */:
case R.id.role_settings_voice_deafen_members /* 2131364839 */:
j = Permission.DEAFEN_MEMBERS;
break;
case R.id.role_settings_voice_move_members /* 2131364838 */:
case R.id.role_settings_voice_move_members /* 2131364840 */:
j = Permission.MOVE_MEMBERS;
break;
case R.id.role_settings_voice_mute_members /* 2131364839 */:
case R.id.role_settings_voice_mute_members /* 2131364841 */:
j = Permission.MUTE_MEMBERS;
break;
case R.id.role_settings_voice_speak /* 2131364840 */:
case R.id.role_settings_voice_speak /* 2131364842 */:
j = Permission.SPEAK;
break;
case R.id.role_settings_voice_use_voice_activity /* 2131364841 */:
case R.id.role_settings_voice_use_voice_activity /* 2131364843 */:
j = Permission.USE_VAD;
break;
case R.id.role_settings_voice_video /* 2131364842 */:
case R.id.role_settings_voice_video /* 2131364844 */:
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 /* 2131364169 */:
case R.id.menu_audit_log_sort_actions /* 2131364171 */:
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 /* 2131364170 */:
case R.id.menu_audit_log_sort_users /* 2131364172 */:
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

@ -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 /* 2131364215 */:
case R.id.menu_settings_debugging /* 2131364217 */:
WidgetDebugging.Companion companion = WidgetDebugging.Companion;
m.checkNotNullExpressionValue(context, "context");
companion.launch(context);
return;
case R.id.menu_settings_log_out /* 2131364216 */:
case R.id.menu_settings_log_out /* 2131364218 */:
WidgetSettings widgetSettings = this.this$0;
m.checkNotNullExpressionValue(context, "context");
WidgetSettings.access$showLogoutDialog(widgetSettings, context);

View File

@ -314,7 +314,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 + " - 94.7 - Beta (94107)");
textView.setText(string + " - 94.8 - Beta (94108)");
binding.A.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

@ -39,7 +39,7 @@ public final class WidgetGlobalSearch$configureUI$1 extends o implements Functio
FragmentManager parentFragmentManager2 = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager2, "parentFragmentManager");
Guild guild = item.getGuild();
WidgetGuildProfileSheet.Companion.show$default(companion2, parentFragmentManager2, false, guild != null ? guild.getId() : 0, 0, 8, null);
WidgetGuildProfileSheet.Companion.show$default(companion2, parentFragmentManager2, false, guild != null ? guild.getId() : 0, 0, false, 24, null);
}
}
}

View File

@ -52,21 +52,21 @@ public final class WidgetCallFullscreen$configureMenu$1<T1, T2> implements Actio
public final void call(MenuItem menuItem, Context context) {
m.checkNotNullExpressionValue(menuItem, "menuItem");
switch (menuItem.getItemId()) {
case R.id.menu_call_overlay_launcher /* 2131364173 */:
case R.id.menu_call_overlay_launcher /* 2131364175 */:
DiscordOverlayService.Companion companion = DiscordOverlayService.Companion;
m.checkNotNullExpressionValue(context, "context");
companion.launchForConnect(context);
return;
case R.id.menu_call_switch_camera /* 2131364174 */:
case R.id.menu_call_switch_camera /* 2131364176 */:
WidgetCallFullscreen.access$getViewModel$p(this.this$0).switchCameraInputPressed();
return;
case R.id.menu_call_video_list /* 2131364175 */:
case R.id.menu_call_video_list /* 2131364177 */:
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 /* 2131364176 */:
case R.id.menu_call_voice_settings /* 2131364178 */:
WidgetVoiceSettingsBottomSheet.Companion companion3 = WidgetVoiceSettingsBottomSheet.Companion;
Long valueOf = Long.valueOf(this.$viewState.getCallModel().getChannel().h());
FragmentManager parentFragmentManager2 = this.this$0.getParentFragmentManager();

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<view xmlns:android="http://schemas.android.com/apk/res/android" android:theme="@style/res_2131952325_themeoverlay_appcompat_dark" android:layout_gravity="bottom|center_vertical|center_horizontal|center" android:layout_width="wrap_content" android:layout_height="wrap_content" class="com.google.android.material.snackbar.Snackbar$SnackbarLayout" style="@style/res_2131952707_widget_design_snackbar"/>
<view xmlns:android="http://schemas.android.com/apk/res/android" android:theme="@style/res_2131952325_themeoverlay_appcompat_dark" android:layout_gravity="bottom|center_vertical|center_horizontal|center" android:layout_width="wrap_content" android:layout_height="wrap_content" class="com.google.android.material.snackbar.Snackbar$SnackbarLayout" style="@style/res_2131952708_widget_design_snackbar"/>

View File

@ -3,5 +3,5 @@
<ImageView android:id="@+id/progress_file_image" android:layout_width="16dp" android:layout_height="16dp" android:src="@drawable/ic_uploads_generic_dark" android:scaleType="fitCenter" android:baselineAlignBottom="true" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="@+id/progress_text" app:layout_constraintEnd_toStartOf="@+id/progress_text" app:layout_constraintHorizontal_bias="0" app:layout_constraintHorizontal_chainStyle="2" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toLeftOf="@+id/progress_text" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="@+id/progress_text"/>
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/primary_100" android:ellipsize="middle" android:id="@+id/progress_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:singleLine="true" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@+id/progress_bar" app:layout_constraintEnd_toStartOf="@+id/progress_subtext" app:layout_constraintLeft_toRightOf="@+id/progress_file_image" app:layout_constraintRight_toLeftOf="@+id/progress_subtext" app:layout_constraintStart_toEndOf="@+id/progress_file_image" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2" style="@style/UiKit_TextView_Semibold"/>
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/primary_200" android:id="@+id/progress_subtext" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" android:layout_marginHorizontal="8dp" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@+id/progress_text" app:layout_constraintEnd_toEndOf="0" app:layout_constraintLeft_toRightOf="@+id/progress_text" app:layout_constraintRight_toRightOf="0" app:layout_constraintStart_toEndOf="@+id/progress_text"/>
<ProgressBar android:id="@+id/progress_bar" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:maxHeight="1dp" android:max="100" android:minHeight="1dp" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/progress_text" style="@style/res_2131952682_widget_appcompat_progressbar_horizontal"/>
<ProgressBar android:id="@+id/progress_bar" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:maxHeight="1dp" android:max="100" android:minHeight="1dp" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/progress_text" style="@style/res_2131952683_widget_appcompat_progressbar_horizontal"/>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -43,7 +43,7 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent">
<com.discord.views.SearchInputView android:id="@+id/bug_report_feature_search" android:paddingTop="4dp" android:paddingBottom="4dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="12dp" android:layout_marginTop="16dp" android:layout_marginRight="12dp" android:layout_marginBottom="16dp" android:layout_marginHorizontal="12dp" android:layout_marginVertical="16dp" android:paddingVertical="4dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:siv_hint="Search feature areas" app:siv_search_content_description="@string/search_channels"/>
<ProgressBar android:id="@+id/bug_report_feature_loader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/bug_report_feature_search" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:id="@+id/bug_report_feature_loader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/bug_report_feature_search" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/bug_report_feature_recycler" android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginTop="16dp" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/bug_report_feature_search"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.discord.app.AppViewFlipper>

View File

@ -9,7 +9,7 @@
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@+id/channel_picker_app_flipper" style="@style/UiKit_ViewGroup_AppViewFlipper_InCoordinatorLayout">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/channel_picker_recycler" android:layout_height="match_parent" style="@style/UiKit_ViewGroup_RecyclerView_AppBarScrollingViewBehavior"/>
</com.discord.app.AppViewFlipper>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -4,7 +4,7 @@
<androidx.appcompat.widget.Toolbar style="@style/AppTheme_Toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@+id/server_settings_guild_role_subscription_edit_tier_view_flipper" android:layout_height="0dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/server_settings_guild_role_subscription_edit_tier_app_bar" style="@style/UiKit_ViewGroup_AppViewFlipper_InCoordinatorLayout">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<androidx.constraintlayout.widget.ConstraintLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior">
<com.google.android.material.tabs.TabLayout android:id="@+id/guild_role_subscription_edit_tier_tabs" android:background="?attr/toolbarColor" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:tabGravity="0" app:tabIndicatorHeight="0dp" app:tabMaxWidth="0dp" app:tabMode="1" app:tabSelectedTextColor="?attr/tabSelectedTextColor" app:tabTextAppearance="@style/App_TabLayout_Text" app:tabTextColor="?attr/tabTextColor"/>
<TextView android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_role_subscription_edit_tier_publish_description" android:paddingTop="12dp" android:paddingBottom="12dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/guild_role_subscription_setup_default_padding" android:layout_marginRight="@dimen/guild_role_subscription_setup_default_padding" android:text="@string/guild_settings_role_subscription_tier_edit_publish_draft_description" android:layout_marginHorizontal="@dimen/guild_role_subscription_setup_default_padding" android:paddingVertical="12dp" app:layout_constrainedWidth="true" app:layout_constraintEnd_toStartOf="@+id/guild_role_subscription_edit_tier_publish" app:layout_constraintHorizontal_bias="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_role_subscription_edit_tier_tabs" style="@style/UiKit_TextView_Medium"/>

View File

@ -4,7 +4,7 @@
<androidx.appcompat.widget.Toolbar style="@style/AppTheme_Toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@+id/server_settings_guild_role_subscription_view_flipper" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/UiKit_ViewGroup_AppViewFlipper_InCoordinatorLayout">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<include android:id="@+id/empty_guild_role_subscription" layout="@layout/view_server_settings_empty_guild_role_subscription"/>
<androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="match_parent">
<LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" style="@style/UiKit_ViewGroup_Page_LinearLayout">
<com.discord.app.AppViewFlipper android:id="@+id/role_members_app_view_flipper" android:layout_width="match_parent" android:layout_height="match_parent">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">
<com.discord.views.SearchInputView android:id="@+id/server_settings_role_members_search_input" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginTop="14dp" android:layout_marginRight="16dp" android:layout_marginBottom="14dp" android:layout_marginHorizontal="16dp" android:layout_marginVertical="14dp" app:siv_hint="@string/role_add_members_search"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/server_settings_role_members_list" android:background="@drawable/drawable_rect_rounded_bg_secondary" android:paddingTop="8dp" android:paddingBottom="8dp" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="@dimen/guild_role_subscription_setup_default_padding" android:paddingVertical="8dp" style="@style/UiKit_ViewGroup_RecyclerView"/>

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<view xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_gravity="start" android:id="@+id/select_dialog_listview" android:scrollbars="vertical" android:fadingEdge="none" android:clipToPadding="false" android:layout_width="match_parent" android:layout_height="match_parent" android:cacheColorHint="@null" android:divider="?attr/listDividerAlertDialog" android:overScrollMode="ifContentScrolls" android:textAlignment="viewStart" app:paddingBottomNoButtons="@dimen/abc_dialog_list_padding_bottom_no_buttons" app:paddingTopNoTitle="@dimen/abc_dialog_list_padding_top_no_title" class="androidx.appcompat.app.AlertController$RecycleListView" style="@style/res_2131952675_widget_appcompat_listview"/>
<view xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_gravity="start" android:id="@+id/select_dialog_listview" android:scrollbars="vertical" android:fadingEdge="none" android:clipToPadding="false" android:layout_width="match_parent" android:layout_height="match_parent" android:cacheColorHint="@null" android:divider="?attr/listDividerAlertDialog" android:overScrollMode="ifContentScrolls" android:textAlignment="viewStart" app:paddingBottomNoButtons="@dimen/abc_dialog_list_padding_bottom_no_buttons" app:paddingTopNoTitle="@dimen/abc_dialog_list_padding_top_no_title" class="androidx.appcompat.app.AlertController$RecycleListView" style="@style/res_2131952676_widget_appcompat_listview"/>

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<view xmlns:android="http://schemas.android.com/apk/res/android" android:theme="@style/res_2131952325_themeoverlay_appcompat_dark" android:layout_gravity="bottom" android:layout_width="match_parent" android:layout_height="wrap_content" class="com.google.android.material.snackbar.Snackbar$SnackbarLayout" style="@style/res_2131952707_widget_design_snackbar"/>
<view xmlns:android="http://schemas.android.com/apk/res/android" android:theme="@style/res_2131952325_themeoverlay_appcompat_dark" android:layout_gravity="bottom" android:layout_width="match_parent" android:layout_height="wrap_content" class="com.google.android.material.snackbar.Snackbar$SnackbarLayout" style="@style/res_2131952708_widget_design_snackbar"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.textfield.TextInputLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="wrap_content" android:layout_height="wrap_content" app:errorIconDrawable="@null" app:hintEnabled="false" app:shapeAppearance="?attr/shapeAppearanceMediumComponent" app:shapeAppearanceOverlay="@null" style="@style/res_2131952808_widget_materialcomponents_textinputlayout_outlinedbox">
<EditText android:id="@+id/material_timepicker_edit_text" android:paddingBottom="6dp" android:layout_width="96dp" android:layout_height="80dp" android:textCursorDrawable="@drawable/material_cursor_drawable" style="@style/res_2131952817_widget_materialcomponents_timepicker_display_textinputedittext"/>
<com.google.android.material.textfield.TextInputLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="wrap_content" android:layout_height="wrap_content" app:errorIconDrawable="@null" app:hintEnabled="false" app:shapeAppearance="?attr/shapeAppearanceMediumComponent" app:shapeAppearanceOverlay="@null" style="@style/res_2131952809_widget_materialcomponents_textinputlayout_outlinedbox">
<EditText android:id="@+id/material_timepicker_edit_text" android:paddingBottom="6dp" android:layout_width="96dp" android:layout_height="80dp" android:textCursorDrawable="@drawable/material_cursor_drawable" style="@style/res_2131952818_widget_materialcomponents_timepicker_display_textinputedittext"/>
<TextView android:textAppearance="?attr/textAppearanceCaption" android:id="@+id/material_label" android:focusable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:labelFor="@+id/material_timepicker_edit_text"/>
</com.google.android.material.textfield.TextInputLayout>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:id="@+id/action_container" android:layout_width="0dp" android:layout_height="48dp" android:layout_weight="1" android:paddingStart="4dp" style="@style/res_2131952698_widget_compat_notificationactioncontainer">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:id="@+id/action_container" android:layout_width="0dp" android:layout_height="48dp" android:layout_weight="1" android:paddingStart="4dp" style="@style/res_2131952699_widget_compat_notificationactioncontainer">
<ImageView android:layout_gravity="left|center_vertical|center_horizontal|center|start" android:id="@+id/action_image" android:layout_width="@dimen/notification_action_icon_size" android:layout_height="@dimen/notification_action_icon_size" android:scaleType="centerInside"/>
<TextView android:ellipsize="end" android:layout_gravity="left|center_vertical|center_horizontal|center|start" android:id="@+id/action_text" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:paddingStart="4dp" style="@style/res_2131952699_widget_compat_notificationactiontext"/>
<TextView android:ellipsize="end" android:layout_gravity="left|center_vertical|center_horizontal|center|start" android:id="@+id/action_text" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:paddingStart="4dp" style="@style/res_2131952700_widget_compat_notificationactiontext"/>
</LinearLayout>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:enabled="false" android:orientation="horizontal" android:id="@+id/action_container" android:background="@null" android:layout_width="0dp" android:layout_height="48dp" android:layout_weight="1" android:paddingStart="4dp" style="@style/res_2131952698_widget_compat_notificationactioncontainer">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:enabled="false" android:orientation="horizontal" android:id="@+id/action_container" android:background="@null" android:layout_width="0dp" android:layout_height="48dp" android:layout_weight="1" android:paddingStart="4dp" style="@style/res_2131952699_widget_compat_notificationactioncontainer">
<ImageView android:enabled="false" android:layout_gravity="left|center_vertical|center_horizontal|center|start" android:id="@+id/action_image" android:layout_width="@dimen/notification_action_icon_size" android:layout_height="@dimen/notification_action_icon_size" android:scaleType="centerInside" android:alpha="0.5"/>
<TextView android:enabled="false" android:ellipsize="end" android:layout_gravity="left|center_vertical|center_horizontal|center|start" android:id="@+id/action_text" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:alpha="0.5" android:paddingStart="4dp" style="@style/res_2131952699_widget_compat_notificationactiontext"/>
<TextView android:enabled="false" android:ellipsize="end" android:layout_gravity="left|center_vertical|center_horizontal|center|start" android:id="@+id/action_text" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:alpha="0.5" android:paddingStart="4dp" style="@style/res_2131952700_widget_compat_notificationactiontext"/>
</LinearLayout>

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.chip.Chip xmlns:android="http://schemas.android.com/apk/res/android" android:ellipsize="end" android:id="@+id/chip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" style="@style/res_2131952745_widget_materialcomponents_chip_action"/>
<com.google.android.material.chip.Chip xmlns:android="http://schemas.android.com/apk/res/android" android:ellipsize="end" android:id="@+id/chip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" style="@style/res_2131952746_widget_materialcomponents_chip_action"/>

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.chip.Chip xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:ellipsize="end" android:id="@+id/zero_corner_chip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" app:chipCornerRadius="0dp" style="@style/res_2131952745_widget_materialcomponents_chip_action"/>
<com.google.android.material.chip.Chip xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:ellipsize="end" android:id="@+id/zero_corner_chip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" app:chipCornerRadius="0dp" style="@style/res_2131952746_widget_materialcomponents_chip_action"/>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.chip.ChipGroup xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/chip_group" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="16dp">
<com.google.android.material.chip.Chip android:ellipsize="end" android:id="@+id/chip1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" style="@style/res_2131952748_widget_materialcomponents_chip_filter"/>
<com.google.android.material.chip.Chip android:ellipsize="end" android:id="@+id/chip2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" style="@style/res_2131952748_widget_materialcomponents_chip_filter"/>
<com.google.android.material.chip.Chip android:ellipsize="end" android:id="@+id/chip3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" style="@style/res_2131952748_widget_materialcomponents_chip_filter"/>
<com.google.android.material.chip.Chip android:ellipsize="end" android:id="@+id/chip1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" style="@style/res_2131952749_widget_materialcomponents_chip_filter"/>
<com.google.android.material.chip.Chip android:ellipsize="end" android:id="@+id/chip2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" style="@style/res_2131952749_widget_materialcomponents_chip_filter"/>
<com.google.android.material.chip.Chip android:ellipsize="end" android:id="@+id/chip3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chip_text" style="@style/res_2131952749_widget_materialcomponents_chip_filter"/>
</com.google.android.material.chip.ChipGroup>

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.appbar.MaterialToolbar xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/res_2131952823_widget_materialcomponents_toolbar_surface"/>
<com.google.android.material.appbar.MaterialToolbar xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/res_2131952824_widget_materialcomponents_toolbar_surface"/>

View File

@ -1,4 +1,4 @@
<?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:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="8dp">
<ProgressBar android:layout_width="24dp" android:layout_height="24dp" android:indeterminate="true" android:indeterminateTint="?attr/theme_chat_loading_spinner_color" android:indeterminateTintMode="src_in" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_width="24dp" android:layout_height="24dp" android:indeterminate="true" android:indeterminateTint="?attr/theme_chat_loading_spinner_color" android:indeterminateTintMode="src_in" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952682_widget_appcompat_progressbar"/>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -3,7 +3,7 @@
<TextView android:id="@+id/experiment_override_experiment_name" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constrainedHeight="true" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintTop_toTopOf="0" style="@style/UiKit_TextView_H2"/>
<TextView android:id="@+id/experiment_override_experiment_api_name" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constrainedHeight="true" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintTop_toBottomOf="@+id/experiment_override_experiment_name" style="@style/UiKit_TextView_Subtext"/>
<TextView android:id="@+id/experiment_override_bucket_descriptions" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:lineSpacingMultiplier="1" app:layout_constrainedHeight="true" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintTop_toBottomOf="@+id/experiment_override_experiment_api_name" style="@style/UiKit_TextView"/>
<com.google.android.material.card.MaterialCardView android:id="@+id/experiment_override_buckets_spinner_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="8dp" app:cardBackgroundColor="?attr/colorBackgroundFloating" app:cardCornerRadius="4dp" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952743_widget_materialcomponents_cardview">
<com.google.android.material.card.MaterialCardView android:id="@+id/experiment_override_buckets_spinner_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="8dp" app:cardBackgroundColor="?attr/colorBackgroundFloating" app:cardCornerRadius="4dp" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952744_widget_materialcomponents_cardview">
<Spinner android:id="@+id/experiment_override_buckets_spinner" android:layout_width="wrap_content" android:layout_height="wrap_content" android:dropDownSelector="@drawable/button_brand_500" android:popupBackground="?attr/colorBackgroundFloating" android:dropDownWidth="100dp" android:spinnerMode="dropdown" android:layout_marginStart="8dp"/>
</com.google.android.material.card.MaterialCardView>
<TextView android:id="@+id/experiment_override_clear" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" android:layout_height="0dp" android:text="Clear Override" app:layout_constrainedWidth="true" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/experiment_override_buckets_spinner_container" style="@style/UiKit_TextView_Link"/>

View File

@ -3,5 +3,5 @@
<ImageView android:id="@+id/progress_file_image" android:layout_width="16dp" android:layout_height="16dp" android:src="@drawable/ic_uploads_generic_dark" android:scaleType="fitCenter" android:baselineAlignBottom="true" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="@+id/progress_text" app:layout_constraintEnd_toStartOf="@+id/progress_text" app:layout_constraintHorizontal_bias="0" app:layout_constraintHorizontal_chainStyle="2" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toLeftOf="@+id/progress_text" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="@+id/progress_text"/>
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/primary_100" android:ellipsize="middle" android:id="@+id/progress_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:singleLine="true" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@+id/progress_bar" app:layout_constraintEnd_toStartOf="@+id/progress_subtext" app:layout_constraintLeft_toRightOf="@+id/progress_file_image" app:layout_constraintRight_toLeftOf="@+id/progress_subtext" app:layout_constraintStart_toEndOf="@+id/progress_file_image" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2" style="@style/UiKit_TextView_Semibold"/>
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/primary_200" android:id="@+id/progress_subtext" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@+id/progress_text" app:layout_constraintEnd_toEndOf="0" app:layout_constraintLeft_toRightOf="@+id/progress_text" app:layout_constraintRight_toRightOf="0" app:layout_constraintStart_toEndOf="@+id/progress_text"/>
<ProgressBar android:id="@+id/progress_bar" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:maxHeight="1dp" android:max="100" android:minHeight="1dp" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/progress_text" style="@style/res_2131952682_widget_appcompat_progressbar_horizontal"/>
<ProgressBar android:id="@+id/progress_bar" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:maxHeight="1dp" android:max="100" android:minHeight="1dp" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/progress_text" style="@style/res_2131952683_widget_appcompat_progressbar_horizontal"/>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -43,7 +43,7 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent">
<com.discord.views.SearchInputView android:id="@+id/bug_report_feature_search" android:paddingTop="4dp" android:paddingBottom="4dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="12dp" android:layout_marginTop="16dp" android:layout_marginRight="12dp" android:layout_marginBottom="16dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:siv_hint="Search feature areas" app:siv_search_content_description="@string/search_channels"/>
<ProgressBar android:id="@+id/bug_report_feature_loader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/bug_report_feature_search" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:id="@+id/bug_report_feature_loader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/bug_report_feature_search" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/bug_report_feature_recycler" android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginTop="16dp" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/bug_report_feature_search"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.discord.app.AppViewFlipper>

View File

@ -9,7 +9,7 @@
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@+id/channel_picker_app_flipper" style="@style/UiKit_ViewGroup_AppViewFlipper_InCoordinatorLayout">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/channel_picker_recycler" android:layout_height="match_parent" style="@style/UiKit_ViewGroup_RecyclerView_AppBarScrollingViewBehavior"/>
</com.discord.app.AppViewFlipper>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:background="?attr/selectableItemBackground" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginTop="@dimen/chat_cell_horizontal_spacing_padding" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginBottom="@dimen/chat_cell_horizontal_spacing_padding">
<ProgressBar android:layout_width="24dp" android:layout_height="24dp" android:indeterminate="true" android:layout_centerInParent="true" android:indeterminateTint="?attr/theme_chat_loading_spinner_color" android:indeterminateTintMode="src_in" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_width="24dp" android:layout_height="24dp" android:indeterminate="true" android:layout_centerInParent="true" android:indeterminateTint="?attr/theme_chat_loading_spinner_color" android:indeterminateTintMode="src_in" style="@style/res_2131952682_widget_appcompat_progressbar"/>
</RelativeLayout>

View File

@ -6,7 +6,10 @@
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView android:id="@+id/guild_profile_sheet_primary_actions" android:layout_marginTop="16dp" style="@style/GuildProfileSheet_Actions_Card">
<LinearLayout style="@style/UiKit_ViewGroup_LinearLayout">
<TextView android:id="@+id/guild_profile_sheet_create_event" android:padding="16dp" android:text="@string/schedule_event" style="@style/GuildProfileSheet_Actions_Title"/>
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/guild_profile_sheet_create_event" android:background="?attr/bg_pressed_highlight" android:layout_width="match_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/UiKit_TextAppearance_Semibold" android:textSize="@dimen/uikit_textsize_large" android:id="@+id/guild_profile_sheet_create_event_label" android:padding="16dp" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/schedule_event" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
<TextView android:id="@+id/guild_profile_sheet_create_event_new" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="16dp" app:layout_constraintBaseline_toBaselineOf="@+id/guild_profile_sheet_create_event_label" app:layout_constraintEnd_toEndOf="0" style="@style/UiKit_TextView_NewBadge"/>
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView android:id="@+id/guild_profile_sheet_create_channel" android:padding="16dp" android:text="@string/create_channel" style="@style/GuildProfileSheet_Actions_Title"/>
<TextView android:id="@+id/guild_profile_sheet_create_category" android:padding="16dp" android:text="@string/create_category" style="@style/GuildProfileSheet_Actions_Title"/>
</LinearLayout>

View File

@ -4,7 +4,7 @@
<androidx.core.widget.NestedScrollView android:layout_gravity="center" android:layout_height="wrap_content" style="@style/UiKit_ViewGroup_ScrollView">
<LinearLayout style="@style/UiKit_ViewGroup_LinearLayout">
<ImageView android:layout_gravity="center_horizontal" android:id="@+id/oauth_authorize_logo" android:layout_width="match_parent" android:layout_height="32dp" android:layout_marginTop="32dp" android:layout_marginBottom="32dp" android:src="@drawable/img_logo_wordmark" android:scaleType="centerInside" android:contentDescription="@string/discord" style="@style/UiKit_ImageView"/>
<com.google.android.material.card.MaterialCardView android:id="@+id/oauth_authorize_card" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" app:cardBackgroundColor="?attr/colorBackgroundFloating" app:cardCornerRadius="8dp" app:cardElevation="8dp" style="@style/res_2131952743_widget_materialcomponents_cardview">
<com.google.android.material.card.MaterialCardView android:id="@+id/oauth_authorize_card" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" app:cardBackgroundColor="?attr/colorBackgroundFloating" app:cardCornerRadius="8dp" app:cardElevation="8dp" style="@style/res_2131952744_widget_materialcomponents_cardview">
<LinearLayout android:id="@+id/oauth_authorize_not_supported" android:visibility="gone" style="@style/UiKit_ViewGroup_LinearLayout">
<TextView android:padding="16dp" android:layout_width="match_parent" android:text="@string/scope_unsupported_on_android" style="@style/UiKit_TextView_H1"/>
<TextView android:gravity="center" android:layout_gravity="center" android:layout_margin="24dp" android:text="@string/scope_unsupported_on_android_description" android:drawablePadding="16dp" app:drawableBottomCompat="?attr/img_baddies" style="@style/UiKit_TextView"/>

View File

@ -4,7 +4,7 @@
<androidx.appcompat.widget.Toolbar android:id="@+id/price_tier_picker_toolbar" android:background="?attr/colorBackgroundTertiary" android:layout_height="wrap_content" app:title="@string/guild_role_subscription_tier_detail_price_placeholder" style="@style/AppTheme_Toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@+id/price_tier_picker_app_flipper" android:background="?attr/colorBackgroundSecondary" style="@style/UiKit_ViewGroup_AppViewFlipper_InCoordinatorLayout">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/price_tier_picker_recycler" android:background="@drawable/drawable_rect_rounded_bg_primary" android:layout_height="match_parent" android:layout_margin="@dimen/guild_role_subscription_setup_default_padding" style="@style/UiKit_ViewGroup_RecyclerView_AppBarScrollingViewBehavior"/>
</com.discord.app.AppViewFlipper>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -4,7 +4,7 @@
<androidx.appcompat.widget.Toolbar style="@style/AppTheme_Toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@+id/widget_server_settings_emojis_view_flipper" android:layout_width="match_parent" android:layout_height="match_parent" android:inAnimation="@android:anim/fade_in" android:outAnimation="@android:anim/fade_out" style="@style/UiKit_ViewGroup_AppViewFlipper_InCoordinatorLayout">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/widget_server_settings_emojis_recycler" android:scrollbars="vertical" android:layout_height="match_parent" style="@style/UiKit_ViewGroup_RecyclerView"/>
</com.discord.app.AppViewFlipper>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -4,7 +4,7 @@
<androidx.appcompat.widget.Toolbar style="@style/AppTheme_Toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@+id/server_settings_guild_role_subscription_edit_tier_view_flipper" android:layout_height="0dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/server_settings_guild_role_subscription_edit_tier_app_bar" style="@style/UiKit_ViewGroup_AppViewFlipper_InCoordinatorLayout">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<androidx.constraintlayout.widget.ConstraintLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior">
<com.google.android.material.tabs.TabLayout android:id="@+id/guild_role_subscription_edit_tier_tabs" android:background="?attr/toolbarColor" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:tabGravity="0" app:tabIndicatorHeight="0dp" app:tabMaxWidth="0dp" app:tabMode="1" app:tabSelectedTextColor="?attr/tabSelectedTextColor" app:tabTextAppearance="@style/App_TabLayout_Text" app:tabTextColor="?attr/tabTextColor"/>
<TextView android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_role_subscription_edit_tier_publish_description" android:paddingTop="12dp" android:paddingBottom="12dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/guild_role_subscription_setup_default_padding" android:layout_marginRight="@dimen/guild_role_subscription_setup_default_padding" android:text="@string/guild_settings_role_subscription_tier_edit_publish_draft_description" app:layout_constrainedWidth="true" app:layout_constraintEnd_toStartOf="@+id/guild_role_subscription_edit_tier_publish" app:layout_constraintHorizontal_bias="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_role_subscription_edit_tier_tabs" style="@style/UiKit_TextView_Medium"/>

View File

@ -4,7 +4,7 @@
<androidx.appcompat.widget.Toolbar style="@style/AppTheme_Toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@+id/server_settings_guild_role_subscription_view_flipper" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/UiKit_ViewGroup_AppViewFlipper_InCoordinatorLayout">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<include android:id="@+id/empty_guild_role_subscription" layout="@layout/view_server_settings_empty_guild_role_subscription"/>
<androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="match_parent">
<LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" style="@style/UiKit_ViewGroup_Page_LinearLayout">
<com.discord.app.AppViewFlipper android:id="@+id/role_members_app_view_flipper" android:layout_width="match_parent" android:layout_height="match_parent">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952681_widget_appcompat_progressbar"/>
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="@style/res_2131952682_widget_appcompat_progressbar"/>
<LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">
<com.discord.views.SearchInputView android:id="@+id/server_settings_role_members_search_input" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginTop="14dp" android:layout_marginRight="16dp" android:layout_marginBottom="14dp" app:siv_hint="@string/role_add_members_search"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/server_settings_role_members_list" android:background="@drawable/drawable_rect_rounded_bg_secondary" android:paddingTop="8dp" android:paddingBottom="8dp" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="@dimen/guild_role_subscription_setup_default_padding" style="@style/UiKit_ViewGroup_RecyclerView"/>

View File

@ -10,7 +10,7 @@
<TextView android:text="Not seeing your experiment? Add it to ExperimentRegistry.kt" android:layout_marginStart="16dp" style="@style/UiKit_TextView_Subtext"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/developer_settings_experiments" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" style="@style/UiKit_ViewGroup_RecyclerView"/>
<TextView android:text="Notice cache" style="@style/UiKit_Settings_Item_Header"/>
<com.google.android.material.card.MaterialCardView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="8dp" app:cardBackgroundColor="?attr/colorBackgroundSecondary" app:cardElevation="@dimen/app_elevation" style="@style/res_2131952743_widget_materialcomponents_cardview">
<com.google.android.material.card.MaterialCardView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="8dp" app:cardBackgroundColor="?attr/colorBackgroundSecondary" app:cardElevation="@dimen/app_elevation" style="@style/res_2131952744_widget_materialcomponents_cardview">
<androidx.recyclerview.widget.RecyclerView android:id="@+id/developer_settings_notices" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" style="@style/UiKit_ViewGroup_RecyclerView"/>
</com.google.android.material.card.MaterialCardView>
<TextView android:text="Crashes" style="@style/UiKit_Settings_Item_Header"/>

View File

@ -38,11 +38,11 @@
</style>
<style name="UiKit_ViewGroup_LinearLayout_Rotatable_Horizontal" parent="@style/UiKit_ViewGroup_LinearLayout">
</style>
<style name="res_2131952708_widget_design_tablayout" parent="@style/res_2131951885_base_widget_design_tablayout">
<style name="res_2131952709_widget_design_tablayout" parent="@style/res_2131951885_base_widget_design_tablayout">
<item name="tabGravity">1</item>
<item name="tabMode">1</item>
</style>
<style name="res_2131952775_widget_materialcomponents_materialcalendar_headerselection" parent="@style/res_2131952694_widget_appcompat_textview">
<style name="res_2131952776_widget_materialcomponents_materialcalendar_headerselection" parent="@style/res_2131952695_widget_appcompat_textview">
<item name="android:textAppearance">?attr/textAppearanceHeadline6</item>
<item name="android:textColor">?attr/colorOnPrimary</item>
<item name="android:ellipsize">end</item>

View File

@ -50,16 +50,16 @@
</style>
<style name="res_2131952347_themeoverlay_materialcomponents_daynight_bottomsheetdialog" parent="@style/res_2131952344_themeoverlay_materialcomponents_bottomsheetdialog">
</style>
<style name="res_2131952712_widget_materialcomponents_actionbar_primarysurface" parent="@style/res_2131952714_widget_materialcomponents_actionbar_surface">
<style name="res_2131952713_widget_materialcomponents_actionbar_primarysurface" parent="@style/res_2131952715_widget_materialcomponents_actionbar_surface">
</style>
<style name="res_2131952716_widget_materialcomponents_appbarlayout_primarysurface" parent="@style/res_2131952717_widget_materialcomponents_appbarlayout_surface">
<style name="res_2131952717_widget_materialcomponents_appbarlayout_primarysurface" parent="@style/res_2131952718_widget_materialcomponents_appbarlayout_surface">
</style>
<style name="res_2131952725_widget_materialcomponents_bottomappbar_primarysurface" parent="@style/res_2131952723_widget_materialcomponents_bottomappbar">
<style name="res_2131952726_widget_materialcomponents_bottomappbar_primarysurface" parent="@style/res_2131952724_widget_materialcomponents_bottomappbar">
</style>
<style name="res_2131952728_widget_materialcomponents_bottomnavigationview_primarysurface" parent="@style/res_2131952726_widget_materialcomponents_bottomnavigationview">
<style name="res_2131952729_widget_materialcomponents_bottomnavigationview_primarysurface" parent="@style/res_2131952727_widget_materialcomponents_bottomnavigationview">
</style>
<style name="res_2131952799_widget_materialcomponents_tablayout_primarysurface" parent="@style/res_2131952797_widget_materialcomponents_tablayout">
<style name="res_2131952800_widget_materialcomponents_tablayout_primarysurface" parent="@style/res_2131952798_widget_materialcomponents_tablayout">
</style>
<style name="res_2131952822_widget_materialcomponents_toolbar_primarysurface" parent="@style/res_2131952823_widget_materialcomponents_toolbar_surface">
<style name="res_2131952823_widget_materialcomponents_toolbar_primarysurface" parent="@style/res_2131952824_widget_materialcomponents_toolbar_surface">
</style>
</resources>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="res_2131952708_widget_design_tablayout" parent="@style/res_2131951885_base_widget_design_tablayout">
<style name="res_2131952709_widget_design_tablayout" parent="@style/res_2131951885_base_widget_design_tablayout">
<item name="tabGravity">1</item>
<item name="tabMode">1</item>
</style>

View File

@ -130,11 +130,11 @@
<style name="CardView" parent="@style/res_2131951686_base_cardview">
<item name="cardBackgroundColor">?android:attr/colorBackgroundFloating</item>
</style>
<style name="res_2131952788_widget_materialcomponents_popupmenu_contextmenu" parent="@style/res_2131951891_base_widget_materialcomponents_popupmenu_contextmenu">
<style name="res_2131952789_widget_materialcomponents_popupmenu_contextmenu" parent="@style/res_2131951891_base_widget_materialcomponents_popupmenu_contextmenu">
<item name="android:popupBackground">?attr/popupMenuBackground</item>
<item name="android:popupElevation">8dp</item>
</style>
<style name="res_2131952789_widget_materialcomponents_popupmenu_listpopupwindow" parent="@style/res_2131951892_base_widget_materialcomponents_popupmenu_listpopupwindow">
<style name="res_2131952790_widget_materialcomponents_popupmenu_listpopupwindow" parent="@style/res_2131951892_base_widget_materialcomponents_popupmenu_listpopupwindow">
<item name="android:popupBackground">?attr/popupMenuBackground</item>
<item name="android:popupElevation">8dp</item>
</style>

View File

@ -9,78 +9,78 @@
<item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
<item name="android:timePickerDialogTheme">@style/res_2131952348_themeoverlay_materialcomponents_dialog</item>
<item name="android:datePickerDialogTheme">@style/res_2131952348_themeoverlay_materialcomponents_dialog</item>
<item name="android:contextPopupMenuStyle">@style/res_2131952788_widget_materialcomponents_popupmenu_contextmenu</item>
<item name="android:contextPopupMenuStyle">@style/res_2131952789_widget_materialcomponents_popupmenu_contextmenu</item>
<item name="actionBarPopupTheme">@style/res_2131952345_themeoverlay_materialcomponents_dark</item>
<item name="actionBarSize">@dimen/mtrl_toolbar_default_height</item>
<item name="actionBarStyle">@style/res_2131952714_widget_materialcomponents_actionbar_surface</item>
<item name="actionBarStyle">@style/res_2131952715_widget_materialcomponents_actionbar_surface</item>
<item name="actionBarTheme">@style/res_2131952336_themeoverlay_materialcomponents_actionbar_surface</item>
<item name="actionOverflowMenuStyle">@style/res_2131952790_widget_materialcomponents_popupmenu_overflow</item>
<item name="actionOverflowMenuStyle">@style/res_2131952791_widget_materialcomponents_popupmenu_overflow</item>
<item name="alertDialogTheme">@style/res_2131952349_themeoverlay_materialcomponents_dialog_alert</item>
<item name="appBarLayoutStyle">@style/res_2131952717_widget_materialcomponents_appbarlayout_surface</item>
<item name="borderlessButtonStyle">@style/res_2131952735_widget_materialcomponents_button_textbutton</item>
<item name="bottomNavigationStyle">@style/res_2131952726_widget_materialcomponents_bottomnavigationview</item>
<item name="appBarLayoutStyle">@style/res_2131952718_widget_materialcomponents_appbarlayout_surface</item>
<item name="borderlessButtonStyle">@style/res_2131952736_widget_materialcomponents_button_textbutton</item>
<item name="bottomNavigationStyle">@style/res_2131952727_widget_materialcomponents_bottomnavigationview</item>
<item name="bottomSheetDialogTheme">@style/res_2131952344_themeoverlay_materialcomponents_bottomsheetdialog</item>
<item name="buttonBarButtonStyle">@style/res_2131952735_widget_materialcomponents_button_textbutton</item>
<item name="checkboxStyle">@style/res_2131952755_widget_materialcomponents_compoundbutton_checkbox</item>
<item name="buttonBarButtonStyle">@style/res_2131952736_widget_materialcomponents_button_textbutton</item>
<item name="checkboxStyle">@style/res_2131952756_widget_materialcomponents_compoundbutton_checkbox</item>
<item name="colorAccent">?attr/colorSecondary</item>
<item name="colorError">@color/design_dark_default_color_error</item>
<item name="colorPrimary">@color/design_dark_default_color_primary</item>
<item name="colorPrimaryDark">@color/design_dark_default_color_primary_dark</item>
<item name="floatingActionButtonStyle">@style/res_2131952760_widget_materialcomponents_floatingactionbutton</item>
<item name="listPopupWindowStyle">@style/res_2131952789_widget_materialcomponents_popupmenu_listpopupwindow</item>
<item name="floatingActionButtonStyle">@style/res_2131952761_widget_materialcomponents_floatingactionbutton</item>
<item name="listPopupWindowStyle">@style/res_2131952790_widget_materialcomponents_popupmenu_listpopupwindow</item>
<item name="materialAlertDialogTheme">@style/res_2131952354_themeoverlay_materialcomponents_materialalertdialog</item>
<item name="materialCalendarFullscreenTheme">@style/res_2131952362_themeoverlay_materialcomponents_materialcalendar_fullscreen</item>
<item name="materialCalendarStyle">@style/res_2131952764_widget_materialcomponents_materialcalendar</item>
<item name="materialCalendarStyle">@style/res_2131952765_widget_materialcomponents_materialcalendar</item>
<item name="materialCalendarTheme">@style/res_2131952361_themeoverlay_materialcomponents_materialcalendar</item>
<item name="materialTimePickerTheme">@style/res_2131952368_themeoverlay_materialcomponents_timepicker</item>
<item name="navigationViewStyle">@style/res_2131952786_widget_materialcomponents_navigationview</item>
<item name="popupMenuStyle">@style/res_2131952787_widget_materialcomponents_popupmenu</item>
<item name="radioButtonStyle">@style/res_2131952756_widget_materialcomponents_compoundbutton_radiobutton</item>
<item name="snackbarButtonStyle">@style/res_2131952740_widget_materialcomponents_button_textbutton_snackbar</item>
<item name="snackbarStyle">@style/res_2131952794_widget_materialcomponents_snackbar</item>
<item name="snackbarTextViewStyle">@style/res_2131952796_widget_materialcomponents_snackbar_textview</item>
<item name="switchStyle">@style/res_2131952757_widget_materialcomponents_compoundbutton_switch</item>
<item name="tabStyle">@style/res_2131952797_widget_materialcomponents_tablayout</item>
<item name="navigationViewStyle">@style/res_2131952787_widget_materialcomponents_navigationview</item>
<item name="popupMenuStyle">@style/res_2131952788_widget_materialcomponents_popupmenu</item>
<item name="radioButtonStyle">@style/res_2131952757_widget_materialcomponents_compoundbutton_radiobutton</item>
<item name="snackbarButtonStyle">@style/res_2131952741_widget_materialcomponents_button_textbutton_snackbar</item>
<item name="snackbarStyle">@style/res_2131952795_widget_materialcomponents_snackbar</item>
<item name="snackbarTextViewStyle">@style/res_2131952797_widget_materialcomponents_snackbar_textview</item>
<item name="switchStyle">@style/res_2131952758_widget_materialcomponents_compoundbutton_switch</item>
<item name="tabStyle">@style/res_2131952798_widget_materialcomponents_tablayout</item>
<item name="textAppearanceLargePopupMenu">?attr/textAppearanceSubtitle1</item>
<item name="textAppearanceSmallPopupMenu">?attr/textAppearanceSubtitle1</item>
<item name="textInputStyle">@style/res_2131952804_widget_materialcomponents_textinputlayout_filledbox</item>
<item name="toolbarStyle">@style/res_2131952820_widget_materialcomponents_toolbar</item>
<item name="textInputStyle">@style/res_2131952805_widget_materialcomponents_textinputlayout_filledbox</item>
<item name="toolbarStyle">@style/res_2131952821_widget_materialcomponents_toolbar</item>
<item name="viewInflaterClass">com.google.android.material.theme.MaterialComponentsViewInflater</item>
</style>
<style name="res_2131951791_base_v14_theme_materialcomponents_dialog" parent="@style/res_2131951792_base_v14_theme_materialcomponents_dialog_bridge">
<item name="android:colorBackground">@color/design_dark_default_color_background</item>
<item name="android:contextPopupMenuStyle">@style/res_2131952788_widget_materialcomponents_popupmenu_contextmenu</item>
<item name="android:contextPopupMenuStyle">@style/res_2131952789_widget_materialcomponents_popupmenu_contextmenu</item>
<item name="actionBarPopupTheme">@style/res_2131952345_themeoverlay_materialcomponents_dark</item>
<item name="actionBarSize">@dimen/mtrl_toolbar_default_height</item>
<item name="actionBarStyle">@style/res_2131952714_widget_materialcomponents_actionbar_surface</item>
<item name="actionBarStyle">@style/res_2131952715_widget_materialcomponents_actionbar_surface</item>
<item name="actionBarTheme">@style/res_2131952336_themeoverlay_materialcomponents_actionbar_surface</item>
<item name="actionOverflowMenuStyle">@style/res_2131952790_widget_materialcomponents_popupmenu_overflow</item>
<item name="actionOverflowMenuStyle">@style/res_2131952791_widget_materialcomponents_popupmenu_overflow</item>
<item name="alertDialogTheme">@style/res_2131952349_themeoverlay_materialcomponents_dialog_alert</item>
<item name="appBarLayoutStyle">@style/res_2131952717_widget_materialcomponents_appbarlayout_surface</item>
<item name="borderlessButtonStyle">@style/res_2131952735_widget_materialcomponents_button_textbutton</item>
<item name="bottomNavigationStyle">@style/res_2131952726_widget_materialcomponents_bottomnavigationview</item>
<item name="buttonBarButtonStyle">@style/res_2131952737_widget_materialcomponents_button_textbutton_dialog_flush</item>
<item name="checkboxStyle">@style/res_2131952755_widget_materialcomponents_compoundbutton_checkbox</item>
<item name="appBarLayoutStyle">@style/res_2131952718_widget_materialcomponents_appbarlayout_surface</item>
<item name="borderlessButtonStyle">@style/res_2131952736_widget_materialcomponents_button_textbutton</item>
<item name="bottomNavigationStyle">@style/res_2131952727_widget_materialcomponents_bottomnavigationview</item>
<item name="buttonBarButtonStyle">@style/res_2131952738_widget_materialcomponents_button_textbutton_dialog_flush</item>
<item name="checkboxStyle">@style/res_2131952756_widget_materialcomponents_compoundbutton_checkbox</item>
<item name="colorAccent">?attr/colorSecondary</item>
<item name="colorError">@color/design_dark_default_color_error</item>
<item name="colorPrimary">@color/design_dark_default_color_primary</item>
<item name="colorPrimaryDark">@color/design_dark_default_color_primary_dark</item>
<item name="colorSecondary">@color/design_dark_default_color_secondary</item>
<item name="floatingActionButtonStyle">@style/res_2131952760_widget_materialcomponents_floatingactionbutton</item>
<item name="listPopupWindowStyle">@style/res_2131952789_widget_materialcomponents_popupmenu_listpopupwindow</item>
<item name="floatingActionButtonStyle">@style/res_2131952761_widget_materialcomponents_floatingactionbutton</item>
<item name="listPopupWindowStyle">@style/res_2131952790_widget_materialcomponents_popupmenu_listpopupwindow</item>
<item name="materialAlertDialogTheme">@style/res_2131952354_themeoverlay_materialcomponents_materialalertdialog</item>
<item name="navigationViewStyle">@style/res_2131952786_widget_materialcomponents_navigationview</item>
<item name="popupMenuStyle">@style/res_2131952787_widget_materialcomponents_popupmenu</item>
<item name="radioButtonStyle">@style/res_2131952756_widget_materialcomponents_compoundbutton_radiobutton</item>
<item name="snackbarButtonStyle">@style/res_2131952740_widget_materialcomponents_button_textbutton_snackbar</item>
<item name="snackbarStyle">@style/res_2131952794_widget_materialcomponents_snackbar</item>
<item name="snackbarTextViewStyle">@style/res_2131952796_widget_materialcomponents_snackbar_textview</item>
<item name="switchStyle">@style/res_2131952757_widget_materialcomponents_compoundbutton_switch</item>
<item name="tabStyle">@style/res_2131952797_widget_materialcomponents_tablayout</item>
<item name="navigationViewStyle">@style/res_2131952787_widget_materialcomponents_navigationview</item>
<item name="popupMenuStyle">@style/res_2131952788_widget_materialcomponents_popupmenu</item>
<item name="radioButtonStyle">@style/res_2131952757_widget_materialcomponents_compoundbutton_radiobutton</item>
<item name="snackbarButtonStyle">@style/res_2131952741_widget_materialcomponents_button_textbutton_snackbar</item>
<item name="snackbarStyle">@style/res_2131952795_widget_materialcomponents_snackbar</item>
<item name="snackbarTextViewStyle">@style/res_2131952797_widget_materialcomponents_snackbar_textview</item>
<item name="switchStyle">@style/res_2131952758_widget_materialcomponents_compoundbutton_switch</item>
<item name="tabStyle">@style/res_2131952798_widget_materialcomponents_tablayout</item>
<item name="textAppearanceLargePopupMenu">?attr/textAppearanceSubtitle1</item>
<item name="textAppearanceSmallPopupMenu">?attr/textAppearanceSubtitle1</item>
<item name="textInputStyle">@style/res_2131952804_widget_materialcomponents_textinputlayout_filledbox</item>
<item name="toolbarStyle">@style/res_2131952820_widget_materialcomponents_toolbar</item>
<item name="textInputStyle">@style/res_2131952805_widget_materialcomponents_textinputlayout_filledbox</item>
<item name="toolbarStyle">@style/res_2131952821_widget_materialcomponents_toolbar</item>
<item name="viewInflaterClass">com.google.android.material.theme.MaterialComponentsViewInflater</item>
</style>
<style name="res_2131951793_base_v14_theme_materialcomponents_light" parent="@style/res_2131951794_base_v14_theme_materialcomponents_light_bridge">
@ -88,76 +88,76 @@
<item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
<item name="android:timePickerDialogTheme">@style/res_2131952348_themeoverlay_materialcomponents_dialog</item>
<item name="android:datePickerDialogTheme">@style/res_2131952348_themeoverlay_materialcomponents_dialog</item>
<item name="android:contextPopupMenuStyle">@style/res_2131952788_widget_materialcomponents_popupmenu_contextmenu</item>
<item name="android:contextPopupMenuStyle">@style/res_2131952789_widget_materialcomponents_popupmenu_contextmenu</item>
<item name="actionBarPopupTheme">@style/res_2131952351_themeoverlay_materialcomponents_light</item>
<item name="actionBarSize">@dimen/mtrl_toolbar_default_height</item>
<item name="actionBarStyle">@style/res_2131952761_widget_materialcomponents_light_actionbar_solid</item>
<item name="actionOverflowMenuStyle">@style/res_2131952790_widget_materialcomponents_popupmenu_overflow</item>
<item name="actionBarStyle">@style/res_2131952762_widget_materialcomponents_light_actionbar_solid</item>
<item name="actionOverflowMenuStyle">@style/res_2131952791_widget_materialcomponents_popupmenu_overflow</item>
<item name="alertDialogTheme">@style/res_2131952349_themeoverlay_materialcomponents_dialog_alert</item>
<item name="appBarLayoutStyle">@style/res_2131952715_widget_materialcomponents_appbarlayout_primary</item>
<item name="borderlessButtonStyle">@style/res_2131952735_widget_materialcomponents_button_textbutton</item>
<item name="bottomNavigationStyle">@style/res_2131952726_widget_materialcomponents_bottomnavigationview</item>
<item name="appBarLayoutStyle">@style/res_2131952716_widget_materialcomponents_appbarlayout_primary</item>
<item name="borderlessButtonStyle">@style/res_2131952736_widget_materialcomponents_button_textbutton</item>
<item name="bottomNavigationStyle">@style/res_2131952727_widget_materialcomponents_bottomnavigationview</item>
<item name="bottomSheetDialogTheme">@style/res_2131952352_themeoverlay_materialcomponents_light_bottomsheetdialog</item>
<item name="buttonBarButtonStyle">@style/res_2131952735_widget_materialcomponents_button_textbutton</item>
<item name="checkboxStyle">@style/res_2131952755_widget_materialcomponents_compoundbutton_checkbox</item>
<item name="buttonBarButtonStyle">@style/res_2131952736_widget_materialcomponents_button_textbutton</item>
<item name="checkboxStyle">@style/res_2131952756_widget_materialcomponents_compoundbutton_checkbox</item>
<item name="colorAccent">?attr/colorSecondary</item>
<item name="colorError">@color/design_default_color_error</item>
<item name="colorPrimary">@color/design_default_color_primary</item>
<item name="colorPrimaryDark">@color/design_default_color_primary_dark</item>
<item name="floatingActionButtonStyle">@style/res_2131952760_widget_materialcomponents_floatingactionbutton</item>
<item name="listPopupWindowStyle">@style/res_2131952789_widget_materialcomponents_popupmenu_listpopupwindow</item>
<item name="floatingActionButtonStyle">@style/res_2131952761_widget_materialcomponents_floatingactionbutton</item>
<item name="listPopupWindowStyle">@style/res_2131952790_widget_materialcomponents_popupmenu_listpopupwindow</item>
<item name="materialAlertDialogTheme">@style/res_2131952354_themeoverlay_materialcomponents_materialalertdialog</item>
<item name="materialCalendarFullscreenTheme">@style/res_2131952362_themeoverlay_materialcomponents_materialcalendar_fullscreen</item>
<item name="materialCalendarStyle">@style/res_2131952764_widget_materialcomponents_materialcalendar</item>
<item name="materialCalendarStyle">@style/res_2131952765_widget_materialcomponents_materialcalendar</item>
<item name="materialCalendarTheme">@style/res_2131952361_themeoverlay_materialcomponents_materialcalendar</item>
<item name="materialTimePickerTheme">@style/res_2131952368_themeoverlay_materialcomponents_timepicker</item>
<item name="navigationViewStyle">@style/res_2131952786_widget_materialcomponents_navigationview</item>
<item name="popupMenuStyle">@style/res_2131952787_widget_materialcomponents_popupmenu</item>
<item name="radioButtonStyle">@style/res_2131952756_widget_materialcomponents_compoundbutton_radiobutton</item>
<item name="snackbarButtonStyle">@style/res_2131952740_widget_materialcomponents_button_textbutton_snackbar</item>
<item name="snackbarStyle">@style/res_2131952794_widget_materialcomponents_snackbar</item>
<item name="snackbarTextViewStyle">@style/res_2131952796_widget_materialcomponents_snackbar_textview</item>
<item name="switchStyle">@style/res_2131952757_widget_materialcomponents_compoundbutton_switch</item>
<item name="tabStyle">@style/res_2131952797_widget_materialcomponents_tablayout</item>
<item name="navigationViewStyle">@style/res_2131952787_widget_materialcomponents_navigationview</item>
<item name="popupMenuStyle">@style/res_2131952788_widget_materialcomponents_popupmenu</item>
<item name="radioButtonStyle">@style/res_2131952757_widget_materialcomponents_compoundbutton_radiobutton</item>
<item name="snackbarButtonStyle">@style/res_2131952741_widget_materialcomponents_button_textbutton_snackbar</item>
<item name="snackbarStyle">@style/res_2131952795_widget_materialcomponents_snackbar</item>
<item name="snackbarTextViewStyle">@style/res_2131952797_widget_materialcomponents_snackbar_textview</item>
<item name="switchStyle">@style/res_2131952758_widget_materialcomponents_compoundbutton_switch</item>
<item name="tabStyle">@style/res_2131952798_widget_materialcomponents_tablayout</item>
<item name="textAppearanceLargePopupMenu">?attr/textAppearanceSubtitle1</item>
<item name="textAppearanceSmallPopupMenu">?attr/textAppearanceSubtitle1</item>
<item name="textInputStyle">@style/res_2131952804_widget_materialcomponents_textinputlayout_filledbox</item>
<item name="toolbarStyle">@style/res_2131952820_widget_materialcomponents_toolbar</item>
<item name="textInputStyle">@style/res_2131952805_widget_materialcomponents_textinputlayout_filledbox</item>
<item name="toolbarStyle">@style/res_2131952821_widget_materialcomponents_toolbar</item>
<item name="viewInflaterClass">com.google.android.material.theme.MaterialComponentsViewInflater</item>
</style>
<style name="res_2131951796_base_v14_theme_materialcomponents_light_dialog" parent="@style/res_2131951797_base_v14_theme_materialcomponents_light_dialog_bridge">
<item name="android:colorBackground">@color/design_default_color_background</item>
<item name="android:contextPopupMenuStyle">@style/res_2131952788_widget_materialcomponents_popupmenu_contextmenu</item>
<item name="android:contextPopupMenuStyle">@style/res_2131952789_widget_materialcomponents_popupmenu_contextmenu</item>
<item name="actionBarPopupTheme">@style/res_2131952351_themeoverlay_materialcomponents_light</item>
<item name="actionBarSize">@dimen/mtrl_toolbar_default_height</item>
<item name="actionBarStyle">@style/res_2131952761_widget_materialcomponents_light_actionbar_solid</item>
<item name="actionOverflowMenuStyle">@style/res_2131952790_widget_materialcomponents_popupmenu_overflow</item>
<item name="actionBarStyle">@style/res_2131952762_widget_materialcomponents_light_actionbar_solid</item>
<item name="actionOverflowMenuStyle">@style/res_2131952791_widget_materialcomponents_popupmenu_overflow</item>
<item name="alertDialogTheme">@style/res_2131952349_themeoverlay_materialcomponents_dialog_alert</item>
<item name="appBarLayoutStyle">@style/res_2131952715_widget_materialcomponents_appbarlayout_primary</item>
<item name="borderlessButtonStyle">@style/res_2131952735_widget_materialcomponents_button_textbutton</item>
<item name="bottomNavigationStyle">@style/res_2131952726_widget_materialcomponents_bottomnavigationview</item>
<item name="buttonBarButtonStyle">@style/res_2131952737_widget_materialcomponents_button_textbutton_dialog_flush</item>
<item name="checkboxStyle">@style/res_2131952755_widget_materialcomponents_compoundbutton_checkbox</item>
<item name="appBarLayoutStyle">@style/res_2131952716_widget_materialcomponents_appbarlayout_primary</item>
<item name="borderlessButtonStyle">@style/res_2131952736_widget_materialcomponents_button_textbutton</item>
<item name="bottomNavigationStyle">@style/res_2131952727_widget_materialcomponents_bottomnavigationview</item>
<item name="buttonBarButtonStyle">@style/res_2131952738_widget_materialcomponents_button_textbutton_dialog_flush</item>
<item name="checkboxStyle">@style/res_2131952756_widget_materialcomponents_compoundbutton_checkbox</item>
<item name="colorAccent">?attr/colorSecondary</item>
<item name="colorError">@color/design_default_color_error</item>
<item name="colorPrimary">@color/design_default_color_primary</item>
<item name="colorPrimaryDark">@color/design_default_color_primary_dark</item>
<item name="colorSecondary">@color/design_default_color_secondary</item>
<item name="floatingActionButtonStyle">@style/res_2131952760_widget_materialcomponents_floatingactionbutton</item>
<item name="listPopupWindowStyle">@style/res_2131952789_widget_materialcomponents_popupmenu_listpopupwindow</item>
<item name="floatingActionButtonStyle">@style/res_2131952761_widget_materialcomponents_floatingactionbutton</item>
<item name="listPopupWindowStyle">@style/res_2131952790_widget_materialcomponents_popupmenu_listpopupwindow</item>
<item name="materialAlertDialogTheme">@style/res_2131952354_themeoverlay_materialcomponents_materialalertdialog</item>
<item name="navigationViewStyle">@style/res_2131952786_widget_materialcomponents_navigationview</item>
<item name="popupMenuStyle">@style/res_2131952787_widget_materialcomponents_popupmenu</item>
<item name="radioButtonStyle">@style/res_2131952756_widget_materialcomponents_compoundbutton_radiobutton</item>
<item name="snackbarButtonStyle">@style/res_2131952740_widget_materialcomponents_button_textbutton_snackbar</item>
<item name="snackbarStyle">@style/res_2131952794_widget_materialcomponents_snackbar</item>
<item name="snackbarTextViewStyle">@style/res_2131952796_widget_materialcomponents_snackbar_textview</item>
<item name="switchStyle">@style/res_2131952757_widget_materialcomponents_compoundbutton_switch</item>
<item name="tabStyle">@style/res_2131952797_widget_materialcomponents_tablayout</item>
<item name="navigationViewStyle">@style/res_2131952787_widget_materialcomponents_navigationview</item>
<item name="popupMenuStyle">@style/res_2131952788_widget_materialcomponents_popupmenu</item>
<item name="radioButtonStyle">@style/res_2131952757_widget_materialcomponents_compoundbutton_radiobutton</item>
<item name="snackbarButtonStyle">@style/res_2131952741_widget_materialcomponents_button_textbutton_snackbar</item>
<item name="snackbarStyle">@style/res_2131952795_widget_materialcomponents_snackbar</item>
<item name="snackbarTextViewStyle">@style/res_2131952797_widget_materialcomponents_snackbar_textview</item>
<item name="switchStyle">@style/res_2131952758_widget_materialcomponents_compoundbutton_switch</item>
<item name="tabStyle">@style/res_2131952798_widget_materialcomponents_tablayout</item>
<item name="textAppearanceLargePopupMenu">?attr/textAppearanceSubtitle1</item>
<item name="textAppearanceSmallPopupMenu">?attr/textAppearanceSubtitle1</item>
<item name="textInputStyle">@style/res_2131952804_widget_materialcomponents_textinputlayout_filledbox</item>
<item name="toolbarStyle">@style/res_2131952820_widget_materialcomponents_toolbar</item>
<item name="textInputStyle">@style/res_2131952805_widget_materialcomponents_textinputlayout_filledbox</item>
<item name="toolbarStyle">@style/res_2131952821_widget_materialcomponents_toolbar</item>
<item name="viewInflaterClass">com.google.android.material.theme.MaterialComponentsViewInflater</item>
</style>
<style name="res_2131952206_textappearance_compat_notification_info_media" parent="@style/res_2131952205_textappearance_compat_notification_info">

View File

@ -43,7 +43,7 @@
<style name="UiKit_TextInputLayout_EditText_SingleLine_Username" parent="@style/UiKit_TextInputLayout_EditText_SingleLine">
<item name="android:autofillHints">username</item>
</style>
<style name="res_2131952700_widget_design_appbarlayout" parent="@android:style/Widget">
<style name="res_2131952701_widget_design_appbarlayout" parent="@android:style/Widget">
<item name="android:background">?attr/colorPrimary</item>
<item name="android:stateListAnimator">@animator/design_appbar_state_list_animator</item>
<item name="android:touchscreenBlocksFocus">true</item>

View File

@ -6,13 +6,13 @@
</style>
<style name="res_2131951800_base_v14_themeoverlay_materialcomponents_materialalertdialog" parent="@style/res_2131952330_themeoverlay_appcompat_dialog_alert">
<item name="android:backgroundDimAmount">0.32</item>
<item name="android:checkedTextViewStyle">@style/res_2131952744_widget_materialcomponents_checkedtextview</item>
<item name="android:checkedTextViewStyle">@style/res_2131952745_widget_materialcomponents_checkedtextview</item>
<item name="android:dialogCornerRadius">@null</item>
<item name="alertDialogStyle">@style/res_2131952032_materialalertdialog_materialcomponents</item>
<item name="buttonBarButtonStyle">@style/res_2131952736_widget_materialcomponents_button_textbutton_dialog</item>
<item name="buttonBarNegativeButtonStyle">@style/res_2131952736_widget_materialcomponents_button_textbutton_dialog</item>
<item name="buttonBarNeutralButtonStyle">@style/res_2131952737_widget_materialcomponents_button_textbutton_dialog_flush</item>
<item name="buttonBarPositiveButtonStyle">@style/res_2131952736_widget_materialcomponents_button_textbutton_dialog</item>
<item name="buttonBarButtonStyle">@style/res_2131952737_widget_materialcomponents_button_textbutton_dialog</item>
<item name="buttonBarNegativeButtonStyle">@style/res_2131952737_widget_materialcomponents_button_textbutton_dialog</item>
<item name="buttonBarNeutralButtonStyle">@style/res_2131952738_widget_materialcomponents_button_textbutton_dialog_flush</item>
<item name="buttonBarPositiveButtonStyle">@style/res_2131952737_widget_materialcomponents_button_textbutton_dialog</item>
<item name="materialAlertDialogBodyTextStyle">@style/res_2131952033_materialalertdialog_materialcomponents_body_text</item>
</style>
<style name="res_2131951817_base_v28_theme_appcompat" parent="@style/res_2131951814_base_v26_theme_appcompat">

File diff suppressed because it is too large Load Diff

View File

@ -1426,7 +1426,7 @@
<string name="color_picker_title">Select a color</string>
<string name="color_picker_transparency">Transparency</string>
<string name="color_picker_use_default">Use Default</string>
<string name="res_2131887506_com_crashlytics_android_build_id">a40446995ab1449ca3570853cf0e79ff</string>
<string name="res_2131887506_com_crashlytics_android_build_id">13b15e83a1404fa49a9bdea40628494c</string>
<string name="coming_soon">Coming Soon</string>
<string name="command_accessibility_desc_app_header_item">Slash command application {applicationName}</string>
<string name="command_accessibility_desc_app_item">{applicationName} application</string>

File diff suppressed because it is too large Load Diff