Added placeholder dropdown button for contact
This commit is contained in:
1 parent
d4872cdf29
commit
9aa136388e
1 file changed
+7
-4
@@ -40,9 +40,7 @@ fun TopBar (
|
||||
scrollBehavior = null,
|
||||
actions = {
|
||||
IconButton(
|
||||
onClick = {
|
||||
expanded = !expanded
|
||||
}
|
||||
onClick = { expanded = !expanded }
|
||||
) {
|
||||
Icon(
|
||||
imageVector = Icons.Rounded.MoreVert,
|
||||
@@ -50,11 +48,12 @@ fun TopBar (
|
||||
)
|
||||
DropdownMenu(
|
||||
expanded = expanded,
|
||||
onDismissRequest = {expanded = false},
|
||||
onDismissRequest = { expanded = false },
|
||||
) {
|
||||
DropdownMenuItem(
|
||||
text = { Text(stringResource(R.string.dropdownmenu_settings)) },
|
||||
onClick = {
|
||||
expanded = false
|
||||
navController.navigate(SettingsNavScreens.Settings.route) {
|
||||
popUpTo(navController.graph.findStartDestination().id) {
|
||||
saveState = true
|
||||
@@ -64,6 +63,10 @@ fun TopBar (
|
||||
}
|
||||
}
|
||||
)
|
||||
DropdownMenuItem(
|
||||
text = { Text("Contact") },
|
||||
onClick = { /*do something*/ }
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user