From 2c152aeca321b208e96bdec42647d5cc36edafcd Mon Sep 17 00:00:00 2001 From: krawieck Date: Sat, 16 Jan 2021 15:20:30 +0100 Subject: [PATCH] add more properties to nerd stuff --- lib/widgets/comment.dart | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/widgets/comment.dart b/lib/widgets/comment.dart index 70d4f0b..4d62522 100644 --- a/lib/widgets/comment.dart +++ b/lib/widgets/comment.dart @@ -47,7 +47,25 @@ class Comment extends HookWidget { final com = commentTree.comment; showInfoTablePopup(context, { 'id': com.id, + 'creatorId': com.creatorId, + 'postId': com.postId, + 'postName': com.postName, + 'parentId': com.parentId, + 'removed': com.removed, + 'read': com.read, + 'published': com.published, + 'updated': com.updated, + 'deleted': com.deleted, 'apId': com.apId, + 'local': com.local, + 'communityId': com.communityId, + 'communityActorId': com.communityActorId, + 'communityLocal': com.communityLocal, + 'communityName': com.communityName, + 'communityIcon': com.communityIcon, + 'banned': com.banned, + 'bannedFromCommunity': com.bannedFromCommunity, + 'creatorActirId': com.creatorActorId, 'userId': com.userId, 'upvotes': com.upvotes, 'downvotes': com.downvotes, @@ -55,8 +73,6 @@ class Comment extends HookWidget { '% of upvotes': '${100 * (com.upvotes / (com.upvotes + com.downvotes))}%', 'hotRank': com.hotRank, 'hotRankActive': com.hotRankActive, - 'published': com.published, - 'updated': com.updated, }); }