about summary refs log tree commit diff
path: root/src/view/com/composer/Composer.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-08-30 20:53:27 +0100
committerGitHub <noreply@github.com>2024-08-30 12:53:27 -0700
commitc41f372b3c0707013c3abbfba7b18ca7ca71eef1 (patch)
tree0460fa7139d31ea2bbd6370576e60c13417dacc9 /src/view/com/composer/Composer.tsx
parentab260c3599294c7526a6d8cdf2657708e9b5a5c7 (diff)
downloadvoidsky-c41f372b3c0707013c3abbfba7b18ca7ca71eef1.tar.zst
[Video] Split 'videos' gate in two (#5037)
Diffstat (limited to 'src/view/com/composer/Composer.tsx')
-rw-r--r--src/view/com/composer/Composer.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx
index f0b4ae754..8a8fa66b7 100644
--- a/src/view/com/composer/Composer.tsx
+++ b/src/view/com/composer/Composer.tsx
@@ -760,7 +760,7 @@ export const ComposePost = observer(function ComposePost({
           ) : (
             <ToolbarWrapper style={[a.flex_row, a.align_center, a.gap_xs]}>
               <SelectPhotoBtn gallery={gallery} disabled={!canSelectImages} />
-              {gate('videos') && (
+              {gate('video_upload') && (
                 <SelectVideoBtn
                   onSelectVideo={selectVideo}
                   disabled={!canSelectImages}