diff options
author | Logan Rosen <loganrosen@gmail.com> | 2023-06-06 10:38:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 09:38:58 -0500 |
commit | bdcdb4e4dc9636834b54147d666e6f6024fcff7b (patch) | |
tree | 2dc0ea153581724fe8cce5e8524a32a79f677149 /src/state/models | |
parent | a67eaa6ace7b8b7a2158decf1d84c613b890f614 (diff) | |
download | voidsky-bdcdb4e4dc9636834b54147d666e6f6024fcff7b.tar.zst |
Use expo-image-picker on Web (#847)
Diffstat (limited to 'src/state/models')
-rw-r--r-- | src/state/models/media/gallery.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/media/gallery.ts b/src/state/models/media/gallery.ts index 52ef8f375..e53e861e2 100644 --- a/src/state/models/media/gallery.ts +++ b/src/state/models/media/gallery.ts @@ -87,7 +87,7 @@ export class GalleryModel { } async pick() { - const images = await openPicker(this.rootStore, { + const images = await openPicker({ selectionLimit: 4 - this.size, allowsMultipleSelection: true, }) |