···142 }
143144 async unsave() {
145+ // TODO TEMPORARY — see PRF's comment in content/list.ts togglePin
146+ if (this.type !== 'feed-generator' && this.type !== 'list') {
147 return
148 }
149 try {
···180 name: this.displayName,
181 uri: this.uri,
182 })
183+184+ if (this.type === 'list') {
185+ // TODO TEMPORARY — see PRF's comment in content/list.ts togglePin
186+ return this.unsave()
187+ } else {
188+ return this.rootStore.preferences.removePinnedFeed(this.uri)
189+ }
190 }
191 }
192
+1-1
src/state/models/content/list.ts
···361 name: this.data?.name || '',
362 uri: this.uri,
363 })
364- // TEMPORARY
365 // lists are temporarily piggybacking on the saved/pinned feeds preferences
366 // we'll eventually replace saved feeds with the bookmarks API
367 // until then, we need to unsave lists instead of just unpin them
···361 name: this.data?.name || '',
362 uri: this.uri,
363 })
364+ // TODO TEMPORARY
365 // lists are temporarily piggybacking on the saved/pinned feeds preferences
366 // we'll eventually replace saved feeds with the bookmarks API
367 // until then, we need to unsave lists instead of just unpin them