app: fix submitter text color in replies and reformat
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
@@ -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()
|
||||
)
|
||||
}
|
||||
}
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user