We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 147f08e commit 522ba03Copy full SHA for 522ba03
src/screens/SearchScreen/SearchScreen.tsx
@@ -13,6 +13,7 @@ import {
13
storageService,
14
} from '@app/services';
15
import Entypo from '@expo/vector-icons/build/Entypo';
16
+import * as ScreenOrientation from 'expo-screen-orientation';
17
import { useEffect, useRef, useState } from 'react';
18
import {
19
FlatList,
@@ -40,6 +41,8 @@ export function SearchScreen() {
40
41
[],
42
);
43
44
+ ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.PORTRAIT_UP);
45
+
46
useHeader({
47
title: 'Search',
48
});
0 commit comments