diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 7ce1f2b36..778acd863 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -18,8 +18,8 @@ android { defaultConfig { applicationId = "com.kafka.user" - versionCode = 82 - versionName = "0.42.0" + versionCode = 83 + versionName = "0.43.0" val properties = Properties() properties.load(project.rootProject.file("local.properties").inputStream()) diff --git a/app/src/main/java/com/kafka/user/home/AppNavigation.kt b/app/src/main/java/com/kafka/user/home/AppNavigation.kt index 77096cc90..a50fb4ca3 100644 --- a/app/src/main/java/com/kafka/user/home/AppNavigation.kt +++ b/app/src/main/java/com/kafka/user/home/AppNavigation.kt @@ -303,7 +303,7 @@ inline fun activityHiltViewModel() = @Composable private fun SwitchStatusBarsOnPlayer(navController: NavHostController) { val currentRoute by navController.currentBackStackEntryAsState() - val destination = currentRoute?.destination?.route?.split("/")?.getOrNull(1) + val destination = currentRoute?.destination?.route?.substringBefore("/") val isPlayerUp = destination == "player" val view = LocalView.current diff --git a/data/database/src/main/java/com/kafka/data/db/KafkaDatabase.kt b/data/database/src/main/java/com/kafka/data/db/KafkaDatabase.kt index 2d4a181fb..d663db6bb 100644 --- a/data/database/src/main/java/com/kafka/data/db/KafkaDatabase.kt +++ b/data/database/src/main/java/com/kafka/data/db/KafkaDatabase.kt @@ -49,8 +49,6 @@ interface KafkaDatabase { autoMigrations = [ AutoMigration(from = 3, to = 4, spec = KafkaRoomDatabase.UserRemovalMigration::class), AutoMigration(from = 4, to = 5, spec = KafkaRoomDatabase.RecentAudioMigration::class), - AutoMigration(from = 5, to = 8), - AutoMigration(from = 6, to = 8), AutoMigration(from = 7, to = 8), ], )