@@ -40,6 +40,7 @@ import androidx.compose.foundation.layout.WindowInsets
4040import androidx.compose.foundation.layout.WindowInsetsSides
4141import androidx.compose.foundation.layout.displayCutout
4242import androidx.compose.foundation.layout.fillMaxSize
43+ import androidx.compose.foundation.layout.fillMaxWidth
4344import androidx.compose.foundation.layout.navigationBars
4445import androidx.compose.foundation.layout.only
4546import androidx.compose.foundation.layout.padding
@@ -123,7 +124,10 @@ private fun OnePane(
123124 ) {
124125 Spacer (modifier = Modifier .weight(1f ))
125126
126- MemfaultLogo ()
127+ MemfaultLogo (
128+ modifier = Modifier
129+ .fillMaxWidth(0.4f )
130+ )
127131
128132 Spacer (modifier = Modifier .weight(0.3f ))
129133
@@ -148,11 +152,11 @@ private fun TwoPane(
148152 verticalAlignment = Alignment .CenterVertically
149153 ) {
150154 MemfaultLogo (
151- modifier = Modifier .weight(0.3f ),
155+ modifier = Modifier
156+ .padding(horizontal = 16 .dp)
157+ .weight(0.3f ),
152158 )
153159
154- Spacer (modifier = Modifier .size(16 .dp))
155-
156160 Content (
157161 modifier = Modifier
158162 .weight(0.7f )
@@ -174,7 +178,7 @@ private fun MemfaultLogo(
174178 painter = painterResource(id = R .drawable.ic_memfault),
175179 contentDescription = stringResource(id = R .string.cd_memfault),
176180 contentScale = ContentScale .Fit ,
177- alignment = Alignment .TopEnd
181+ alignment = Alignment .Center
178182 )
179183}
180184
0 commit comments