регистрация и вход

This commit is contained in:
dasha 2023-12-13 20:25:02 +04:00
parent d709367774
commit d45b6d7ed8
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ import retrofit2.http.Path
import retrofit2.http.Query
interface MyServerService {
@GET("orders")
/*@GET("orders")
suspend fun getOrders(): List<OrderRemote>
@GET("users")
@ -123,11 +123,11 @@ interface MyServerService {
suspend fun updateOrder(
@Path("id") id: Int,
@Body orderRemote: OrderRemote,
): OrderRemote
): OrderRemote*/
companion object {
//private const val BASE_URL = "http://192.168.154.166:8080/"
private const val BASE_URL = "http://192.168.0.101:8079/"
private const val BASE_URL = "http://192.168.0.101:8080/"
@Volatile
private var INSTANCE: MyServerService? = null

View File

@ -113,7 +113,7 @@ fun UserProfile(
visualTransformation = PasswordVisualTransformation()
)
if (!isRegistration) {
if (isRegistration) {
Text(
text = "Подтверждение пароля",
modifier = Modifier.align(Alignment.CenterHorizontally)