about summary refs log tree commit diff
path: root/src/state/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models')
-rw-r--r--src/state/models/user-local-photos.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/user-local-photos.ts b/src/state/models/user-local-photos.ts
index 12b95e376..9a1455039 100644
--- a/src/state/models/user-local-photos.ts
+++ b/src/state/models/user-local-photos.ts
@@ -18,8 +18,8 @@ export class UserLocalPhotosModel {
   }
 
   private async _getPhotos() {
-    runInAction(() => {
-      CameraRoll.getPhotos({first: 20}).then(r => {
+    CameraRoll.getPhotos({first: 20}).then(r => {
+      runInAction(() => {
         this.photos = r.edges
       })
     })