Add file from ID

🐛 Fix explore unauthorized render error on large screen
This commit is contained in:
2025-07-28 02:01:36 +08:00
parent 5ecd39b6a9
commit d8cd33e79a
6 changed files with 157 additions and 26 deletions

View File

@@ -469,6 +469,11 @@ class PostComposeScreen extends HookConsumerWidget {
icon: const Icon(Symbols.videocam),
color: colorScheme.primary,
),
IconButton(
onPressed: () => ComposeLogic.addAttachmentById(ref, state, context),
icon: const Icon(Symbols.attach_file),
color: colorScheme.primary,
),
],
).padding(
bottom: MediaQuery.of(context).padding.bottom + 16,