app: fix submitter text color in replies and reformat

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2021-04-14 18:21:08 +05:30
parent 7af22a422e
commit 2d1e1ece4d
2 changed files with 5 additions and 4 deletions
@@ -31,9 +31,7 @@ fun CommentEntry(
Row(modifier = Modifier.padding(start = startPadding, end = 8.dp, top = 4.dp, bottom = 4.dp)) {
Column {
Row {
CompositionLocalProvider(
LocalTextStyle provides TextStyle(color = Color.DarkGray, fontWeight = FontWeight.Bold)
) {
CompositionLocalProvider(LocalTextStyle provides TextStyle(fontWeight = FontWeight.Bold)) {
SubmitterName(
text = comment.user.username,
avatarUrl = comment.user.avatarUrl,
@@ -50,7 +50,10 @@ private fun CommentsPageInternal(
modifier = Modifier.padding(bottom = paddingValues.calculateBottomPadding()),
floatingActionButton = {
FloatingActionButton(onClick = { urlLauncher.launch(details.commentsUrl) }) {
IconResource(resourceId = R.drawable.ic_reply_24dp, contentDescription = Strings.ReplyButtonContentDescription.get())
IconResource(
resourceId = R.drawable.ic_reply_24dp,
contentDescription = Strings.ReplyButtonContentDescription.get()
)
}
}
) {