Allow removal of feeds that fail to load (#4121)

zio/stable
Eric Bailey 2024-05-20 15:04:33 -05:00 committed by GitHub
parent 52a885ad19
commit fe15e9df26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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}>
<FontAwesomeIcon