android, desktop: show the member and subscriber counts of directory results in the secondary text size

The count used typography.caption, which is 18 sp in this theme, larger than the description above it. It now uses body2, as the other subscriber counts do.
This commit is contained in:
spacedandy-agents-simplex authored and spaced4ndy committed 2026-10-16 13:50:13 +04:00
1 parent 831396edf6
commit 05b8f33f81
2 files changed
+2 -2

No files matched your search

@@ -253,7 +253,7 @@ fun DirectorySearchRow(entry: DirectorySearchEntry, modifier: Modifier = Modifie
if (descr != null && descr.isNotEmpty()) {
Text(descr, color = MaterialTheme.colors.secondary, maxLines = 2, overflow = TextOverflow.Ellipsis)
}
Text(membersText, style = MaterialTheme.typography.caption, color = MaterialTheme.colors.secondary)
Text(membersText, style = MaterialTheme.typography.body2, color = MaterialTheme.colors.secondary)
}
Text(
stringResource(if (isChannel) MR.strings.compose_view_join_channel else MR.strings.compose_view_join_group),