-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into rf-refineAppDesign
- Loading branch information
Showing
11 changed files
with
13,787 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
import { | ||
SafeAreaView, | ||
ScrollView, | ||
StyleSheet, | ||
View, | ||
Pressable, | ||
} from 'react-native'; | ||
import AcctRecipeBar from '../components/AcctRecipeBar'; | ||
import Nav from '../components/Nav'; | ||
import { useNavigation } from '@react-navigation/native'; | ||
|
||
export const AcctSavedRecipesScreen = () => { | ||
const navigation = useNavigation(); | ||
return ( | ||
<SafeAreaView style={styles.container}> | ||
<View style={{ flex: 1 }}> | ||
<ScrollView contentContainerStyle={styles.scrollContainer}> | ||
<View style={styles.homeContainer}> | ||
<Pressable | ||
onPress={() => navigation.navigate('Recipe', { id: item.id })} | ||
> | ||
<AcctRecipeBar /> | ||
</Pressable> | ||
</View> | ||
</ScrollView> | ||
</View> | ||
<Nav /> | ||
</SafeAreaView> | ||
); | ||
}; | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
}, | ||
scrollContainer: { | ||
flexGrow: 1, | ||
}, | ||
homeContainer: { | ||
backgroundColor: '#f2f2f2', | ||
}, | ||
}); | ||
|
||
export default AcctSavedRecipesScreen; | ||
SafeAreaView, | ||
ScrollView, | ||
StyleSheet, | ||
View, | ||
Pressable, | ||
} from 'react-native'; | ||
import AcctRecipeBar from '../components/AcctRecipeBar'; | ||
import Nav from '../components/Nav'; | ||
import { useNavigation } from '@react-navigation/native'; | ||
export const AcctSavedRecipesScreen = () => { | ||
const navigation = useNavigation(); | ||
return ( | ||
<SafeAreaView style={styles.container}> | ||
<View style={{ flex: 1 }}> | ||
<ScrollView contentContainerStyle={styles.scrollContainer}> | ||
<View style={styles.homeContainer}> | ||
<Pressable | ||
onPress={() => navigation.navigate('Recipe', { id: item.id })} | ||
> | ||
<AcctRecipeBar /> | ||
</Pressable> | ||
</View> | ||
</ScrollView> | ||
</View> | ||
<Nav /> | ||
</SafeAreaView> | ||
); | ||
}; | ||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
}, | ||
scrollContainer: { | ||
flexGrow: 1, | ||
}, | ||
homeContainer: { | ||
backgroundColor: '#f2f2f2', | ||
}, | ||
}); | ||
export default AcctSavedRecipesScreen; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters