checkpoint 0 #5
@ -34,6 +34,9 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("androidx.compose.ui:ui-tooling-preview:1.10.3")
|
||||
implementation("androidx.wear.tiles:tiles-tooling-preview:1.5.0")
|
||||
debugImplementation("androidx.compose.ui:ui-tooling:1.10.3")
|
||||
defaultComposeLibrary()
|
||||
implementation("androidx.datastore:datastore-preferences:1.1.7")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.4.0")
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package ru.myitschool.work.core
|
||||
|
||||
object Constants {
|
||||
const val HOST = "http://localhost:8090"
|
||||
const val HOST = "http://10.0.0.14:49182" // "http://10.0.0.14:49182"
|
||||
const val AUTH_URL = "/auth"
|
||||
const val INFO_URL = "/info"
|
||||
const val BOOKING_URL = "/booking"
|
||||
|
||||
@ -35,6 +35,7 @@ import androidx.compose.ui.platform.LocalContext
|
||||
import androidx.compose.ui.platform.testTag
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.lifecycle.viewmodel.compose.viewModel
|
||||
import androidx.navigation.NavController
|
||||
@ -229,4 +230,10 @@ private fun ContentState(
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Preview
|
||||
@Composable
|
||||
fun Show() {
|
||||
// MainScreen()
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user