summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-03-15 22:41:52 +0100
committerRaindropsSys <contact@minteck.org>2023-03-15 22:41:52 +0100
commitaa35a851a3521ee0c5626f0af1ab2e6342b48399 (patch)
treeb5719bd0c774413e19ffbb693315214f66e5a52e /app
parent7259fc1d1cc7d6cfbda8d51b3848cd41be97e548 (diff)
downloaddelta-android-aa35a851a3521ee0c5626f0af1ab2e6342b48399.tar.gz
delta-android-aa35a851a3521ee0c5626f0af1ab2e6342b48399.tar.bz2
delta-android-aa35a851a3521ee0c5626f0af1ab2e6342b48399.zip
Updated 8 files (automated)
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