Подготовка к переходу
This commit is contained in:
parent
b45183ebcc
commit
2567fc24a1
app
@ -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
|
||||||
|
) {
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user