mobile: fix opening search causes crash in share ext

This commit is contained in:
ammarahm-ed
2023-08-03 16:57:02 +05:00
committed by Ammar Ahmed
parent 3ec615a6ec
commit a17d2d69ef

View File

@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
import React, { useEffect, useRef, useState, FlatList } from "react"; import React, { useEffect, useRef, useState } from "react";
import { import {
Platform, Platform,
StatusBar, StatusBar,
@@ -25,7 +25,8 @@ import {
TextInput, TextInput,
TouchableOpacity, TouchableOpacity,
View, View,
useWindowDimensions useWindowDimensions,
FlatList
} from "react-native"; } from "react-native";
import { useSafeAreaInsets } from "react-native-safe-area-context"; import { useSafeAreaInsets } from "react-native-safe-area-context";
import Icon from "react-native-vector-icons/MaterialCommunityIcons"; import Icon from "react-native-vector-icons/MaterialCommunityIcons";