File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
appnav/src/main/kotlin/io/element/android/appnav/room Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ fun LoadingRoomNodeView(
7272 modifier = Modifier
7373 .fillMaxSize()
7474 .padding(padding)
75- .padding(16 .dp), contentAlignment = Alignment .Center
75+ .padding(16 .dp),
76+ contentAlignment = Alignment .Center
7677 ) {
7778 if (state is LoadingRoomState .Error ) {
7879 Text (
@@ -90,9 +91,12 @@ fun LoadingRoomNodeView(
9091
9192@OptIn(ExperimentalMaterial3Api ::class )
9293@Composable
93- private fun LoadingRoomTopBar (onBackClicked : () -> Unit ) {
94+ private fun LoadingRoomTopBar (
95+ onBackClicked : () -> Unit ,
96+ modifier : Modifier = Modifier
97+ ) {
9498 TopAppBar (
95- modifier = Modifier ,
99+ modifier = modifier ,
96100 navigationIcon = {
97101 BackButton (onClick = onBackClicked)
98102 },
@@ -112,6 +116,7 @@ private fun LoadingRoomTopBar(onBackClicked: () -> Unit) {
112116 PlaceholderAtom (width = 45 .dp, height = 7 .dp)
113117 }
114118 },
119+ windowInsets = WindowInsets (0 .dp),
115120 )
116121}
117122
You can’t perform that action at this time.
0 commit comments