Skip to content

Commit 4a9aa7f

Browse files
committed
chore(login): update access key location searh image
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent f4d91c2 commit 4a9aa7f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

3.99 KB
Loading

apps/flipcash/features/login/src/main/kotlin/com/flipcash/app/login/accesskey/PhotoAccessKeyScreen.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import androidx.compose.foundation.Image
55
import androidx.compose.foundation.layout.Arrangement
66
import androidx.compose.foundation.layout.Box
77
import androidx.compose.foundation.layout.Column
8+
import androidx.compose.foundation.layout.aspectRatio
89
import androidx.compose.foundation.layout.fillMaxSize
910
import androidx.compose.foundation.layout.fillMaxWidth
1011
import androidx.compose.foundation.layout.navigationBarsPadding
@@ -13,6 +14,7 @@ import androidx.compose.material.Text
1314
import androidx.compose.runtime.Composable
1415
import androidx.compose.ui.Alignment
1516
import androidx.compose.ui.Modifier
17+
import androidx.compose.ui.layout.ContentScale
1618
import androidx.compose.ui.platform.LocalContext
1719
import androidx.compose.ui.res.painterResource
1820
import androidx.compose.ui.res.stringResource
@@ -90,12 +92,15 @@ private fun AccessKeyInPhotos(
9092
) {
9193
Column(
9294
modifier = Modifier.fillMaxWidth(),
93-
verticalArrangement = Arrangement.spacedBy(CodeTheme.dimens.grid.x7),
9495
horizontalAlignment = Alignment.CenterHorizontally,
9596
) {
9697
Image(
98+
modifier = Modifier
99+
.fillMaxWidth(0.6f)
100+
.aspectRatio(1f),
97101
painter = painterResource(R.drawable.ic_access_key_in_photos),
98102
contentDescription = null,
103+
contentScale = ContentScale.FillWidth,
99104
)
100105

101106
Text(

0 commit comments

Comments
 (0)