mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-05 20:48:24 +00:00
feat: integrate PollsSection into AppDetailScreen
Add polls section to app detail page between AppInfoTable and CommentsSection. Polls are queried from social relays and displayed when available. Requires models package with Poll/PollResponse support (kind 1068/1018). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
64cb543e01
commit
8c785ab83d
@@ -19,6 +19,7 @@ import 'package:zapstore/widgets/app_header.dart';
|
||||
import 'package:zapstore/widgets/app_info_table.dart';
|
||||
import 'package:zapstore/widgets/author_container.dart';
|
||||
import 'package:zapstore/widgets/comments_section.dart';
|
||||
import 'package:zapstore/widgets/polls_section.dart';
|
||||
import 'package:zapstore/widgets/download_text_container.dart';
|
||||
import 'package:zapstore/widgets/expandable_markdown.dart';
|
||||
import 'package:zapstore/widgets/install_button.dart';
|
||||
@@ -411,6 +412,8 @@ class _AppDetailContent extends HookConsumerWidget {
|
||||
child: AppInfoTable(app: app, fileMetadata: latestMetadata),
|
||||
),
|
||||
|
||||
PollsSection(app: app),
|
||||
|
||||
CommentsSection(app: app, fileMetadata: latestMetadata),
|
||||
|
||||
// Debug section
|
||||
|
||||
Reference in New Issue
Block a user