|
@@ -3,6 +3,7 @@ import android.annotation.SuppressLint
|
|
|
import androidx.compose.foundation.layout.Arrangement
|
|
|
import androidx.compose.foundation.layout.Column
|
|
|
import androidx.compose.foundation.layout.padding
|
|
|
+import androidx.compose.foundation.layout.size
|
|
|
import androidx.compose.material3.Button
|
|
|
import androidx.compose.material3.ExperimentalMaterial3Api
|
|
|
import androidx.compose.material3.Icon
|
|
@@ -41,12 +42,14 @@ fun auth(navController: NavHostController) {
|
|
|
|
|
|
) {
|
|
|
TextField(
|
|
|
+
|
|
|
value = email.value,
|
|
|
textStyle = TextStyle(fontSize = 25.sp),
|
|
|
onValueChange = { newText -> email.value = newText }
|
|
|
)
|
|
|
var passwordVisibility: Boolean by remember { mutableStateOf(false) }
|
|
|
TextField(value = password.value,
|
|
|
+
|
|
|
visualTransformation = if (passwordVisibility) VisualTransformation.None else PasswordVisualTransformation(),
|
|
|
leadingIcon = {
|
|
|
IconButton(onClick = {
|
|
@@ -77,7 +80,7 @@ fun auth(navController: NavHostController) {
|
|
|
}){
|
|
|
Text("Регистрация", fontSize = 25.sp)
|
|
|
}
|
|
|
- Button(onClick = {navController.navigate("ConfirmationEmail ")}){
|
|
|
+ Button(onClick = {navController.navigate("CountriesList")}){
|
|
|
Text("как гость", fontSize = 25.sp)
|
|
|
}
|
|
|
}
|