making corrections
This commit is contained in:
@@ -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}>
|
||||||
|
|||||||
Reference in New Issue
Block a user