Подготовка к переходу

This commit is contained in:
maxnes3 2023-11-15 23:59:54 +04:00
parent b45183ebcc
commit 2567fc24a1
3 changed files with 15 additions and 5 deletions

View File

@ -31,17 +31,17 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "17"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.3"
kotlinCompilerExtensionVersion = "1.4.5"
}
packaging {
resources {

View File

@ -46,7 +46,6 @@ import com.example.mobileapp.ui.theme.ButtonColor2
@Composable
fun DataListScroll(navController: NavHostController){
val storySingleton = StorySingleton()
val isFirstTime = remember { mutableStateOf(true) }
LazyColumn(
horizontalAlignment = Alignment.CenterHorizontally,

View File

@ -0,0 +1,11 @@
package com.example.mobileapp.components
import androidx.annotation.DrawableRes
class NavBarItem(
val route: String,
val label: String,
@DrawableRes
val icon: Int
) {
}