From fe15e9df26832c4ae5d8516f833969a5a014fb8d Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 20 May 2024 15:04:33 -0500 Subject: [PATCH] Allow removal of feeds that fail to load (#4121) --- src/view/com/feeds/FeedSourceCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/com/feeds/FeedSourceCard.tsx b/src/view/com/feeds/FeedSourceCard.tsx index 3cef4036..b89a3946 100644 --- a/src/view/com/feeds/FeedSourceCard.tsx +++ b/src/view/com/feeds/FeedSourceCard.tsx @@ -94,7 +94,7 @@ export function FeedSourceCardLoaded({ useRemoveFeedMutation() const savedFeedConfig = preferences?.savedFeeds?.find( - f => f.value === feed?.uri, + f => f.value === feedUri, ) const isSaved = Boolean(savedFeedConfig) @@ -173,7 +173,7 @@ export function FeedSourceCardLoaded({ accessibilityRole="button" accessibilityLabel={_(msg`Remove from my feeds`)} accessibilityHint="" - onPress={onToggleSaved} + onPress={onUnsave} hitSlop={15} style={styles.btn}>