регистрация и вход
This commit is contained in:
parent
d709367774
commit
d45b6d7ed8
@ -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
|
||||
|
@ -113,7 +113,7 @@ fun UserProfile(
|
||||
visualTransformation = PasswordVisualTransformation()
|
||||
)
|
||||
|
||||
if (!isRegistration) {
|
||||
if (isRegistration) {
|
||||
Text(
|
||||
text = "Подтверждение пароля",
|
||||
modifier = Modifier.align(Alignment.CenterHorizontally)
|
||||
|
Loading…
Reference in New Issue
Block a user