From aa35a851a3521ee0c5626f0af1ab2e6342b48399 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Wed, 15 Mar 2023 22:41:52 +0100 Subject: Updated 8 files (automated) --- app/build.gradle.kts | 3 ++- app/src/main/java/dev/equestria/delta/MainActivity.kt | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'app') 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 -- cgit