@@ -40,6 +40,7 @@ import androidx.compose.foundation.layout.WindowInsets
40
40
import androidx.compose.foundation.layout.WindowInsetsSides
41
41
import androidx.compose.foundation.layout.displayCutout
42
42
import androidx.compose.foundation.layout.fillMaxSize
43
+ import androidx.compose.foundation.layout.fillMaxWidth
43
44
import androidx.compose.foundation.layout.navigationBars
44
45
import androidx.compose.foundation.layout.only
45
46
import androidx.compose.foundation.layout.padding
@@ -123,7 +124,10 @@ private fun OnePane(
123
124
) {
124
125
Spacer (modifier = Modifier .weight(1f ))
125
126
126
- MemfaultLogo ()
127
+ MemfaultLogo (
128
+ modifier = Modifier
129
+ .fillMaxWidth(0.4f )
130
+ )
127
131
128
132
Spacer (modifier = Modifier .weight(0.3f ))
129
133
@@ -148,11 +152,11 @@ private fun TwoPane(
148
152
verticalAlignment = Alignment .CenterVertically
149
153
) {
150
154
MemfaultLogo (
151
- modifier = Modifier .weight(0.3f ),
155
+ modifier = Modifier
156
+ .padding(horizontal = 16 .dp)
157
+ .weight(0.3f ),
152
158
)
153
159
154
- Spacer (modifier = Modifier .size(16 .dp))
155
-
156
160
Content (
157
161
modifier = Modifier
158
162
.weight(0.7f )
@@ -174,7 +178,7 @@ private fun MemfaultLogo(
174
178
painter = painterResource(id = R .drawable.ic_memfault),
175
179
contentDescription = stringResource(id = R .string.cd_memfault),
176
180
contentScale = ContentScale .Fit ,
177
- alignment = Alignment .TopEnd
181
+ alignment = Alignment .Center
178
182
)
179
183
}
180
184
0 commit comments