Skip to content

Commit

Permalink
fix: swap names (#592)
Browse files Browse the repository at this point in the history
## Description
Swap name and nickname

## Additional Notes
- Swapped for Follow/Following modal page
- Profile tab

## Type of Change
- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation
- [ ] Chore
  • Loading branch information
ice-endymion authored Jan 22, 2025
1 parent 3f96e45 commit c8cd27e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class UseListItem extends ConsumerWidget {
return const SizedBox.shrink();
}
return ListItem.user(
title: Text(userMetadata.data.name),
title: Text(userMetadata.data.displayName),
subtitle: Text(
prefixUsername(
username: userMetadata.data.displayName,
username: userMetadata.data.name,
context: context,
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ class FollowListItem extends ConsumerWidget {
return const SizedBox.shrink();
}
return ListItem.user(
title: Text(userMetadata.data.name),
title: Text(userMetadata.data.displayName),
trailing: FollowUserButton(pubkey: pubkey),
subtitle: Text(
prefixUsername(
username: userMetadata.data.displayName,
username: userMetadata.data.name,
context: context,
),
),
Expand Down

0 comments on commit c8cd27e

Please sign in to comment.