Merge commit '8682b9b22f3aa79568d4a95333b2ca40496001a3' into develop
This commit is contained in:
commit
6df3960234
@ -180,7 +180,7 @@ export default function Setting(props) {
|
|||||||
</View>
|
</View>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
style={{ flexDirection: "row", padding: 10 }}
|
style={{ flexDirection: "row", padding: 10 }}
|
||||||
//onPress={testNFC}
|
onPress={testNFC}
|
||||||
>
|
>
|
||||||
<Text
|
<Text
|
||||||
style={{
|
style={{
|
||||||
|
@ -18,7 +18,7 @@ export const DeviceOrientationChangeProvider = ({ children }) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
data();
|
//data();
|
||||||
//ScreenOrientation.unlockAsync();
|
//ScreenOrientation.unlockAsync();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ export const DeviceOrientationChangeProvider = ({ children }) => {
|
|||||||
setIsLandscape(false);
|
setIsLandscape(false);
|
||||||
}
|
}
|
||||||
if (height / width < 1.5) {
|
if (height / width < 1.5) {
|
||||||
//setIsLandscape(true);
|
setIsLandscape(true);
|
||||||
}
|
}
|
||||||
}, [height, width]);
|
}, [height, width]);
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user