Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@master
with:
name: web-build
path: web-build/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@master
with:
name: web-build
path: web-build/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:


- name: 📱 Upload binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@master
with:
name: app-android
path: app-build.aab

- name: 📱 Upload binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@master
with:
name: app-android
path: app-build.apk
Expand Down
3 changes: 3 additions & 0 deletions src/screens/RecipeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {MainNavigationProps} from '../navigation/NavigationRoutes';
import {fetchSingleRecipe} from '../redux/features/recipesSlice';
import {useAppDispatch, useAppSelector} from '../redux/hooks';
import CentralStyles from '../styles/CentralStyles';
import { useKeepAwake } from 'expo-keep-awake';


type Props = NativeStackScreenProps<MainNavigationProps, 'RecipeScreen'>;
Expand All @@ -26,6 +27,8 @@ export const RecipeScreen = (props: Props) => {

const theme = useTheme();

useKeepAwake();


useEffect(() => {
// Load recipe if recipe id of screen has changed or screen is navigated to
Expand Down