From 8b19462c3a3b699f904a676a0de0182b9c0edb21 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Wed, 12 Feb 2025 16:56:36 +0800 Subject: [PATCH] :bug: Fix post video bug --- lib/screens/post/post_editor.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/post/post_editor.dart b/lib/screens/post/post_editor.dart index 89eca9f..9a3e1cf 100644 --- a/lib/screens/post/post_editor.dart +++ b/lib/screens/post/post_editor.dart @@ -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