Allow removal of feeds that fail to load (#4121)
This commit is contained in:
@@ -94,7 +94,7 @@ export function FeedSourceCardLoaded({
|
|||||||
useRemoveFeedMutation()
|
useRemoveFeedMutation()
|
||||||
|
|
||||||
const savedFeedConfig = preferences?.savedFeeds?.find(
|
const savedFeedConfig = preferences?.savedFeeds?.find(
|
||||||
f => f.value === feed?.uri,
|
f => f.value === feedUri,
|
||||||
)
|
)
|
||||||
const isSaved = Boolean(savedFeedConfig)
|
const isSaved = Boolean(savedFeedConfig)
|
||||||
|
|
||||||
@@ -173,7 +173,7 @@ export function FeedSourceCardLoaded({
|
|||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel={_(msg`Remove from my feeds`)}
|
accessibilityLabel={_(msg`Remove from my feeds`)}
|
||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
onPress={onToggleSaved}
|
onPress={onUnsave}
|
||||||
hitSlop={15}
|
hitSlop={15}
|
||||||
style={styles.btn}>
|
style={styles.btn}>
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
|
|||||||
Reference in New Issue
Block a user