diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-05-18 14:39:04 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-05-18 14:39:04 -0500 |
commit | 5537d19e555c39f5f9a0ec16735ea4c3860357c4 (patch) | |
tree | 35b22f36a6703caefef3c63ca82678ee1d53c2d4 /src/view/com/feeds/CustomFeed.tsx | |
parent | acea0e074d75ac549abb01dc4ac16573a43ad7fa (diff) | |
download | voidsky-5537d19e555c39f5f9a0ec16735ea4c3860357c4.tar.zst |
Update saved feeds to use preferences
Diffstat (limited to 'src/view/com/feeds/CustomFeed.tsx')
-rw-r--r-- | src/view/com/feeds/CustomFeed.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/feeds/CustomFeed.tsx b/src/view/com/feeds/CustomFeed.tsx index d4e843b67..9a71eb846 100644 --- a/src/view/com/feeds/CustomFeed.tsx +++ b/src/view/com/feeds/CustomFeed.tsx @@ -40,7 +40,7 @@ export const CustomFeed = observer( const navigation = useNavigation<NavigationProp>() const onToggleSaved = React.useCallback(async () => { - if (item.data.viewer?.saved) { + if (item.isSaved) { store.shell.openModal({ name: 'confirm', title: 'Remove from my feeds', |