Can be useful to identify which channel has the most users, eg when
looking for the official support channel of a project.
---
lib/page/join.dart | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/lib/page/join.dart b/lib/page/join.dart
index d74c4c2..1d65b62 100644
--- a/lib/page/join.dart
+++ b/lib/page/join.dart
@@ -219,8 +219,19 @@ class _JoinItem extends StatelessWidget {
);
if (action is _JoinChannelAction) {
+ Widget? trailing;
+ if(action.listReply.clients > 0) {
+ trailing = Row(
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ Icon(Icons.person),
+ Text('${action.listReply.clients}'),
+ ],
+ );
+ }
return ListTile(
leading: Icon(Icons.tag),
+ trailing: trailing,
title: title,
subtitle: action.listReply.topic == '' ? null : Text(
stripAnsiFormatting(action.listReply.topic),
base-commit: 7503ffdc2522b8023cf2b4c4431c344f216b1e58
--
2.17.1