From a17d2d69ef1dfb8cc5abecae94a4cbbbebb16f74 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 3 Aug 2023 16:57:02 +0500 Subject: [PATCH] mobile: fix opening search causes crash in share ext --- apps/mobile/share/search.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/mobile/share/search.js b/apps/mobile/share/search.js index b3a6a36f5..e63f36d38 100644 --- a/apps/mobile/share/search.js +++ b/apps/mobile/share/search.js @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -import React, { useEffect, useRef, useState, FlatList } from "react"; +import React, { useEffect, useRef, useState } from "react"; import { Platform, StatusBar, @@ -25,7 +25,8 @@ import { TextInput, TouchableOpacity, View, - useWindowDimensions + useWindowDimensions, + FlatList } from "react-native"; import { useSafeAreaInsets } from "react-native-safe-area-context"; import Icon from "react-native-vector-icons/MaterialCommunityIcons";