Skip to content

Commit

Permalink
Rename PropertiesScreen to SearchScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Jan 8, 2025
1 parent dd5a952 commit c09cb8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mobile/components/DrawerNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -192,7 +192,7 @@ const DrawerNavigator = () => {
<Drawer.Screen
key={drawer.name}
name={drawer.name}
component={PropertiesScreen}
component={SearchScreen}
options={{
title: drawer.title,
drawerItemStyle: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import RentalTermFilter from '@/components/RentalTermFilter'
import PropertyTypeFilter from '@/components/PropertyTypeFilter'
import Indicator from '@/components/Indicator'

const PropertiesScreen = ({ navigation, route }: NativeStackScreenProps<StackParams, 'Properties'>) => {
const SearchScreen = ({ navigation, route }: NativeStackScreenProps<StackParams, 'Properties'>) => {
const isFocused = useIsFocused()
const [reload, setReload] = useState(false)
const [loaded, setLoaded] = useState(false)
Expand Down Expand Up @@ -97,4 +97,4 @@ const styles = StyleSheet.create({
},
})

export default PropertiesScreen
export default SearchScreen

0 comments on commit c09cb8e

Please sign in to comment.