about summary refs log tree commit diff
path: root/src/state/models/ui/my-feeds.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-09-20 11:03:57 -0500
committerEric Bailey <git@esb.lol>2023-09-20 11:03:57 -0500
commit5665968f729b99509d54769f494bbbfc59b4b630 (patch)
treebfad6f82b613699ba3f206d460f0eac50dee6bd4 /src/state/models/ui/my-feeds.ts
parent63527493fd8dfb72d21bd50cd2404a5cf2c6e274 (diff)
parentcd96f8dcc8692aec4b9b165cc9f47d7e0b6257df (diff)
downloadvoidsky-5665968f729b99509d54769f494bbbfc59b4b630.tar.zst
Merge remote-tracking branch 'origin' into bnewbold/bump-api-dep
* origin:
  Allow touch at the top of the lightbox (#1489)
  Bump ios build number
  Feeds tab fixes (#1486)
  Nicer 'post processing status' in the composer (#1472)
  Inline createPanResponder (#1483)
  Tree view threads experiment (#1480)
  Make "double tap to zoom" precise across platforms (#1482)
  Onboarding recommended follows (#1457)
  Add thread sort settings (#1475)
Diffstat (limited to 'src/state/models/ui/my-feeds.ts')
-rw-r--r--src/state/models/ui/my-feeds.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/state/models/ui/my-feeds.ts b/src/state/models/ui/my-feeds.ts
index f9ad06f77..6b017709e 100644
--- a/src/state/models/ui/my-feeds.ts
+++ b/src/state/models/ui/my-feeds.ts
@@ -10,6 +10,11 @@ export type MyFeedsItem =
     }
   | {
       _reactKey: string
+      type: 'saved-feeds-loading'
+      numItems: number
+    }
+  | {
+      _reactKey: string
       type: 'discover-feeds-loading'
     }
   | {
@@ -91,7 +96,8 @@ export class MyFeedsUIModel {
     if (this.saved.isLoading) {
       items.push({
         _reactKey: '__saved_feeds_loading__',
-        type: 'spinner',
+        type: 'saved-feeds-loading',
+        numItems: this.rootStore.preferences.savedFeeds.length || 3,
       })
     } else if (this.saved.hasError) {
       items.push({