summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle.kts3
-rw-r--r--app/src/main/java/dev/equestria/delta/MainActivity.kt8
2 files changed, 9 insertions, 2 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 669068d..1945840 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -13,7 +13,7 @@ android {
minSdk = 27
targetSdk = 33
versionCode = 2
- versionName = "5.0-8"
+ versionName = "5.0-9"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
resConfigs("en", "fr")
@@ -35,6 +35,7 @@ android {
kotlinOptions {
jvmTarget = "1.8"
}
+ buildToolsVersion = "33.0.1"
buildFeatures {
viewBinding = true
}
diff --git a/app/src/main/java/dev/equestria/delta/MainActivity.kt b/app/src/main/java/dev/equestria/delta/MainActivity.kt
index 7e239c6..341e1f4 100644
--- a/app/src/main/java/dev/equestria/delta/MainActivity.kt
+++ b/app/src/main/java/dev/equestria/delta/MainActivity.kt
@@ -325,7 +325,13 @@ class MainActivity : AppCompatActivity() {
url
).path.startsWith("/support/") || URL(url).path === "/support" || URL(url).path.startsWith(
"/mobile_profile/"
- ) || URL(url).path === "/mobile_profile"
+ ) || URL(url).path === "/mobile_profile" || URL(url).path.startsWith(
+ "/beta/"
+ ) || URL(url).path === "/beta" || URL(url).path.startsWith(
+ "/studio/"
+ ) || URL(url).path === "/studio" || URL(url).path.startsWith(
+ "/logout/"
+ ) || URL(url).path === "/logout"
) {
changedNavItem = true
binding.navigationBar.selectedItemId = R.id.navigation_profile