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

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
app
build.gradle.kts
src/main/java/com/example/mobileapp/components

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

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

@ -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
) {
}