~emersion/goguma-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] page/join: display the number of users per channel

Details
Message ID
<20221201151401.20425-1-delthas@dille.cc>
DKIM signature
pass
Download raw message
Patch: +11 -0
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
Details
Message ID
<Pwj-l6uLr8c_O6SoCLSRsPTlZZx8lmlyvZvoXbOHpRTQHZoeBb84JZXO2I0mwoBDSMpdOafQ53MsasoG8Nynv-wsuXmUpPoNWZEiT8iGors=@emersion.fr>
In-Reply-To
<20221201151401.20425-1-delthas@dille.cc> (view parent)
DKIM signature
pass
Download raw message
Pushed, thanks!
Reply to thread Export thread (mbox)