Enable leave space entry point.
This commit is contained in:
parent
6edb9acc2b
commit
ccf34dc631
1 changed files with 1 additions and 4 deletions
|
|
@ -202,7 +202,7 @@ private fun LoadingMoreIndicator(
|
|||
private fun SpaceViewTopBar(
|
||||
currentSpace: SpaceRoom?,
|
||||
onBackClick: () -> Unit,
|
||||
@Suppress("unused") onLeaveSpaceClick: () -> Unit,
|
||||
onLeaveSpaceClick: () -> Unit,
|
||||
onShareSpace: () -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
|
|
@ -247,8 +247,6 @@ private fun SpaceViewTopBar(
|
|||
)
|
||||
}
|
||||
)
|
||||
/*
|
||||
// TODO re-enable when we have SDK APIs to leave a space
|
||||
DropdownMenuItem(
|
||||
onClick = {
|
||||
showMenu = false
|
||||
|
|
@ -263,7 +261,6 @@ private fun SpaceViewTopBar(
|
|||
)
|
||||
}
|
||||
)
|
||||
*/
|
||||
}
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue