Skip to content

Commit af52512

Browse files
committed
Since FlowStepPage can't have a TopAppBar title, make it transparent so the scrolled content isn't cut-off
1 parent 9586102 commit af52512

File tree

1 file changed

+3
-0
lines changed
  • libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/atomic/pages

1 file changed

+3
-0
lines changed

libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/atomic/pages/FlowStepPage.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ import androidx.compose.foundation.layout.ColumnScope
1313
import androidx.compose.foundation.layout.fillMaxSize
1414
import androidx.compose.foundation.layout.padding
1515
import androidx.compose.material3.ExperimentalMaterial3Api
16+
import androidx.compose.material3.TopAppBarDefaults
1617
import androidx.compose.runtime.Composable
1718
import androidx.compose.ui.Alignment
1819
import androidx.compose.ui.Modifier
20+
import androidx.compose.ui.graphics.Color
1921
import androidx.compose.ui.unit.dp
2022
import io.element.android.compound.theme.ElementTheme
2123
import io.element.android.compound.tokens.generated.CompoundIcons
@@ -63,6 +65,7 @@ fun FlowStepPage(
6365
}
6466
},
6567
title = {},
68+
colors = TopAppBarDefaults.topAppBarColors(containerColor = Color.Transparent)
6669
)
6770
},
6871
header = {

0 commit comments

Comments
 (0)