@@ -35,9 +35,11 @@ fun WarningMultipleDevicesScreen(
3535 onBackClick : () -> Unit ,
3636 onConfirmClick : () -> Unit ,
3737) {
38+
3839 Column (
3940 modifier = Modifier .fillMaxSize()
4041 ) {
42+
4143 TopAppBar (
4244 title = {},
4345 navigationIcon = {
@@ -51,31 +53,40 @@ fun WarningMultipleDevicesScreen(
5153 },
5254 )
5355
54- Image (
55- painter = painterResource(id = R .drawable.phone),
56- contentDescription = null ,
57- contentScale = ContentScale .Fit ,
58- modifier = Modifier .fillMaxWidth().weight(1f )
59- )
56+ Column (
57+ modifier = Modifier
58+ .fillMaxSize()
59+ .padding(horizontal = 32 .dp)
60+ ) {
61+ Image (
62+ painter = painterResource(id = R .drawable.phone),
63+ contentDescription = null ,
64+ contentScale = ContentScale .Fit ,
65+ modifier = Modifier
66+ .fillMaxWidth()
67+ .weight(1f )
68+ )
6069
61- Display (
62- text = stringResource(R .string.onboarding__multiple_header).withAccent(accentColor = Colors .Yellow ),
63- modifier = Modifier .padding(horizontal = 32 .dp)
64- )
70+ Display (
71+ text = stringResource(R .string.onboarding__multiple_header).withAccent(accentColor = Colors .Yellow ),
72+ )
6573
66- Spacer (modifier = Modifier .height(8 .dp))
74+ Spacer (modifier = Modifier .height(8 .dp))
6775
68- BodyM (
69- text = stringResource(R .string.onboarding__multiple_text),
70- color = Colors .White64 ,
71- modifier = Modifier .padding(horizontal = 32 .dp)
72- )
76+ BodyM (
77+ text = stringResource(R .string.onboarding__multiple_text),
78+ color = Colors .White64 ,
79+ )
7380
74- PrimaryButton (
75- text = stringResource(R .string.common__understood),
76- onClick = onConfirmClick,
77- modifier = Modifier .padding(32 .dp)
78- )
81+ Spacer (modifier = Modifier .height(32 .dp))
82+
83+ PrimaryButton (
84+ text = stringResource(R .string.common__understood),
85+ onClick = onConfirmClick,
86+ )
87+
88+ Spacer (modifier = Modifier .height(24 .dp))
89+ }
7990 }
8091}
8192
0 commit comments