Fixed date being moved if the message is too long

This commit is contained in:
Abdelilah El Aissaoui 2022-04-04 03:00:51 +02:00
parent b980784b1f
commit dac6d597a2

View File

@ -747,13 +747,14 @@ fun CommitMessage(
}
Text(
text = commit.shortMessage,
modifier = Modifier.padding(start = 8.dp),
modifier = Modifier
.padding(start = 8.dp)
.weight(1f),
fontSize = 14.sp,
color = if (matchesSearchFilter == false) secondaryTextColor else textColor,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
Spacer(modifier = Modifier.weight(2f))
Text(
text = commit.committerIdent.`when`.toSmartSystemString(),