Fix issue detected by detekt

This commit is contained in:
Benoit Marty
2023-08-16 15:24:18 +02:00
parent f138f7c001
commit a3ae891e51
6 changed files with 26 additions and 22 deletions
@@ -64,6 +64,7 @@ fun RoomInviteMembersView(
onSendPressed: (List<MatrixUser>) -> Unit = {},
) {
Scaffold(
modifier = modifier,
topBar = {
RoomInviteMembersTopBar(
onBackPressed = {
@@ -79,7 +80,7 @@ fun RoomInviteMembersView(
}
) { padding ->
Column(
modifier = modifier
modifier = Modifier
.fillMaxWidth()
.padding(padding)
.consumeWindowInsets(padding),
@@ -76,6 +76,7 @@ fun RoomMemberListView(
}
Scaffold(
modifier = modifier,
topBar = {
if (!state.isSearchActive) {
RoomMemberListTopBar(
@@ -87,7 +88,7 @@ fun RoomMemberListView(
}
) { padding ->
Column(
modifier = modifier
modifier = Modifier
.fillMaxWidth()
.padding(padding)
.consumeWindowInsets(padding),