From fa612fade6a694c48c95dff8dd9c28dd7f2fa4f5 Mon Sep 17 00:00:00 2001
From: Ansh Nanda <anshnanda10@gmail.com>
Date: Tue, 25 Apr 2023 14:45:41 -0700
Subject: only allow selecting 4 images max

---
 src/view/com/composer/Composer.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/view/com/composer/Composer.tsx')

diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx
index a8be88980..c30d881ec 100644
--- a/src/view/com/composer/Composer.tsx
+++ b/src/view/com/composer/Composer.tsx
@@ -196,7 +196,7 @@ export const ComposePost = observer(function ComposePost({
     ? 'Write a comment'
     : "What's up?"
 
-  const canSelectImages = gallery.size <= 4
+  const canSelectImages = gallery.size < 4
   const viewStyles = {
     paddingBottom: isAndroid ? insets.bottom : 0,
     paddingTop: isAndroid ? insets.top : isDesktopWeb ? 0 : 15,
-- 
cgit 1.4.1

