only allow selecting 4 images max

zio/stable
Ansh Nanda 2023-04-25 14:45:41 -07:00
parent c8a7f27d43
commit fa612fade6
1 changed files with 1 additions and 1 deletions

View File

@ -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,