From 0ae2806b65eda0be03f9b8a4610fa3cfe718cb21 Mon Sep 17 00:00:00 2001 From: ice-hector <96414297+ice-hector@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:37:01 +0200 Subject: [PATCH] fix: add user info menu --- .../pages/create_post_modal/components/parent_entity.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/app/features/feed/create_post/views/pages/create_post_modal/components/parent_entity.dart b/lib/app/features/feed/create_post/views/pages/create_post_modal/components/parent_entity.dart index d356ca459..10b32dfa5 100644 --- a/lib/app/features/feed/create_post/views/pages/create_post_modal/components/parent_entity.dart +++ b/lib/app/features/feed/create_post/views/pages/create_post_modal/components/parent_entity.dart @@ -10,6 +10,7 @@ import 'package:ion/app/features/feed/data/models/entities/post_data.c.dart'; import 'package:ion/app/features/feed/views/components/post/components/post_body/post_body.dart'; import 'package:ion/app/features/feed/views/components/post/post_skeleton.dart'; import 'package:ion/app/features/feed/views/components/replying_to/replying_to.dart'; +import 'package:ion/app/features/feed/views/components/user_info_menu/user_info_menu.dart'; import 'package:ion/app/features/nostr/model/event_reference.c.dart'; import 'package:ion/app/features/nostr/providers/nostr_entity_provider.c.dart'; import 'package:ion/app/features/user/providers/user_metadata_provider.c.dart'; @@ -43,6 +44,9 @@ class ParentEntity extends ConsumerWidget { title: Text(userMetadata.data.displayName), subtitle: Text(prefixUsername(username: userMetadata.data.name, context: context)), profilePicture: userMetadata.data.picture, + trailing: UserInfoMenu( + pubkey: eventReference.pubkey, + ), ), SizedBox(height: 8.0.s), Padding(