only allow selecting 4 images max
parent
c8a7f27d43
commit
fa612fade6
|
@ -196,7 +196,7 @@ export const ComposePost = observer(function ComposePost({
|
||||||
? 'Write a comment'
|
? 'Write a comment'
|
||||||
: "What's up?"
|
: "What's up?"
|
||||||
|
|
||||||
const canSelectImages = gallery.size <= 4
|
const canSelectImages = gallery.size < 4
|
||||||
const viewStyles = {
|
const viewStyles = {
|
||||||
paddingBottom: isAndroid ? insets.bottom : 0,
|
paddingBottom: isAndroid ? insets.bottom : 0,
|
||||||
paddingTop: isAndroid ? insets.top : isDesktopWeb ? 0 : 15,
|
paddingTop: isAndroid ? insets.top : isDesktopWeb ? 0 : 15,
|
||||||
|
|
Loading…
Reference in New Issue