Merge pull request #3138 from pangeachat/3047-cant-limit-length-of-invite-username

chore: show full userIds in invitation page
This commit is contained in:
ggurdin 2025-06-18 12:45:25 -04:00 committed by GitHub
commit f997e58526
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 2 deletions

View file

@ -46,7 +46,6 @@ import '../../widgets/matrix.dart';
import 'package:fluffychat/utils/tor_stub.dart'
if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart';
enum PopupMenuAction {
settings,
invite,

View file

@ -345,7 +345,20 @@ class _InviteContactListTile extends StatelessWidget {
// color: theme.colorScheme.secondary,
// ),
// ),
subtitle: LevelDisplayName(userId: profile.userId),
subtitle: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// https://github.com/pangeachat/client/issues/3047
const SizedBox(height: 2.0),
Text(
profile.userId,
style: const TextStyle(
fontSize: 12.0,
),
),
LevelDisplayName(userId: profile.userId),
],
),
// Pangea#
trailing: TextButton.icon(
onPressed: isMember ? null : onTap,