fix: адаптация PR #60 под текущий feature/FullStack

This commit is contained in:
Jganenokk
2026-08-15 16:12:08 +07:00
parent 615ce2caf1
commit 70bf0a20c8
8 changed files with 19 additions and 62 deletions
@@ -212,7 +212,7 @@ class _AttachmentSheetState extends State<AttachmentSheet> {
return;
}
if (shot == null || !mounted) return;
_openPreview(CameraGalleryItem(File(shot.path)));
_openPreview(GalleryItem.fromFile(File(shot.path)));
}
void _sendSelection({GalleryItem? fallback}) {
@@ -937,7 +937,6 @@ class _CameraTileState extends State<_CameraTile> with WidgetsBindingObserver {
}
setState(() => _controller = controller);
} catch (_) {
// keep the fallback tile
} finally {
_starting = false;
}