🐛 Fix post video bug

This commit is contained in:
LittleSheep 2025-02-12 16:56:36 +08:00
parent 0a381ef09b
commit 8b19462c3a

View File

@ -891,7 +891,7 @@ class _PostVideoEditor extends StatelessWidget {
),
child: InkWell(
borderRadius: BorderRadius.circular(16),
onTap: controller.videoAttachment != null ? () => _selectVideo(context) : null,
onTap: controller.videoAttachment == null ? () => _selectVideo(context) : null,
child: AspectRatio(
aspectRatio: 16 / 9,
child: controller.videoAttachment == null