diff --git a/app/build.gradle b/app/build.gradle index 1dfb432714..67606e2e7f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId 'com.discord' minSdkVersion 21 targetSdkVersion 29 - versionCode 96102 - versionName "96.2 - Beta" + versionCode 96103 + versionName "96.3 - Beta" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index ed901004b2..722766a5e2 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/stores/StoreApplicationCommands$requestApplicationCommandAutocompleteData$1.java b/app/src/main/java/com/discord/stores/StoreApplicationCommands$requestApplicationCommandAutocompleteData$1.java index 3c0f355048..204d65fcfa 100644 --- a/app/src/main/java/com/discord/stores/StoreApplicationCommands$requestApplicationCommandAutocompleteData$1.java +++ b/app/src/main/java/com/discord/stores/StoreApplicationCommands$requestApplicationCommandAutocompleteData$1.java @@ -92,12 +92,12 @@ public final class StoreApplicationCommands$requestApplicationCommandAutocomplet } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public StoreApplicationCommands$requestApplicationCommandAutocompleteData$1(StoreApplicationCommands storeApplicationCommands, ApplicationCommandData applicationCommandData, Long l, long j) { + public StoreApplicationCommands$requestApplicationCommandAutocompleteData$1(StoreApplicationCommands storeApplicationCommands, ApplicationCommandData applicationCommandData, long j, Long l) { super(0); this.this$0 = storeApplicationCommands; this.$data = applicationCommandData; - this.$guildId = l; this.$channelId = j; + this.$guildId = l; } @Override // kotlin.jvm.functions.Function0 @@ -106,8 +106,12 @@ public final class StoreApplicationCommands$requestApplicationCommandAutocomplet Object obj; String access$generateNonce = StoreApplicationCommands.access$generateNonce(this.this$0); String version = this.$data.getApplicationCommand().getVersion(); + Long guildId = this.$data.getApplicationCommand().getGuildId(); + com.discord.api.commands.ApplicationCommandData applicationCommandData = new com.discord.api.commands.ApplicationCommandData(version, guildId != null ? String.valueOf(guildId.longValue()) : null, this.$data.getApplicationCommand().getId(), this.$data.getApplicationCommand().getName(), ApplicationCommandLocalSendDataKt.toRestParams(this.$data.getValues())); + String valueOf = String.valueOf(this.$channelId); + String valueOf2 = String.valueOf(this.$data.getApplication().getId()); Long l = this.$guildId; - RestAPIParams.ApplicationCommand applicationCommand = new RestAPIParams.ApplicationCommand(4, String.valueOf(this.$channelId), String.valueOf(this.$data.getApplication().getId()), String.valueOf(this.$guildId), new com.discord.api.commands.ApplicationCommandData(version, l != null ? String.valueOf(l.longValue()) : null, this.$data.getApplicationCommand().getId(), this.$data.getApplicationCommand().getName(), ApplicationCommandLocalSendDataKt.toRestParams(this.$data.getValues())), access$generateNonce); + RestAPIParams.ApplicationCommand applicationCommand = new RestAPIParams.ApplicationCommand(4, valueOf, valueOf2, l != null ? String.valueOf(l.longValue()) : null, applicationCommandData, access$generateNonce); List values = this.$data.getValues(); ArrayList arrayList = new ArrayList(); for (ApplicationCommandValue applicationCommandValue : values) { diff --git a/app/src/main/java/com/discord/stores/StoreApplicationCommands.java b/app/src/main/java/com/discord/stores/StoreApplicationCommands.java index 5e20c38034..f3626bd2d2 100644 --- a/app/src/main/java/com/discord/stores/StoreApplicationCommands.java +++ b/app/src/main/java/com/discord/stores/StoreApplicationCommands.java @@ -795,7 +795,7 @@ public final class StoreApplicationCommands extends StoreV2 { public final void requestApplicationCommandAutocompleteData(Long l, long j, ApplicationCommandData applicationCommandData) { m.checkNotNullParameter(applicationCommandData, "data"); - this.dispatcher.schedule(new StoreApplicationCommands$requestApplicationCommandAutocompleteData$1(this, applicationCommandData, l, j)); + this.dispatcher.schedule(new StoreApplicationCommands$requestApplicationCommandAutocompleteData$1(this, applicationCommandData, j, l)); } public final void requestApplicationCommandsQuery(Long l, String str) { 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 f8746f71e6..55e511b625 100644 --- a/app/src/main/java/com/discord/widgets/settings/WidgetSettings.java +++ b/app/src/main/java/com/discord/widgets/settings/WidgetSettings.java @@ -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.2 - Beta (96102)"); + textView.setText(string + " - 96.3 - Beta (96103)"); 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); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e35903b53f..91c7c6e962 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1432,7 +1432,7 @@ Select a color Transparency Use Default - eeb7d21ed7a140ac9d10f3e9118a1c94 + 264b9beafb9b4b4996ff1d0450370825 Coming Soon Slash command application {applicationName} {applicationName} application