Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

clear search on tab press (#3753)

* clear search on tab press

* don't need to call `onPressCancelSearch`

authored by

Hailey and committed by
GitHub
2feea51a 5d715ae1

+8 -3
+8 -3
src/view/screens/Search/Search.tsx
··· 599 599 ) 600 600 601 601 const onSoftReset = React.useCallback(() => { 602 - scrollToTopWeb() 603 - onPressCancelSearch() 604 - }, [onPressCancelSearch]) 602 + if (isWeb) { 603 + // Empty params resets the URL to be /search rather than /search?q= 604 + navigation.replace('Search', {}) 605 + } else { 606 + setSearchText('') 607 + navigation.setParams({q: ''}) 608 + } 609 + }, [navigation]) 605 610 606 611 useFocusEffect( 607 612 React.useCallback(() => {