From 242ed9e2b738e90e41b6829506b594371f72123f Mon Sep 17 00:00:00 2001 From: Juby210 Date: Thu, 13 Jan 2022 09:55:12 +0100 Subject: [PATCH] 110.7 - Beta (110107) --- app/build.gradle | 4 +-- app/src/main/AndroidManifest.xml | 2 +- ...ActionUserCommunicationDisabledUpdate.java | 25 ++++++++++---- .../com/discord/restapi/RestAPIInterface.java | 2 +- .../utilities/analytics/AnalyticsTracker.java | 4 --- .../com/discord/utilities/rest/RestAPI.java | 2 +- ...Model$onDisableCommunicationConfirm$1.java | 30 +++++----------- ...Model$onDisableCommunicationConfirm$2.java | 28 +++++++++++++++ .../DisableGuildCommunicationViewModel.java | 8 +++-- .../GuildCommunicationDisabledDateUtils.java | 6 ++-- ...tion$handleEnableGuildCommunication$1.java | 30 ++++------------ ...tion$handleEnableGuildCommunication$2.java | 34 +++++++++++++++++++ .../start/WidgetEnableGuildCommunication.java | 3 +- .../widgets/settings/WidgetSettings.java | 2 +- app/src/main/res/values/strings.xml | 2 +- 15 files changed, 114 insertions(+), 68 deletions(-) create mode 100644 app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$2.java create mode 100644 app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication$handleEnableGuildCommunication$2.java diff --git a/app/build.gradle b/app/build.gradle index 38e8147c0f..958203bccb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId 'com.discord' minSdkVersion 21 targetSdkVersion 30 - versionCode 110105 - versionName "110.5 - Beta" + versionCode 110107 + versionName "110.7 - Beta" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4a281fd298..da7b148f87 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ - + diff --git a/app/src/main/java/com/discord/analytics/generated/events/network_action/TrackNetworkActionUserCommunicationDisabledUpdate.java b/app/src/main/java/com/discord/analytics/generated/events/network_action/TrackNetworkActionUserCommunicationDisabledUpdate.java index 0afad9c3ed..052ed60767 100644 --- a/app/src/main/java/com/discord/analytics/generated/events/network_action/TrackNetworkActionUserCommunicationDisabledUpdate.java +++ b/app/src/main/java/com/discord/analytics/generated/events/network_action/TrackNetworkActionUserCommunicationDisabledUpdate.java @@ -11,16 +11,29 @@ import com.discord.api.science.AnalyticsSchema; import d0.z.d.m; /* compiled from: TrackNetworkActionUserCommunicationDisabledUpdate.kt */ public final class TrackNetworkActionUserCommunicationDisabledUpdate implements AnalyticsSchema, TrackBaseReceiver, TrackLocationMetadataReceiver, TrackNetworkMetadataReceiver { - private final transient String analyticsSchemaTypeName = "network_action_user_communication_disabled_update"; - private final Long communicationDisabledUntil = null; - private final Float duration = null; - private final Long guildId = null; - private final CharSequence reason = null; - private final Long targetUserId = null; + private final transient String analyticsSchemaTypeName; + private final Long communicationDisabledUntil; + private final Float duration; + private final Long guildId; + private final CharSequence reason; + private final Long targetUserId; private TrackBase trackBase; private TrackLocationMetadata trackLocationMetadata; private TrackNetworkMetadata trackNetworkMetadata; + public TrackNetworkActionUserCommunicationDisabledUpdate() { + this(null, null, null, null, null); + } + + public TrackNetworkActionUserCommunicationDisabledUpdate(Long l, Long l2, Float f, CharSequence charSequence, Long l3) { + this.guildId = l; + this.targetUserId = l2; + this.duration = f; + this.reason = charSequence; + this.communicationDisabledUntil = l3; + this.analyticsSchemaTypeName = "network_action_user_communication_disabled_update"; + } + @Override // com.discord.analytics.generated.traits.TrackNetworkMetadataReceiver public void a(TrackNetworkMetadata trackNetworkMetadata) { this.trackNetworkMetadata = trackNetworkMetadata; diff --git a/app/src/main/java/com/discord/restapi/RestAPIInterface.java b/app/src/main/java/com/discord/restapi/RestAPIInterface.java index 9aef6f1cb2..29e5fb1167 100644 --- a/app/src/main/java/com/discord/restapi/RestAPIInterface.java +++ b/app/src/main/java/com/discord/restapi/RestAPIInterface.java @@ -405,7 +405,7 @@ public interface RestAPIInterface { Observable disableAccount(@a RestAPIParams.DisableAccount disableAccount); @n("guilds/{guildId}/members/{userId}") - Observable disableGuildCommunication(@s("guildId") long j, @s("userId") long j2, @a RestAPIParams.DisableGuildCommunication disableGuildCommunication, @i("X-Audit-Log-Reason") String str); + Observable> disableGuildCommunication(@s("guildId") long j, @s("userId") long j2, @a RestAPIParams.DisableGuildCommunication disableGuildCommunication, @i("X-Audit-Log-Reason") String str); @i0.f0.o("users/@me/mfa/totp/disable") Observable disableMFA(@a DisableMfaRequestBody disableMfaRequestBody); diff --git a/app/src/main/java/com/discord/utilities/analytics/AnalyticsTracker.java b/app/src/main/java/com/discord/utilities/analytics/AnalyticsTracker.java index 470c8cc18b..5198596add 100644 --- a/app/src/main/java/com/discord/utilities/analytics/AnalyticsTracker.java +++ b/app/src/main/java/com/discord/utilities/analytics/AnalyticsTracker.java @@ -2211,10 +2211,6 @@ public final class AnalyticsTracker { tracker.track("local_settings_updated", g0.mapOf(o.to("notifications_in_app_enabled", Boolean.valueOf(z2)))); } - public final void userCommunicationDisabledUpdate(Long l, Long l2, Integer num, String str, String str2) { - tracker.track("user_communication_disabled_update", CollectionExtensionsKt.filterNonNullValues(h0.mapOf(o.to(ModelAuditLogEntry.CHANGE_KEY_GUILD_ID, l2), o.to("target_user_id", l), o.to("duration", num), o.to(ModelAuditLogEntry.CHANGE_KEY_GUILD_COMMUNICATION_DISABLED, str), o.to(ModelAuditLogEntry.CHANGE_KEY_REASON, str2)))); - } - /* JADX WARNING: Removed duplicated region for block: B:14:0x003d */ /* JADX WARNING: Removed duplicated region for block: B:20:? A[RETURN, SYNTHETIC] */ public final void userListening(long j, Set set, String str, Channel channel) { diff --git a/app/src/main/java/com/discord/utilities/rest/RestAPI.java b/app/src/main/java/com/discord/utilities/rest/RestAPI.java index 0e884a152a..5629a8a4e3 100644 --- a/app/src/main/java/com/discord/utilities/rest/RestAPI.java +++ b/app/src/main/java/com/discord/utilities/rest/RestAPI.java @@ -919,7 +919,7 @@ public final class RestAPI implements RestAPIInterface { @Override // com.discord.restapi.RestAPIInterface @i0.f0.n("guilds/{guildId}/members/{userId}") - public Observable disableGuildCommunication(@s("guildId") long j, @s("userId") long j2, @i0.f0.a RestAPIParams.DisableGuildCommunication disableGuildCommunication, @i("X-Audit-Log-Reason") String str) { + public Observable> disableGuildCommunication(@s("guildId") long j, @s("userId") long j2, @i0.f0.a RestAPIParams.DisableGuildCommunication disableGuildCommunication, @i("X-Audit-Log-Reason") String str) { m.checkNotNullParameter(disableGuildCommunication, "body"); return this._api.disableGuildCommunication(j, j2, disableGuildCommunication, str); } diff --git a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$1.java b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$1.java index 62b32ea9b0..3f294622bc 100644 --- a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$1.java +++ b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$1.java @@ -1,38 +1,26 @@ package com.discord.widgets.guildcommunicationdisabled.start; -import com.discord.utilities.analytics.AnalyticsTracker; +import com.discord.analytics.generated.events.network_action.TrackNetworkActionUserCommunicationDisabledUpdate; +import com.discord.analytics.generated.traits.TrackNetworkMetadataReceiver; import d0.z.d.o; -import kotlin.Unit; -import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; /* compiled from: DisableGuildCommunicationViewModel.kt */ -public final class DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$1 extends o implements Function1 { - public final /* synthetic */ String $communicationDisabledUntil; +public final class DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$1 extends o implements Function1 { + public final /* synthetic */ long $disabledUntilTimestamp; public final /* synthetic */ long $durationS; - public final /* synthetic */ Function0 $onFinished; public final /* synthetic */ String $reason; public final /* synthetic */ DisableGuildCommunicationViewModel this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$1(DisableGuildCommunicationViewModel disableGuildCommunicationViewModel, Function0 function0, long j, String str, String str2) { + public DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$1(DisableGuildCommunicationViewModel disableGuildCommunicationViewModel, long j, long j2, String str) { super(1); this.this$0 = disableGuildCommunicationViewModel; - this.$onFinished = function0; this.$durationS = j; - this.$communicationDisabledUntil = str; - this.$reason = str2; + this.$disabledUntilTimestamp = j2; + this.$reason = str; } - /* Return type fixed from 'java.lang.Object' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // kotlin.jvm.functions.Function1 - public /* bridge */ /* synthetic */ Unit invoke(Void r1) { - invoke(r1); - return Unit.a; - } - - public final void invoke(Void r7) { - this.$onFinished.mo1invoke(); - AnalyticsTracker.INSTANCE.userCommunicationDisabledUpdate(Long.valueOf(DisableGuildCommunicationViewModel.access$getUserId$p(this.this$0)), Long.valueOf(DisableGuildCommunicationViewModel.access$getGuildId$p(this.this$0)), Integer.valueOf((int) this.$durationS), this.$communicationDisabledUntil, this.$reason); + public final TrackNetworkMetadataReceiver invoke(Void r7) { + return new TrackNetworkActionUserCommunicationDisabledUpdate(Long.valueOf(DisableGuildCommunicationViewModel.access$getGuildId$p(this.this$0)), Long.valueOf(DisableGuildCommunicationViewModel.access$getUserId$p(this.this$0)), Float.valueOf((float) this.$durationS), this.$reason, Long.valueOf(this.$disabledUntilTimestamp)); } } diff --git a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$2.java b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$2.java new file mode 100644 index 0000000000..2b5ab98caa --- /dev/null +++ b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$2.java @@ -0,0 +1,28 @@ +package com.discord.widgets.guildcommunicationdisabled.start; + +import d0.z.d.o; +import kotlin.Unit; +import kotlin.jvm.functions.Function0; +import kotlin.jvm.functions.Function1; +/* compiled from: DisableGuildCommunicationViewModel.kt */ +public final class DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$2 extends o implements Function1 { + public final /* synthetic */ Function0 $onFinished; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$2(Function0 function0) { + super(1); + this.$onFinished = function0; + } + + /* Return type fixed from 'java.lang.Object' to match base method */ + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // kotlin.jvm.functions.Function1 + public /* bridge */ /* synthetic */ Unit invoke(Void r1) { + invoke(r1); + return Unit.a; + } + + public final void invoke(Void r1) { + this.$onFinished.mo1invoke(); + } +} diff --git a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel.java b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel.java index e48450557d..66e1e83e2e 100644 --- a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel.java +++ b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/DisableGuildCommunicationViewModel.java @@ -12,11 +12,13 @@ import com.discord.stores.StoreStream; import com.discord.stores.StoreUser; import com.discord.stores.updates.ObservationDeck; import com.discord.stores.updates.ObservationDeckProvider; +import com.discord.stores.utilities.RestCallStateKt; import com.discord.utilities.rest.RestAPI; import com.discord.utilities.rx.ObservableExtensionsKt; import d0.z.d.k; import d0.z.d.m; import java.lang.ref.WeakReference; +import kotlin.Pair; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -309,9 +311,9 @@ public final class DisableGuildCommunicationViewModel extends AppViewModel futureTimestamp = GuildCommunicationDisabledDateUtils.INSTANCE.getFutureTimestamp(valid.getSelectedDurationOption().getDurationMs()); + long longValue = futureTimestamp.component2().longValue(); + ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(RestCallStateKt.logNetworkAction(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().disableGuildCommunication(this.guildId, this.userId, new RestAPIParams.DisableGuildCommunication(futureTimestamp.component1()), str), false, 1, null), new DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$1(this, ((long) valid.getSelectedDurationOption().getDurationMs()) / 1000, longValue, str)), this, null, 2, null), DisableGuildCommunicationViewModel.class, weakReference.get(), (Function1) null, (Function1) null, (Function0) null, (Function0) null, new DisableGuildCommunicationViewModel$onDisableCommunicationConfirm$2(function0), 60, (Object) null); } } diff --git a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/GuildCommunicationDisabledDateUtils.java b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/GuildCommunicationDisabledDateUtils.java index cdad3c37d0..2914c60f3b 100644 --- a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/GuildCommunicationDisabledDateUtils.java +++ b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/GuildCommunicationDisabledDateUtils.java @@ -8,6 +8,7 @@ import com.discord.utilities.time.TimeUtils; import d0.z.d.m; import java.util.Calendar; import kotlin.NoWhenBranchMatchedException; +import kotlin.Pair; /* compiled from: GuildCommunicationDisabledDateUtils.kt */ public final class GuildCommunicationDisabledDateUtils { public static final GuildCommunicationDisabledDateUtils INSTANCE = new GuildCommunicationDisabledDateUtils(); @@ -61,10 +62,11 @@ public final class GuildCommunicationDisabledDateUtils { throw new NoWhenBranchMatchedException(); } - public final String getFutureTimestamp(int i) { + public final Pair getFutureTimestamp(int i) { Calendar instance = Calendar.getInstance(); instance.add(14, i); m.checkNotNullExpressionValue(instance, "date"); - return a.v(TimeUtils.toUTCDateTime(Long.valueOf(instance.getTimeInMillis()), TimeUtils.UTCFormat.LONG), ".000Z"); + long timeInMillis = instance.getTimeInMillis(); + return new Pair<>(a.v(TimeUtils.toUTCDateTime(Long.valueOf(timeInMillis), TimeUtils.UTCFormat.LONG), ".000Z"), Long.valueOf(timeInMillis)); } } diff --git a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication$handleEnableGuildCommunication$1.java b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication$handleEnableGuildCommunication$1.java index a8e9533c11..051b41cca8 100644 --- a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication$handleEnableGuildCommunication$1.java +++ b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication$handleEnableGuildCommunication$1.java @@ -1,40 +1,22 @@ package com.discord.widgets.guildcommunicationdisabled.start; -import android.content.Context; -import b.a.d.m; -import b.a.k.b; -import com.discord.R; -import com.discord.utilities.analytics.AnalyticsTracker; +import com.discord.analytics.generated.events.network_action.TrackNetworkActionUserCommunicationDisabledUpdate; +import com.discord.analytics.generated.traits.TrackNetworkMetadataReceiver; import d0.z.d.o; -import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: WidgetEnableGuildCommunication.kt */ -public final class WidgetEnableGuildCommunication$handleEnableGuildCommunication$1 extends o implements Function1 { +public final class WidgetEnableGuildCommunication$handleEnableGuildCommunication$1 extends o implements Function1 { public final /* synthetic */ long $guildId; public final /* synthetic */ long $userId; - public final /* synthetic */ WidgetEnableGuildCommunication this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public WidgetEnableGuildCommunication$handleEnableGuildCommunication$1(WidgetEnableGuildCommunication widgetEnableGuildCommunication, long j, long j2) { + public WidgetEnableGuildCommunication$handleEnableGuildCommunication$1(long j, long j2) { super(1); - this.this$0 = widgetEnableGuildCommunication; this.$guildId = j; this.$userId = j2; } - /* Return type fixed from 'java.lang.Object' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // kotlin.jvm.functions.Function1 - public /* bridge */ /* synthetic */ Unit invoke(Void r1) { - invoke(r1); - return Unit.a; - } - - public final void invoke(Void r11) { - this.this$0.dismiss(); - Context context = this.this$0.getContext(); - Context context2 = this.this$0.getContext(); - m.h(context, context2 != null ? b.h(context2, R.string.guild_enable_communication_success, new Object[0], null, 4) : null, 0, null, 12); - AnalyticsTracker.INSTANCE.userCommunicationDisabledUpdate(Long.valueOf(this.$guildId), Long.valueOf(this.$userId), null, null, null); + public final TrackNetworkMetadataReceiver invoke(Void r7) { + return new TrackNetworkActionUserCommunicationDisabledUpdate(Long.valueOf(this.$guildId), Long.valueOf(this.$userId), null, null, null); } } diff --git a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication$handleEnableGuildCommunication$2.java b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication$handleEnableGuildCommunication$2.java new file mode 100644 index 0000000000..a67b6ad4d8 --- /dev/null +++ b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication$handleEnableGuildCommunication$2.java @@ -0,0 +1,34 @@ +package com.discord.widgets.guildcommunicationdisabled.start; + +import android.content.Context; +import b.a.d.m; +import b.a.k.b; +import com.discord.R; +import d0.z.d.o; +import kotlin.Unit; +import kotlin.jvm.functions.Function1; +/* compiled from: WidgetEnableGuildCommunication.kt */ +public final class WidgetEnableGuildCommunication$handleEnableGuildCommunication$2 extends o implements Function1 { + public final /* synthetic */ WidgetEnableGuildCommunication this$0; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public WidgetEnableGuildCommunication$handleEnableGuildCommunication$2(WidgetEnableGuildCommunication widgetEnableGuildCommunication) { + super(1); + this.this$0 = widgetEnableGuildCommunication; + } + + /* Return type fixed from 'java.lang.Object' to match base method */ + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // kotlin.jvm.functions.Function1 + public /* bridge */ /* synthetic */ Unit invoke(Void r1) { + invoke(r1); + return Unit.a; + } + + public final void invoke(Void r7) { + this.this$0.dismiss(); + Context context = this.this$0.getContext(); + Context context2 = this.this$0.getContext(); + m.h(context, context2 != null ? b.h(context2, R.string.guild_enable_communication_success, new Object[0], null, 4) : null, 0, null, 12); + } +} diff --git a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication.java b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication.java index ec27636ae0..7866f9f5b8 100644 --- a/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication.java +++ b/app/src/main/java/com/discord/widgets/guildcommunicationdisabled/start/WidgetEnableGuildCommunication.java @@ -18,6 +18,7 @@ import com.discord.models.user.User; import com.discord.restapi.RestAPIParams; import com.discord.stores.StoreStream; import com.discord.stores.StoreUser; +import com.discord.stores.utilities.RestCallStateKt; import com.discord.utilities.analytics.AnalyticsTracker; import com.discord.utilities.duration.DurationUtilsKt; import com.discord.utilities.rest.RestAPI; @@ -100,7 +101,7 @@ public final class WidgetEnableGuildCommunication extends AppDialog { } private final void handleEnableGuildCommunication(long j, long j2) { - ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApiSerializeNulls().disableGuildCommunication(j, j2, new RestAPIParams.DisableGuildCommunication(null), null), false, 1, null), this, null, 2, null), WidgetEnableGuildCommunication.class, getContext(), (Function1) null, (Function1) null, (Function0) null, (Function0) null, new WidgetEnableGuildCommunication$handleEnableGuildCommunication$1(this, j, j2), 60, (Object) null); + ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(RestCallStateKt.logNetworkAction(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApiSerializeNulls().disableGuildCommunication(j, j2, new RestAPIParams.DisableGuildCommunication(null), null), false, 1, null), new WidgetEnableGuildCommunication$handleEnableGuildCommunication$1(j, j2)), this, null, 2, null), WidgetEnableGuildCommunication.class, getContext(), (Function1) null, (Function1) null, (Function0) null, (Function0) null, new WidgetEnableGuildCommunication$handleEnableGuildCommunication$2(this), 60, (Object) null); } public static final void launch(long j, long j2, FragmentManager fragmentManager) { diff --git a/app/src/main/java/com/discord/widgets/settings/WidgetSettings.java b/app/src/main/java/com/discord/widgets/settings/WidgetSettings.java index 8cfe840dbf..48b3f838c2 100644 --- a/app/src/main/java/com/discord/widgets/settings/WidgetSettings.java +++ b/app/src/main/java/com/discord/widgets/settings/WidgetSettings.java @@ -346,7 +346,7 @@ public final class WidgetSettings extends AppFragment implements OnTabSelectedLi TextView textView = binding.f; m.checkNotNullExpressionValue(textView, "appInfoHeader"); String string = getString(R.string.app_information); - textView.setText(string + " - 110.5 - Beta (110105)"); + textView.setText(string + " - 110.7 - Beta (110107)"); binding.B.setOnClickListener(new WidgetSettings$onViewBound$$inlined$with$lambda$3(this)); binding.u.setOnClickListener(WidgetSettings$onViewBound$1$5.INSTANCE); binding.q.setOnClickListener(WidgetSettings$onViewBound$1$6.INSTANCE); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 686a38fc92..186172915b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1444,7 +1444,7 @@ Custom Presets Use Default - 815befbf1cd34498a6ce49bad893e3a2 + 4a4fa205e79049e08933e56bb9838153 Slash command application {applicationName} {applicationName} application {applicationName} application selected