82.9 - Beta (82109)

This commit is contained in:
Juby210 2021-07-04 17:32:49 +02:00
parent 9b582d0914
commit 3befb67634
Signed by: Juby210
GPG key ID: F459CEC5C92E1482
18 changed files with 80 additions and 64 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId 'com.discord' applicationId 'com.discord'
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode 82108 versionCode 82109
versionName "82.8 - Beta" versionName "82.9 - Beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="82108" android:versionName="82.8 - 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="82109" android:versionName="82.9 - 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-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/> <uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/> <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

View file

@ -1,6 +1,8 @@
package c.a.z.o0; package c.a.z.o0;
import android.view.View; import android.view.View;
import com.discord.api.sticker.Sticker;
import com.discord.api.sticker.StickerType;
import com.discord.utilities.file.DownloadUtils; import com.discord.utilities.file.DownloadUtils;
import com.discord.views.sticker.StickerView; import com.discord.views.sticker.StickerView;
import d0.z.d.m; import d0.z.d.m;
@ -24,8 +26,11 @@ public final class c extends o implements Function1<View, Unit> {
@Override // kotlin.jvm.functions.Function1 @Override // kotlin.jvm.functions.Function1
public Unit invoke(View view) { public Unit invoke(View view) {
m.checkNotNullParameter(view, "it"); m.checkNotNullParameter(view, "it");
StickerView stickerView = this.this$0.this$0; Sticker sticker = this.this$0.$fullSticker;
stickerView.l = StickerView.a(stickerView, ((DownloadUtils.DownloadState.Completed) this.$downloadState).getFile(), true); if ((sticker != null ? sticker.k() : null) == StickerType.STANDARD) {
StickerView stickerView = this.this$0.this$0;
stickerView.l = StickerView.a(stickerView, ((DownloadUtils.DownloadState.Completed) this.$downloadState).getFile(), true);
}
return Unit.a; return Unit.a;
} }
} }

View file

@ -2,6 +2,8 @@ package c.a.z.o0;
import android.widget.ImageView; import android.widget.ImageView;
import com.discord.api.sticker.BaseSticker; import com.discord.api.sticker.BaseSticker;
import com.discord.api.sticker.Sticker;
import com.discord.api.sticker.StickerType;
import com.discord.utilities.dsti.StickerUtils; import com.discord.utilities.dsti.StickerUtils;
import com.discord.utilities.file.DownloadUtils; import com.discord.utilities.file.DownloadUtils;
import com.discord.utilities.images.MGImages; import com.discord.utilities.images.MGImages;
@ -15,16 +17,18 @@ import kotlin.Unit;
import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function1;
/* compiled from: StickerView.kt */ /* compiled from: StickerView.kt */
public final class d extends o implements Function1<Pair<? extends DownloadUtils.DownloadState, ? extends Integer>, Unit> { public final class d extends o implements Function1<Pair<? extends DownloadUtils.DownloadState, ? extends Integer>, Unit> {
public final /* synthetic */ Sticker $fullSticker;
public final /* synthetic */ Integer $localAnimationSettings; public final /* synthetic */ Integer $localAnimationSettings;
public final /* synthetic */ BaseSticker $sticker; public final /* synthetic */ BaseSticker $sticker;
public final /* synthetic */ StickerView this$0; public final /* synthetic */ StickerView this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */ /* JADX INFO: super call moved to the top of the method (can break code semantics) */
public d(StickerView stickerView, Integer num, BaseSticker baseSticker) { public d(StickerView stickerView, Integer num, BaseSticker baseSticker, Sticker sticker) {
super(1); super(1);
this.this$0 = stickerView; this.this$0 = stickerView;
this.$localAnimationSettings = num; this.$localAnimationSettings = num;
this.$sticker = baseSticker; this.$sticker = baseSticker;
this.$fullSticker = sticker;
} }
/* Return type fixed from 'java.lang.Object' to match base method */ /* Return type fixed from 'java.lang.Object' to match base method */
@ -45,20 +49,31 @@ public final class d extends o implements Function1<Pair<? extends DownloadUtils
SimpleDraweeView simpleDraweeView = this.this$0.i.b; SimpleDraweeView simpleDraweeView = this.this$0.i.b;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.stickerViewImageview"); m.checkNotNullExpressionValue(simpleDraweeView, "binding.stickerViewImageview");
simpleDraweeView.setContentDescription(this.this$0.b(this.$sticker)); simpleDraweeView.setContentDescription(this.this$0.b(this.$sticker));
StickerType stickerType = null;
if (num != null && num.intValue() == 0) { if (num != null && num.intValue() == 0) {
StickerView stickerView = this.this$0; Sticker sticker = this.$fullSticker;
stickerView.l = StickerView.a(stickerView, ((DownloadUtils.DownloadState.Completed) downloadState).getFile(), true); if (sticker != null) {
stickerType = sticker.k();
}
if (stickerType == StickerType.STANDARD) {
StickerView stickerView = this.this$0;
stickerView.l = StickerView.a(stickerView, ((DownloadUtils.DownloadState.Completed) downloadState).getFile(), true);
} else {
SimpleDraweeView simpleDraweeView2 = this.this$0.i.b;
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.stickerViewImageview");
MGImages.setImage$default(simpleDraweeView2, StickerUtils.getCDNAssetUrl$default(StickerUtils.INSTANCE, this.$sticker, null, false, 2, null), 0, 0, false, null, null, 124, null);
}
} else if (num != null && num.intValue() == 1) { } else if (num != null && num.intValue() == 1) {
SimpleDraweeView simpleDraweeView2 = this.this$0.i.b;
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.stickerViewImageview");
MGImages.setImage$default(simpleDraweeView2, StickerUtils.getCDNAssetUrl$default(StickerUtils.INSTANCE, this.$sticker, null, false, 2, null), 0, 0, false, null, null, 124, null);
SimpleDraweeView simpleDraweeView3 = this.this$0.i.b; SimpleDraweeView simpleDraweeView3 = this.this$0.i.b;
m.checkNotNullExpressionValue(simpleDraweeView3, "binding.stickerViewImageview"); m.checkNotNullExpressionValue(simpleDraweeView3, "binding.stickerViewImageview");
ViewExtensions.setOnLongClickListenerConsumeClick(simpleDraweeView3, new c(this, downloadState)); MGImages.setImage$default(simpleDraweeView3, StickerUtils.getCDNAssetUrl$default(StickerUtils.INSTANCE, this.$sticker, null, false, 2, null), 0, 0, false, null, null, 124, null);
} else if (num != null && num.intValue() == 2) {
SimpleDraweeView simpleDraweeView4 = this.this$0.i.b; SimpleDraweeView simpleDraweeView4 = this.this$0.i.b;
m.checkNotNullExpressionValue(simpleDraweeView4, "binding.stickerViewImageview"); m.checkNotNullExpressionValue(simpleDraweeView4, "binding.stickerViewImageview");
MGImages.setImage$default(simpleDraweeView4, StickerUtils.getCDNAssetUrl$default(StickerUtils.INSTANCE, this.$sticker, null, false, 2, null), 0, 0, false, null, null, 124, null); ViewExtensions.setOnLongClickListenerConsumeClick(simpleDraweeView4, new c(this, downloadState));
} else if (num != null && num.intValue() == 2) {
SimpleDraweeView simpleDraweeView5 = this.this$0.i.b;
m.checkNotNullExpressionValue(simpleDraweeView5, "binding.stickerViewImageview");
MGImages.setImage$default(simpleDraweeView5, StickerUtils.getCDNAssetUrl$default(StickerUtils.INSTANCE, this.$sticker, null, false, 2, null), 0, 0, false, null, null, 124, null);
this.this$0.i.b.setOnLongClickListener(null); this.this$0.i.b.setOnLongClickListener(null);
} }
} }

View file

@ -172,7 +172,7 @@ public class App extends Application {
loggingProvider.init(appLog); loggingProvider.init(appLog);
c.i.c.c.e(this); c.i.c.c.e(this);
String str = null; String str = null;
if (BuildUtils.INSTANCE.isValidBuildVersionName("82.8 - Beta")) { if (BuildUtils.INSTANCE.isValidBuildVersionName("82.9 - Beta")) {
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true); FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true);
} else { } else {
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(false); FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(false);

View file

@ -15,7 +15,7 @@ public final class StoreClientVersion extends Store {
private int clientMinVersion; private int clientMinVersion;
private final String clientMinVersionKey = "CLIENT_OUTDATED_KEY"; private final String clientMinVersionKey = "CLIENT_OUTDATED_KEY";
private final SerializedSubject<Boolean, Boolean> clientOutdatedSubject = new SerializedSubject<>(BehaviorSubject.l0(Boolean.FALSE)); private final SerializedSubject<Boolean, Boolean> clientOutdatedSubject = new SerializedSubject<>(BehaviorSubject.l0(Boolean.FALSE));
private final int clientVersion = 82108; private final int clientVersion = 82109;
public static final /* synthetic */ void access$setClientMinVersion(StoreClientVersion storeClientVersion, int i) { public static final /* synthetic */ void access$setClientMinVersion(StoreClientVersion storeClientVersion, int i) {
storeClientVersion.setClientMinVersion(i); storeClientVersion.setClientMinVersion(i);

View file

@ -144,6 +144,7 @@ public final class StorePinnedMessages extends StoreV2 {
@StoreThread @StoreThread
public final void handleMessageUpdate(com.discord.api.message.Message message) { public final void handleMessageUpdate(com.discord.api.message.Message message) {
UtcDateTime timestamp;
m.checkNotNullParameter(message, "updatedMessage"); m.checkNotNullParameter(message, "updatedMessage");
long g = message.g(); long g = message.g();
long o = message.o(); long o = message.o();
@ -160,12 +161,11 @@ public final class StorePinnedMessages extends StoreV2 {
this.updatedChannelIds.add(Long.valueOf(g)); this.updatedChannelIds.add(Long.valueOf(g));
markChanged(); markChanged();
} else if (areEqual) { } else if (areEqual) {
int i = 0;
UtcDateTime C = message.C(); UtcDateTime C = message.C();
long j = 0; long j = 0;
long f = C != null ? C.f() : 0; long f = C != null ? C.f() : 0;
UtcDateTime timestamp = list.get(0).getTimestamp(); int i = 0;
if (timestamp != null) { if (list.size() > 0 && (timestamp = list.get(0).getTimestamp()) != null) {
j = timestamp.f(); j = timestamp.f();
} }
while (i < list.size() && f < j) { while (i < list.size() && f < j) {

View file

@ -20,7 +20,6 @@ import java.util.LinkedHashMap;
import java.util.LinkedHashSet; import java.util.LinkedHashSet;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Objects;
import java.util.Set; import java.util.Set;
import rx.Observable; import rx.Observable;
/* compiled from: StoreThreadMembers.kt */ /* compiled from: StoreThreadMembers.kt */
@ -70,13 +69,12 @@ public final class StoreThreadMembers extends StoreV2 {
} }
} }
/* JADX WARNING: Code restructure failed: missing block: B:18:0x007a, code lost: /* JADX WARNING: Code restructure failed: missing block: B:12:0x005d, code lost:
if (r7 != null) goto L_0x0082; if (r6 != null) goto L_0x0065;
*/ */
@StoreThread @StoreThread
public final void handleThreadMemberListUpdate(ThreadMemberListUpdate threadMemberListUpdate) { public final void handleThreadMemberListUpdate(ThreadMemberListUpdate threadMemberListUpdate) {
Set<Long> set; Set<Long> set;
User j;
m.checkNotNullParameter(threadMemberListUpdate, "threadMemberListUpdate"); m.checkNotNullParameter(threadMemberListUpdate, "threadMemberListUpdate");
Channel channelInternal$app_productionBetaRelease = this.storeChannels.getChannelInternal$app_productionBetaRelease(threadMemberListUpdate.a(), threadMemberListUpdate.c()); Channel channelInternal$app_productionBetaRelease = this.storeChannels.getChannelInternal$app_productionBetaRelease(threadMemberListUpdate.a(), threadMemberListUpdate.c());
if ((channelInternal$app_productionBetaRelease != null ? Long.valueOf(channelInternal$app_productionBetaRelease.r()) : null) != null) { if ((channelInternal$app_productionBetaRelease != null ? Long.valueOf(channelInternal$app_productionBetaRelease.r()) : null) != null) {
@ -86,10 +84,7 @@ public final class StoreThreadMembers extends StoreV2 {
if (b != null) { if (b != null) {
ArrayList arrayList = new ArrayList(o.collectionSizeOrDefault(b, 10)); ArrayList arrayList = new ArrayList(o.collectionSizeOrDefault(b, 10));
for (ThreadListMember threadListMember : b) { for (ThreadListMember threadListMember : b) {
GuildMember a = threadListMember.a(); arrayList.add(Long.valueOf(threadListMember.c()));
Long valueOf2 = (a == null || (j = a.j()) == null) ? null : Long.valueOf(j.i());
Objects.requireNonNull(valueOf2, "null cannot be cast to non-null type com.discord.models.domain.UserId /* = kotlin.Long */");
arrayList.add(Long.valueOf(valueOf2.longValue()));
} }
set = u.toMutableSet(arrayList); set = u.toMutableSet(arrayList);
} }

View file

@ -77,7 +77,7 @@ public final class AnalyticSuperProperties {
private final void setBaselineProperties() { private final void setBaselineProperties() {
String locale = Locale.getDefault().toString(); String locale = Locale.getDefault().toString();
m.checkNotNullExpressionValue(locale, "Locale.getDefault().toString()"); m.checkNotNullExpressionValue(locale, "Locale.getDefault().toString()");
updateSuperProperties(h0.mapOf(o.to("browser", "Discord Android"), o.to("browser_user_agent", "Discord-Android/82108"), o.to("client_build_number", 82108), o.to("client_version", "82.8 - Beta"), o.to("device", Build.MODEL + ", " + Build.PRODUCT), o.to("os", "Android"), o.to("os_sdk_version", String.valueOf(Build.VERSION.SDK_INT)), o.to("os_version", Build.VERSION.RELEASE), o.to("system_locale", t.replace$default(locale, "_", "-", false, 4, (Object) null)))); updateSuperProperties(h0.mapOf(o.to("browser", "Discord Android"), o.to("browser_user_agent", "Discord-Android/82109"), o.to("client_build_number", 82109), o.to("client_version", "82.9 - Beta"), o.to("device", Build.MODEL + ", " + Build.PRODUCT), o.to("os", "Android"), o.to("os_sdk_version", String.valueOf(Build.VERSION.SDK_INT)), o.to("os_version", Build.VERSION.RELEASE), o.to("system_locale", t.replace$default(locale, "_", "-", false, 4, (Object) null))));
} }
private final void setSuperProperties(Map<String, ? extends Object> map) { private final void setSuperProperties(Map<String, ? extends Object> map) {

View file

@ -177,7 +177,7 @@ public final class RestAPI implements RestAPIInterface {
@Override // com.discord.restapi.RequiredHeadersInterceptor.HeadersProvider @Override // com.discord.restapi.RequiredHeadersInterceptor.HeadersProvider
public String getUserAgent() { public String getUserAgent() {
return "Discord-Android/82108"; return "Discord-Android/82109";
} }
} }

View file

@ -159,12 +159,13 @@ public final class StickerView extends FrameLayout {
m.checkNotNullExpressionValue(hierarchy2, "binding.stickerViewImageview.hierarchy"); m.checkNotNullExpressionValue(hierarchy2, "binding.stickerViewImageview.hierarchy");
ScalingUtils$ScaleType scalingUtils$ScaleType2 = ScalingUtils$ScaleType.a; ScalingUtils$ScaleType scalingUtils$ScaleType2 = ScalingUtils$ScaleType.a;
hierarchy2.n(v.l); hierarchy2.n(v.l);
Sticker sticker = baseSticker instanceof Sticker ? (Sticker) baseSticker : null;
StickerUtils stickerUtils = StickerUtils.INSTANCE; StickerUtils stickerUtils = StickerUtils.INSTANCE;
Context context = getContext(); Context context = getContext();
m.checkNotNullExpressionValue(context, "context"); m.checkNotNullExpressionValue(context, "context");
Observable j = Observable.j(ObservableExtensionsKt.restSubscribeOn$default(stickerUtils.fetchSticker(context, baseSticker), false, 1, null), StoreUserSettings.observeStickerAnimationSettings$default(StoreStream.Companion.getUserSettings(), false, 1, null), a.i); Observable j = Observable.j(ObservableExtensionsKt.restSubscribeOn$default(stickerUtils.fetchSticker(context, baseSticker), false, 1, null), StoreUserSettings.observeStickerAnimationSettings$default(StoreStream.Companion.getUserSettings(), false, 1, null), a.i);
m.checkNotNullExpressionValue(j, "Observable.combineLatest…lobalAnimationSettings) }"); m.checkNotNullExpressionValue(j, "Observable.combineLatest…lobalAnimationSettings) }");
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(j), StickerView.class, (Context) null, new c.a.z.o0.b(this), (Function1) null, (Function0) null, (Function0) null, new d(this, num, baseSticker), 58, (Object) null); ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(j), StickerView.class, (Context) null, new c.a.z.o0.b(this), (Function1) null, (Function0) null, (Function0) null, new d(this, num, baseSticker, sticker), 58, (Object) null);
} else if (ordinal != 3) { } else if (ordinal != 3) {
AppLog appLog = AppLog.g; AppLog appLog = AppLog.g;
Logger.e$default(appLog, "Invalid Sticker Format passed to " + StickerView.class + ", type: " + baseSticker.a(), null, null, 6, null); Logger.e$default(appLog, "Invalid Sticker Format passed to " + StickerView.class + ", type: " + baseSticker.a(), null, null, 6, null);

View file

@ -7,18 +7,18 @@ import com.discord.widgets.chat.list.actions.WidgetChatListActions;
/* compiled from: WidgetChatListActions.kt */ /* compiled from: WidgetChatListActions.kt */
public final class WidgetChatListActions$configureUI$10 implements View.OnClickListener { public final class WidgetChatListActions$configureUI$10 implements View.OnClickListener {
public final /* synthetic */ WidgetChatListActions.Model $data; public final /* synthetic */ WidgetChatListActions.Model $data;
public final /* synthetic */ Long $guildId; public final /* synthetic */ long $guildId;
public final /* synthetic */ WidgetChatListActions this$0; public final /* synthetic */ WidgetChatListActions this$0;
public WidgetChatListActions$configureUI$10(WidgetChatListActions widgetChatListActions, WidgetChatListActions.Model model, Long l) { public WidgetChatListActions$configureUI$10(WidgetChatListActions widgetChatListActions, WidgetChatListActions.Model model, long j) {
this.this$0 = widgetChatListActions; this.this$0 = widgetChatListActions;
this.$data = model; this.$data = model;
this.$guildId = l; this.$guildId = j;
} }
@Override // android.view.View.OnClickListener @Override // android.view.View.OnClickListener
public final void onClick(View view) { public final void onClick(View view) {
this.this$0.requireContext().startActivity(Intent.createChooser(IntentUtils.INSTANCE.toExternalizedSend(IntentUtils.RouteBuilders.selectChannel(this.$data.getMessage().getChannelId(), this.$guildId.longValue(), Long.valueOf(this.$data.getMessage().getId()))), this.this$0.getString(2131893322))); this.this$0.requireContext().startActivity(Intent.createChooser(IntentUtils.INSTANCE.toExternalizedSend(IntentUtils.RouteBuilders.selectChannel(this.$data.getMessage().getChannelId(), this.$guildId, Long.valueOf(this.$data.getMessage().getId()))), this.this$0.getString(2131893322)));
this.this$0.dismiss(); this.this$0.dismiss();
} }
} }

View file

@ -6,18 +6,18 @@ import com.discord.widgets.chat.list.actions.WidgetChatListActions;
/* compiled from: WidgetChatListActions.kt */ /* compiled from: WidgetChatListActions.kt */
public final class WidgetChatListActions$configureUI$15 implements View.OnClickListener { public final class WidgetChatListActions$configureUI$15 implements View.OnClickListener {
public final /* synthetic */ WidgetChatListActions.Model $data; public final /* synthetic */ WidgetChatListActions.Model $data;
public final /* synthetic */ Long $guildId; public final /* synthetic */ long $guildId;
public final /* synthetic */ WidgetChatListActions this$0; public final /* synthetic */ WidgetChatListActions this$0;
public WidgetChatListActions$configureUI$15(WidgetChatListActions widgetChatListActions, Long l, WidgetChatListActions.Model model) { public WidgetChatListActions$configureUI$15(WidgetChatListActions widgetChatListActions, long j, WidgetChatListActions.Model model) {
this.this$0 = widgetChatListActions; this.this$0 = widgetChatListActions;
this.$guildId = l; this.$guildId = j;
this.$data = model; this.$data = model;
} }
@Override // android.view.View.OnClickListener @Override // android.view.View.OnClickListener
public final void onClick(View view) { public final void onClick(View view) {
this.this$0.dismiss(); this.this$0.dismiss();
ChannelSelector.Companion.getInstance().openCreateThread(this.$guildId.longValue(), this.$data.getMessage().getChannelId(), Long.valueOf(this.$data.getMessage().getId())); ChannelSelector.Companion.getInstance().openCreateThread(this.$guildId, this.$data.getMessage().getChannelId(), Long.valueOf(this.$data.getMessage().getId()));
} }
} }

View file

@ -451,30 +451,30 @@ public final class WidgetChatListActions extends AppBottomSheet {
widgetChatListActionsEmojisAdapter.setData(list, min); widgetChatListActionsEmojisAdapter.setData(list, min);
} }
/* JADX WARNING: Removed duplicated region for block: B:102:0x02a1 */ /* JADX WARNING: Removed duplicated region for block: B:102:0x029c */
/* JADX WARNING: Removed duplicated region for block: B:103:0x02a3 */ /* JADX WARNING: Removed duplicated region for block: B:103:0x029e */
/* JADX WARNING: Removed duplicated region for block: B:106:0x02be */ /* JADX WARNING: Removed duplicated region for block: B:106:0x02b9 */
/* JADX WARNING: Removed duplicated region for block: B:107:0x02c2 */ /* JADX WARNING: Removed duplicated region for block: B:107:0x02bd */
/* JADX WARNING: Removed duplicated region for block: B:110:0x02eb */ /* JADX WARNING: Removed duplicated region for block: B:110:0x02e6 */
/* JADX WARNING: Removed duplicated region for block: B:111:0x02ed */ /* JADX WARNING: Removed duplicated region for block: B:111:0x02e8 */
/* JADX WARNING: Removed duplicated region for block: B:131:0x035b */ /* JADX WARNING: Removed duplicated region for block: B:131:0x0356 */
/* JADX WARNING: Removed duplicated region for block: B:132:0x035d */ /* JADX WARNING: Removed duplicated region for block: B:132:0x0358 */
/* JADX WARNING: Removed duplicated region for block: B:135:0x0394 */ /* JADX WARNING: Removed duplicated region for block: B:135:0x038f */
/* JADX WARNING: Removed duplicated region for block: B:81:0x020a */ /* JADX WARNING: Removed duplicated region for block: B:81:0x0205 */
/* JADX WARNING: Removed duplicated region for block: B:82:0x020c */ /* JADX WARNING: Removed duplicated region for block: B:82:0x0207 */
/* JADX WARNING: Removed duplicated region for block: B:90:0x024a */ /* JADX WARNING: Removed duplicated region for block: B:90:0x0245 */
/* JADX WARNING: Removed duplicated region for block: B:91:0x024c */ /* JADX WARNING: Removed duplicated region for block: B:91:0x0247 */
/* JADX WARNING: Removed duplicated region for block: B:98:0x0277 */ /* JADX WARNING: Removed duplicated region for block: B:98:0x0272 */
/* JADX WARNING: Removed duplicated region for block: B:99:0x0279 */ /* JADX WARNING: Removed duplicated region for block: B:99:0x0274 */
private final void configureUI(Model model) { private final void configureUI(Model model) {
Channel channel; Channel channel;
Integer type; Integer type;
Guild guild; if (model == null) {
Long valueOf = (model == null || (guild = model.getGuild()) == null) ? null : Long.valueOf(guild.getId());
if (model == null || valueOf == null) {
dismiss(); dismiss();
return; return;
} }
Guild guild = model.getGuild();
long id2 = guild != null ? guild.getId() : 0;
boolean isLocal = model.getMessage().isLocal(); boolean isLocal = model.getMessage().isLocal();
boolean isCrossposted = model.getMessage().isCrossposted(); boolean isCrossposted = model.getMessage().isCrossposted();
boolean z2 = true; boolean z2 = true;
@ -530,7 +530,7 @@ public final class WidgetChatListActions extends AppBottomSheet {
TextView textView11 = getBinding().p; TextView textView11 = getBinding().p;
m.checkNotNullExpressionValue(textView11, "binding.dialogChatActionsShare"); m.checkNotNullExpressionValue(textView11, "binding.dialogChatActionsShare");
textView11.setVisibility(!(!model.isDeveloper() && !isLocal) ? 0 : 8); textView11.setVisibility(!(!model.isDeveloper() && !isLocal) ? 0 : 8);
getBinding().p.setOnClickListener(new WidgetChatListActions$configureUI$10(this, model, valueOf)); getBinding().p.setOnClickListener(new WidgetChatListActions$configureUI$10(this, model, id2));
TextView textView12 = getBinding().i; TextView textView12 = getBinding().i;
m.checkNotNullExpressionValue(textView12, "binding.dialogChatActionsPin"); m.checkNotNullExpressionValue(textView12, "binding.dialogChatActionsPin");
textView12.setVisibility(!model.getManageMessageContext().getCanTogglePinned() ? 0 : 8); textView12.setVisibility(!model.getManageMessageContext().getCanTogglePinned() ? 0 : 8);
@ -555,7 +555,7 @@ public final class WidgetChatListActions extends AppBottomSheet {
i = 8; i = 8;
} }
textView15.setVisibility(i); textView15.setVisibility(i);
getBinding().q.setOnClickListener(new WidgetChatListActions$configureUI$15(this, valueOf, model)); getBinding().q.setOnClickListener(new WidgetChatListActions$configureUI$15(this, id2, model));
} }
} }
TextView textView16 = getBinding().f1723c; TextView textView16 = getBinding().f1723c;
@ -573,7 +573,7 @@ public final class WidgetChatListActions extends AppBottomSheet {
TextView textView11 = getBinding().p; TextView textView11 = getBinding().p;
m.checkNotNullExpressionValue(textView11, "binding.dialogChatActionsShare"); m.checkNotNullExpressionValue(textView11, "binding.dialogChatActionsShare");
textView11.setVisibility(!(!model.isDeveloper() && !isLocal) ? 0 : 8); textView11.setVisibility(!(!model.isDeveloper() && !isLocal) ? 0 : 8);
getBinding().p.setOnClickListener(new WidgetChatListActions$configureUI$10(this, model, valueOf)); getBinding().p.setOnClickListener(new WidgetChatListActions$configureUI$10(this, model, id2));
TextView textView12 = getBinding().i; TextView textView12 = getBinding().i;
m.checkNotNullExpressionValue(textView12, "binding.dialogChatActionsPin"); m.checkNotNullExpressionValue(textView12, "binding.dialogChatActionsPin");
textView12.setVisibility(!model.getManageMessageContext().getCanTogglePinned() ? 0 : 8); textView12.setVisibility(!model.getManageMessageContext().getCanTogglePinned() ? 0 : 8);
@ -596,7 +596,7 @@ public final class WidgetChatListActions extends AppBottomSheet {
if (!ThreadUtils.INSTANCE.canCreatePublicThread(model.getPermissions(), model.getChannel(), model.getMessage(), model.getGuild())) { if (!ThreadUtils.INSTANCE.canCreatePublicThread(model.getPermissions(), model.getChannel(), model.getMessage(), model.getGuild())) {
} }
textView15.setVisibility(i); textView15.setVisibility(i);
getBinding().q.setOnClickListener(new WidgetChatListActions$configureUI$15(this, valueOf, model)); getBinding().q.setOnClickListener(new WidgetChatListActions$configureUI$15(this, id2, model));
} }
@MainThread @MainThread

View file

@ -100,7 +100,7 @@ public final class WidgetFatalCrash extends AppFragment {
textView2.setText(b.j(this, 2131887892, objArr2, null, 4)); textView2.setText(b.j(this, 2131887892, objArr2, null, 4));
TextView textView3 = getBinding().b; TextView textView3 = getBinding().b;
m.checkNotNullExpressionValue(textView3, "binding.fatalCrashAppVersion"); m.checkNotNullExpressionValue(textView3, "binding.fatalCrashAppVersion");
textView3.setText(b.j(this, 2131887885, new Object[]{"82.8 - Beta"}, null, 4)); textView3.setText(b.j(this, 2131887885, new Object[]{"82.9 - Beta"}, null, 4));
TextView textView4 = getBinding().d; TextView textView4 = getBinding().d;
m.checkNotNullExpressionValue(textView4, "binding.fatalCrashOsVersion"); m.checkNotNullExpressionValue(textView4, "binding.fatalCrashOsVersion");
textView4.setText(b.j(this, 2131887888, new Object[]{String.valueOf(Build.VERSION.SDK_INT)}, null, 4)); textView4.setText(b.j(this, 2131887888, new Object[]{String.valueOf(Build.VERSION.SDK_INT)}, null, 4));

View file

@ -332,7 +332,7 @@ public final class WidgetSettings extends AppFragment implements OnTabSelectedLi
TextView textView = binding.f; TextView textView = binding.f;
m.checkNotNullExpressionValue(textView, "appInfoHeader"); m.checkNotNullExpressionValue(textView, "appInfoHeader");
String string = getString(2131886360); String string = getString(2131886360);
textView.setText(string + " - 82.8 - Beta (82108)"); textView.setText(string + " - 82.9 - Beta (82109)");
binding.f1921y.setOnClickListener(new WidgetSettings$onViewBound$$inlined$with$lambda$2(this)); binding.f1921y.setOnClickListener(new WidgetSettings$onViewBound$$inlined$with$lambda$2(this));
binding.u.setOnClickListener(WidgetSettings$onViewBound$1$4.INSTANCE); binding.u.setOnClickListener(WidgetSettings$onViewBound$1$4.INSTANCE);
binding.q.setOnClickListener(WidgetSettings$onViewBound$1$5.INSTANCE); binding.q.setOnClickListener(WidgetSettings$onViewBound$1$5.INSTANCE);

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/widget_home_container" style="@style/res_2131952600_uikit_viewgroup_page"> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/widget_home_container" android:background="?attr/colorBackgroundTertiary" style="@style/res_2131952600_uikit_viewgroup_page">
<ImageView android:id="@+id/peek_transition_bitmap" android:visibility="invisible" android:layout_width="match_parent" android:layout_height="match_parent"/> <ImageView android:id="@+id/peek_transition_bitmap" android:visibility="invisible" android:layout_width="match_parent" android:layout_height="match_parent"/>
<com.discord.widgets.home.HomePanelsLayout android:id="@+id/overlapping_panels" android:layout_width="match_parent" android:layout_height="match_parent" app:maxSidePanelNonFullScreenWidth="360dp"> <com.discord.widgets.home.HomePanelsLayout android:id="@+id/overlapping_panels" android:layout_width="match_parent" android:layout_height="match_parent" app:maxSidePanelNonFullScreenWidth="360dp">
<include android:id="@+id/panel_left" layout="@layout/widget_home_panel_left"/> <include android:id="@+id/panel_left" layout="@layout/widget_home_panel_left"/>

View file

@ -1341,7 +1341,7 @@
<string name="color_picker_presets">Presets</string> <string name="color_picker_presets">Presets</string>
<string name="color_picker_title">Select a color</string> <string name="color_picker_title">Select a color</string>
<string name="color_picker_transparency">Transparency</string> <string name="color_picker_transparency">Transparency</string>
<string name="res_2131887421_com_crashlytics_android_build_id">816a4ef7143640c8aa5d14c40ed7c8d2</string> <string name="res_2131887421_com_crashlytics_android_build_id">b98318c12ac84e23aff9ec103d261bc0</string>
<string name="coming_soon">Coming Soon</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_header_item">Slash command application {applicationName}</string>
<string name="command_accessibility_desc_app_item">{applicationName} application</string> <string name="command_accessibility_desc_app_item">{applicationName} application</string>