Подготовка к 4 лабе(дополнил)
This commit is contained in:
parent
7076d707ea
commit
69175e82f0
@ -49,14 +49,24 @@ fun SettingsScreen(navController: NavHostController){
|
|||||||
.size(384.dp)
|
.size(384.dp)
|
||||||
.padding(8.dp))
|
.padding(8.dp))
|
||||||
IconButton(iconLeft = Icons.Default.AccountCircle, label = "Учётная запись",
|
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 = "Внешний вид",
|
IconButton(iconLeft = Icons.Default.Face, label = "Внешний вид",
|
||||||
backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = { })
|
backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = {
|
||||||
|
|
||||||
|
})
|
||||||
IconButton(iconLeft = Icons.Default.Share, label = "Контакты",
|
IconButton(iconLeft = Icons.Default.Share, label = "Контакты",
|
||||||
backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = { })
|
backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = {
|
||||||
|
|
||||||
|
})
|
||||||
IconButton(iconLeft = Icons.Default.Info, label = "О приложении",
|
IconButton(iconLeft = Icons.Default.Info, label = "О приложении",
|
||||||
backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = { })
|
backgroundColor = ButtonColor1, textColor = Color.Black, onClickAction = {
|
||||||
|
|
||||||
|
})
|
||||||
IconButton(iconLeft = Icons.Default.ExitToApp, label = "Выйти",
|
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")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user