diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index bb54496..1565322 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -20,7 +20,7 @@ zh CFBundleName - solian + Solian CFBundlePackageType APPL CFBundleShortVersionString diff --git a/lib/widgets/chat/message_action.dart b/lib/widgets/chat/message_action.dart index f4bcb6d..4baa609 100644 --- a/lib/widgets/chat/message_action.dart +++ b/lib/widgets/chat/message_action.dart @@ -79,7 +79,7 @@ class ChatMessageAction extends StatelessWidget { return ListView( children: [ - ...(snapshot.data['id'] == item.sender.accountId ? authorizedItems : List.empty()), + ...(snapshot.data['id'] == item.sender.account.externalId ? authorizedItems : List.empty()), ListTile( leading: const Icon(Icons.reply), title: Text(AppLocalizations.of(context)!.reply), diff --git a/lib/widgets/posts/item_action.dart b/lib/widgets/posts/item_action.dart index 0c84c10..2bb58b7 100644 --- a/lib/widgets/posts/item_action.dart +++ b/lib/widgets/posts/item_action.dart @@ -91,7 +91,7 @@ class PostItemAction extends StatelessWidget { return ListView( children: [ - ...(snapshot.data['id'] == item.authorId + ...(snapshot.data['id'] == item.author.externalId ? authorizedItems : List.empty()), ListTile(