From c09cb8ea40f0fb97a63721c28e3dcfc70d38ca80 Mon Sep 17 00:00:00 2001 From: aelassas Date: Wed, 8 Jan 2025 13:51:06 +0100 Subject: [PATCH] Rename PropertiesScreen to SearchScreen --- mobile/components/DrawerNavigator.tsx | 4 ++-- mobile/screens/{PropertiesScreen.tsx => SearchScreen.tsx} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename mobile/screens/{PropertiesScreen.tsx => SearchScreen.tsx} (95%) diff --git a/mobile/components/DrawerNavigator.tsx b/mobile/components/DrawerNavigator.tsx index 5ab7407a..b857fd98 100644 --- a/mobile/components/DrawerNavigator.tsx +++ b/mobile/components/DrawerNavigator.tsx @@ -14,7 +14,7 @@ import ContactScreen from '@/screens/ContactScreen' import SignInScreen from '@/screens/SignInScreen' import SignUpScreen from '@/screens/SignUpScreen' import ForgotPasswordScreen from '@/screens/ForgotPasswordScreen' -import PropertiesScreen from '@/screens/PropertiesScreen' +import SearchScreen from '@/screens/SearchScreen' import * as UserService from '@/services/UserService' import i18n from '@/lang/i18n' import * as env from '@/config/env.config' @@ -192,7 +192,7 @@ const DrawerNavigator = () => { ) => { +const SearchScreen = ({ navigation, route }: NativeStackScreenProps) => { const isFocused = useIsFocused() const [reload, setReload] = useState(false) const [loaded, setLoaded] = useState(false) @@ -97,4 +97,4 @@ const styles = StyleSheet.create({ }, }) -export default PropertiesScreen +export default SearchScreen