暫定的に動作するように変更
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
Platform,
|
||||
useWindowDimensions,
|
||||
LayoutAnimation,
|
||||
Text,
|
||||
} from "react-native";
|
||||
import Constants from "expo-constants";
|
||||
import * as Updates from "expo-updates";
|
||||
@@ -30,7 +31,7 @@ var Status = StatusbarDetect(); */
|
||||
const top = Platform.OS == "ios" ? Constants.statusBarHeight : 0;
|
||||
|
||||
export default function Apps() {
|
||||
const { webview } = useCurrentTrain();
|
||||
const { webview, fixedPosition, setFixedPosition } = useCurrentTrain();
|
||||
const { height, width } = useWindowDimensions();
|
||||
const { navigate } = useNavigation();
|
||||
const { isLandscape } = useDeviceOrientationChange();
|
||||
@@ -125,6 +126,16 @@ export default function Apps() {
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{fixedPosition.type && (
|
||||
<Text
|
||||
onPress={() => {
|
||||
setFixedPosition({ type: null, value: null });
|
||||
}}
|
||||
>
|
||||
{fixedPosition.type}: {fixedPosition.value}
|
||||
</Text>
|
||||
)}
|
||||
|
||||
{mapSwitch == "true" ? (
|
||||
<ReloadButton
|
||||
onPress={() => Updates.reloadAsync()}
|
||||
|
Reference in New Issue
Block a user