···142142 }
143143144144 async unsave() {
145145- if (this.type !== 'feed-generator') {
145145+ // TODO TEMPORARY — see PRF's comment in content/list.ts togglePin
146146+ if (this.type !== 'feed-generator' && this.type !== 'list') {
146147 return
147148 }
148149 try {
···179180 name: this.displayName,
180181 uri: this.uri,
181182 })
182182- return this.rootStore.preferences.removePinnedFeed(this.uri)
183183+184184+ if (this.type === 'list') {
185185+ // TODO TEMPORARY — see PRF's comment in content/list.ts togglePin
186186+ return this.unsave()
187187+ } else {
188188+ return this.rootStore.preferences.removePinnedFeed(this.uri)
189189+ }
183190 }
184191 }
185192
+1-1
src/state/models/content/list.ts
···361361 name: this.data?.name || '',
362362 uri: this.uri,
363363 })
364364- // TEMPORARY
364364+ // TODO TEMPORARY
365365 // lists are temporarily piggybacking on the saved/pinned feeds preferences
366366 // we'll eventually replace saved feeds with the bookmarks API
367367 // until then, we need to unsave lists instead of just unpin them