Skip to content

Commit

Permalink
Merge pull request #384 from pangeachat/fix-convo-partner-overflow
Browse files Browse the repository at this point in the history
Fix conversation partner search list overflow
  • Loading branch information
ggurdin authored Jun 24, 2024
2 parents 3b91eea + 64f5f47 commit 9c93f1c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions lib/pangea/pages/find_partner/find_partner_view.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:country_picker/country_picker.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/pangea/models/user_model.dart';
import 'package:fluffychat/pangea/widgets/common/list_placeholder.dart';
Expand Down Expand Up @@ -272,9 +273,16 @@ class UserProfileEntry extends StatelessWidget {
),
title: Row(
children: [
Text(
//PTODO - get matrix u and show displayName
matrixProfile?.displayName ?? pangeaProfile.pangeaUserId,
Flexible(
child: Text(
//PTODO - get matrix u and show displayName
matrixProfile?.displayName ??
pangeaProfile.pangeaUserId.replaceAll(
":${AppConfig.defaultHomeserver.replaceAll("matrix.", "")}",
"",
),
overflow: TextOverflow.ellipsis,
),
),
const SizedBox(width: 20),
RichText(
Expand Down

0 comments on commit 9c93f1c

Please sign in to comment.