about summary refs log tree commit diff
path: root/src/state/models
diff options
context:
space:
mode:
authorLogan Rosen <loganrosen@gmail.com>2023-06-06 10:38:58 -0400
committerGitHub <noreply@github.com>2023-06-06 09:38:58 -0500
commitbdcdb4e4dc9636834b54147d666e6f6024fcff7b (patch)
tree2dc0ea153581724fe8cce5e8524a32a79f677149 /src/state/models
parenta67eaa6ace7b8b7a2158decf1d84c613b890f614 (diff)
downloadvoidsky-bdcdb4e4dc9636834b54147d666e6f6024fcff7b.tar.zst
Use expo-image-picker on Web (#847)
Diffstat (limited to 'src/state/models')
-rw-r--r--src/state/models/media/gallery.ts2
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,
     })