Merge pull request #23 from msfjarvis/row-ui-tweaks

Use consistent vertical padding
This commit is contained in:
Harsh Shandilya 2020-09-24 05:08:42 +05:30 committed by GitHub
commit 2f70acd5d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ fun LazyItemScope.LobstersItem(
text = post.title,
color = Color(0xFF7395D9),
fontWeight = FontWeight.Bold,
modifier = Modifier.padding(top = 8.dp)
modifier = Modifier.padding(top = 4.dp)
)
Row(
modifier = Modifier.padding(vertical = 8.dp),
@ -52,7 +52,8 @@ fun LazyItemScope.LobstersItem(
}
}
Text(
text = "authored by ${post.submitterUser.username}",
text = "submitted by ${post.submitterUser.username}",
modifier = Modifier.padding(bottom = 4.dp),
)
}
}