From df3482ae3586868690c9edc963448e66878038bf Mon Sep 17 00:00:00 2001
From: Ivan Chen <ivan@tagg.id>
Date: Mon, 18 Jan 2021 17:30:15 -0500
Subject: no autocorrect on search bar and auto clear on cancel

---
 src/screens/search/SearchScreen.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/screens/search/SearchScreen.tsx')

diff --git a/src/screens/search/SearchScreen.tsx b/src/screens/search/SearchScreen.tsx
index 4505163c..9f98b4d7 100644
--- a/src/screens/search/SearchScreen.tsx
+++ b/src/screens/search/SearchScreen.tsx
@@ -113,6 +113,7 @@ const SearchScreen: React.FC = () => {
     setSearching(true);
   };
   const handleBlur = () => {
+    setQuery('');
     Keyboard.dismiss();
     const topOutConfig = {
       duration: 180,
-- 
cgit v1.2.3-70-g09d2

