mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Leave space: Fix UI issue on top bar.
This commit is contained in:
committed by
Benoit Marty
parent
ccf34dc631
commit
c83fda1cad
+6
-4
@@ -71,6 +71,12 @@ fun LeaveSpaceView(
|
|||||||
) {
|
) {
|
||||||
Scaffold(
|
Scaffold(
|
||||||
modifier = modifier,
|
modifier = modifier,
|
||||||
|
topBar = {
|
||||||
|
LeaveSpaceHeader(
|
||||||
|
state = state,
|
||||||
|
onBackClick = onCancel,
|
||||||
|
)
|
||||||
|
},
|
||||||
containerColor = ElementTheme.colors.bgCanvasDefault,
|
containerColor = ElementTheme.colors.bgCanvasDefault,
|
||||||
) { padding ->
|
) { padding ->
|
||||||
Column(
|
Column(
|
||||||
@@ -81,10 +87,6 @@ fun LeaveSpaceView(
|
|||||||
.fillMaxSize()
|
.fillMaxSize()
|
||||||
.padding(16.dp)
|
.padding(16.dp)
|
||||||
) {
|
) {
|
||||||
LeaveSpaceHeader(
|
|
||||||
state = state,
|
|
||||||
onBackClick = onCancel,
|
|
||||||
)
|
|
||||||
LazyColumn(
|
LazyColumn(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.weight(1f),
|
.weight(1f),
|
||||||
|
|||||||
Reference in New Issue
Block a user