From b2735bc9333e5e8ea00bb3861f2d5a8b9800cffd Mon Sep 17 00:00:00 2001 From: Juby210 Date: Wed, 6 Oct 2021 09:20:10 +0200 Subject: [PATCH] 96.1 - Beta (96101) --- app/build.gradle | 4 ++-- app/src/main/AndroidManifest.xml | 2 +- .../input/autocomplete/commands/AutocompleteCommandUtils.java | 4 ++-- .../java/com/discord/widgets/settings/WidgetSettings.java | 2 +- app/src/main/res/values/strings.xml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 2d99868964..499013deec 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId 'com.discord' minSdkVersion 21 targetSdkVersion 29 - versionCode 96100 - versionName "96.0 - Beta" + versionCode 96101 + versionName "96.1 - Beta" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 310bfbe377..b6b2d7ae0f 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/widgets/chat/input/autocomplete/commands/AutocompleteCommandUtils.java b/app/src/main/java/com/discord/widgets/chat/input/autocomplete/commands/AutocompleteCommandUtils.java index 14e1973a9d..cfbec8c08f 100644 --- a/app/src/main/java/com/discord/widgets/chat/input/autocomplete/commands/AutocompleteCommandUtils.java +++ b/app/src/main/java/com/discord/widgets/chat/input/autocomplete/commands/AutocompleteCommandUtils.java @@ -285,7 +285,7 @@ public final class AutocompleteCommandUtils { return null; } int intValue = findStartOfValue.intValue(); - Iterator it = Regex.findAll$default(new Regex(" ([\\p{L}-_]*):"), charSequence.subSequence(intValue, charSequence.length()).toString(), 0, 2, null).iterator(); + Iterator it = Regex.findAll$default(new Regex(" ([\\p{L}0-9-_]*):"), charSequence.subSequence(intValue, charSequence.length()).toString(), 0, 2, null).iterator(); while (true) { if (!it.hasNext()) { i = -1; @@ -345,7 +345,7 @@ public final class AutocompleteCommandUtils { List groupValues; String str; m.checkNotNullParameter(charSequence, "$this$getCommandPrefix"); - MatchResult find$default = Regex.find$default(new Regex("^(/([\\p{L}-]+\\s*){0,3})"), charSequence, 0, 2, null); + MatchResult find$default = Regex.find$default(new Regex("^(/([\\p{L}0-9-]+\\s*){0,3})"), charSequence, 0, 2, null); if (find$default == null || (groupValues = find$default.getGroupValues()) == null || (str = (String) u.getOrNull(groupValues, 1)) == null) { return null; } 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 86d85a9170..af713efa9d 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.0 - Beta (96100)"); + textView.setText(string + " - 96.1 - Beta (96101)"); 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 f7480e7234..c02e7be61a 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 - 3f6f9aa18b36457d98d01065110dccae + 1d92b0b4af45420f9d9e3014804d0392 Coming Soon Slash command application {applicationName} {applicationName} application