From 69175e82f08b6cab4976c64d9afb8c00987796ce Mon Sep 17 00:00:00 2001 From: maxnes3 <112558334+maxnes3@users.noreply.github.com> Date: Sat, 25 Nov 2023 21:44:25 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=B3=D0=BE=D1=82=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=B0=20=D0=BA=204=20=D0=BB=D0=B0=D0=B1=D0=B5(?= =?UTF-8?q?=D0=B4=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8=D0=BB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mobileapp/screens/SettingsScreen.kt | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/example/mobileapp/screens/SettingsScreen.kt b/app/src/main/java/com/example/mobileapp/screens/SettingsScreen.kt index a31c1ad..9ed96bc 100644 --- a/app/src/main/java/com/example/mobileapp/screens/SettingsScreen.kt +++ b/app/src/main/java/com/example/mobileapp/screens/SettingsScreen.kt @@ -49,14 +49,24 @@ fun SettingsScreen(navController: NavHostController){ .size(384.dp) .padding(8.dp)) IconButton(iconLeft = Icons.Default.AccountCircle, label = "Учётная запись", - backgroundColor = ButtonColor2, textColor = Color.White, onClickAction = { }) + backgroundColor = ButtonColor2, textColor = Color.White, onClickAction = { + navController.navigate("edituser") + }) IconButton(iconLeft = Icons.Default.Face, label = "Внешний вид", - backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = { }) + backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = { + + }) IconButton(iconLeft = Icons.Default.Share, label = "Контакты", - backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = { }) + backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = { + + }) IconButton(iconLeft = Icons.Default.Info, label = "О приложении", - backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = { }) + backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = { + + }) IconButton(iconLeft = Icons.Default.ExitToApp, label = "Выйти", - backgroundColor = Color.Red, textColor = Color.White, onClickAction = { navController.navigate("") }) + backgroundColor = Color.Red, textColor = Color.White, onClickAction = { + navController.navigate("authorization") + }) } } \ No newline at end of file