96.6 - Stable (96006)

This commit is contained in:
Juby210 2021-10-18 20:14:21 +02:00
parent 45d2c9aed5
commit 41aca4f815
10 changed files with 14 additions and 14 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 29
versionCode 96005
versionName "96.5 - Stable"
versionCode 96006
versionName "96.6 - Stable"
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="96005" android:versionName="96.5 - Stable" 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="96006" android:versionName="96.6 - Stable" 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

@ -2681,7 +2681,7 @@ public class AnimatableValueParser {
public static final boolean i1(Channel channel, Presence presence) {
m.checkNotNullParameter(channel, "$this$isDMStatusVisible");
com.discord.models.user.User v0 = v0(channel);
return h1(channel) && !A1(channel) && (v0 != null ? UserUtils.INSTANCE.isStatusVisible(v0, presence) : false);
return h1(channel) && !A1(channel) && (v0 != null ? UserUtils.INSTANCE.isStatusVisible(v0, presence, true) : false);
}
@RecentlyNonNull

View file

@ -272,13 +272,13 @@ public final class UserUtils {
return hasFlag(user, 1);
}
public final boolean isStatusVisible(int i, Presence presence) {
return presence != null && (!hasFlag(i, 524288) || presence.getStatus() != ClientStatus.OFFLINE);
public final boolean isStatusVisible(int i, Presence presence, boolean z2) {
return hasFlag(i, 524288) ? (presence == null || presence.getStatus() == ClientStatus.OFFLINE) ? false : true : presence != null || z2;
}
public final boolean isStatusVisible(User user, Presence presence) {
public final boolean isStatusVisible(User user, Presence presence, boolean z2) {
m.checkNotNullParameter(user, "$this$isStatusVisible");
return isStatusVisible(user.getPublicFlags() | user.getFlags(), presence);
return isStatusVisible(user.getPublicFlags() | user.getFlags(), presence, z2);
}
public final boolean isVerifiedBot(User user) {

View file

@ -270,7 +270,7 @@ public final class UserAvatarPresenceView extends RelativeLayout {
}
StatusView statusView = this.i.e;
m.checkNotNullExpressionValue(statusView, "binding.userAvatarPresenceStatus");
if (!aVar.d || !UserUtils.INSTANCE.isStatusVisible(aVar.a, aVar.b)) {
if (!aVar.d || !UserUtils.INSTANCE.isStatusVisible(aVar.a, aVar.b, true)) {
z3 = false;
}
if (!z3) {

View file

@ -61,7 +61,7 @@ public final class ChannelMembersListViewHolderMember extends RecyclerView.ViewH
this.binding.g.setPresence(member.getPresence());
StatusView statusView = this.binding.g;
m.checkNotNullExpressionValue(statusView, "binding.channelMembersListItemPresence");
statusView.setVisibility(UserUtils.INSTANCE.isStatusVisible(member.getUserFlags(), member.getPresence()) ? 0 : 8);
statusView.setVisibility(UserUtils.INSTANCE.isStatusVisible(member.getUserFlags(), member.getPresence(), true) ? 0 : 8);
ImageView imageView3 = this.binding.h;
m.checkNotNullExpressionValue(imageView3, "binding.channelMembersListItemRichPresenceIv");
if (!PresenceUtils.INSTANCE.shouldShowRichPresenceIcon(member.getPresence())) {

View file

@ -357,7 +357,7 @@ public final class AutocompleteItemViewHolder extends RecyclerView.ViewHolder {
if (presence != null) {
StatusView statusView = this.binding.g;
m.checkNotNullExpressionValue(statusView, "binding.chatInputItemStatus");
if (!userUtils.isStatusVisible(user, presence)) {
if (!userUtils.isStatusVisible(user, presence, true)) {
i = 8;
}
statusView.setVisibility(i);

View file

@ -600,7 +600,7 @@ public final class WidgetSearchSuggestionsAdapter extends MGRecyclerAdapterSimpl
userListItemView.j.e.setPresence(null);
StatusView statusView = userListItemView.j.e;
m.checkNotNullExpressionValue(statusView, "binding.userListItemStatus");
if (!userUtils.isStatusVisible(user, (Presence) null)) {
if (!userUtils.isStatusVisible(user, (Presence) null, false)) {
i3 = 8;
}
statusView.setVisibility(i3);

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 + " - 96.5 - Stable (96005)");
textView.setText(string + " - 96.6 - Stable (96006)");
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

@ -1432,7 +1432,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_2131887512_com_crashlytics_android_build_id">78bf26a0f09948c2b9eeba477a48be8d</string>
<string name="res_2131887512_com_crashlytics_android_build_id">eb2e4e84e0af4718bf64b623cf226a71</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>