Skip to content

Commit 104e2df

Browse files
Adjust text sizing
1 parent 7681b1b commit 104e2df

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/src/main/java/protect/card_locker/compose/AboutActivity.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fun CatimaAboutSection(
3636

3737
Row(
3838
modifier = modifier
39-
.padding(8.dp)
39+
.padding(horizontal = 16.dp, vertical = 8.dp)
4040
.clickable {
4141
if (onClickDialogText != null) {
4242
openDialog.value = true
@@ -48,13 +48,13 @@ fun CatimaAboutSection(
4848
Column(modifier = Modifier.weight(1F)) {
4949
Text(
5050
text = title,
51-
style = MaterialTheme.typography.titleLarge
51+
style = MaterialTheme.typography.titleMedium
5252
)
5353
Text(text = message)
5454
}
5555
Text(modifier = Modifier.align(Alignment.CenterVertically),
5656
text = ">",
57-
style = MaterialTheme.typography.titleMedium
57+
style = MaterialTheme.typography.bodyMedium
5858
)
5959
}
6060
if (openDialog.value && onClickDialogText != null) {
@@ -66,7 +66,8 @@ fun CatimaAboutSection(
6666
text = {
6767
Text(
6868
text = onClickDialogText,
69-
modifier = Modifier.verticalScroll(rememberScrollState()))
69+
modifier = Modifier.verticalScroll(rememberScrollState())
70+
)
7071
},
7172
onDismissRequest = {
7273
openDialog.value = false

0 commit comments

Comments
 (0)