🐛 Fix platform specific bugs & crashes

This commit is contained in:
2024-10-06 01:42:51 +08:00
parent 9c3d181deb
commit 60033fdef3
7 changed files with 85 additions and 60 deletions

View File

@ -396,7 +396,8 @@ class _AttachmentEditorPopupState extends State<AttachmentEditorPopup> {
),
if (!element.isCompleted &&
element.error == null &&
canBeCrop)
canBeCrop &&
PlatformInfo.canCropImage)
Obx(
() => IconButton(
color: Colors.teal,