diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-05-06 22:50:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 22:50:28 +0300 |
commit | 4c8fd006f6a994783a43e4744a3167db7aefc159 (patch) | |
tree | 0b8350774438cbbc2b8c6e77b844ce6b677381d3 /src/lib/media/manip.ts | |
parent | 3f7dc9a8e5c9225ef20ce996543a1c3cfa991eb7 (diff) | |
download | voidsky-4c8fd006f6a994783a43e4744a3167db7aefc159.tar.zst |
New Edit Profile dialog on web, use new Edit Image dialog everywhere (#8220)
Diffstat (limited to 'src/lib/media/manip.ts')
-rw-r--r-- | src/lib/media/manip.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/media/manip.ts b/src/lib/media/manip.ts index ff5b71ace..4578406e0 100644 --- a/src/lib/media/manip.ts +++ b/src/lib/media/manip.ts @@ -24,7 +24,7 @@ import {type Dimensions} from './types' export async function compressIfNeeded( img: PickerImage, - maxSize: number = 1000000, + maxSize: number = POST_IMG_MAX.size, ): Promise<PickerImage> { if (img.size < maxSize) { return img |