making corrections

This commit is contained in:
Ryan Skinner
2024-05-30 15:32:11 -04:00
parent ac692c77f5
commit dadbde2460
+4 -2
View File
@@ -603,10 +603,10 @@ export function SearchScreen(
updateSearchHistory(item) updateSearchHistory(item)
if (isWeb) { if (isWeb) {
navigation.replace('Search', {q: item}) navigation.push('Search', {q: item})
} else { } else {
textInput.current?.blur() textInput.current?.blur()
navigation.replace('Search', {q: item}) navigation.setParams({q: item})
} }
}, },
[updateSearchHistory, navigation], [updateSearchHistory, navigation],
@@ -1025,6 +1025,8 @@ function SearchHistory({
</Pressable> </Pressable>
<Pressable <Pressable
accessibilityRole="button" accessibilityRole="button"
accessibilityLabel="Remove profile"
accessibilityHint="Remove profile from search history"
onPress={() => onRemoveProfileClick(profile)} onPress={() => onRemoveProfileClick(profile)}
hitSlop={HITSLOP_10} hitSlop={HITSLOP_10}
style={styles.profileRemoveBtn}> style={styles.profileRemoveBtn}>