Skip to content

Commit

Permalink
fix: render only the display name (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmo314 committed Jan 30, 2023
1 parent ce79ce6 commit 77d351b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/components/channel_search_results.dart
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,7 @@ class _ChannelSearchResultsWidgetState
title: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
result.displayName.toLowerCase() ==
result.login.toLowerCase()
? Text(result.displayName)
: Text(
"${result.displayName} (${result.login})"),
Text(result.displayName),
Text(result.language ?? "??",
style: const TextStyle(
fontSize: 12,
Expand Down

0 comments on commit 77d351b

Please sign in to comment.