差分調整11
This commit is contained in:
parent
ccc6362e6a
commit
e9ae21b787
@ -1,20 +1,14 @@
|
|||||||
import React, { useEffect, useState } from "react";
|
import React from "react";
|
||||||
import {
|
import {
|
||||||
View,
|
View,
|
||||||
Platform,
|
Platform,
|
||||||
Text,
|
|
||||||
TouchableOpacity,
|
|
||||||
useWindowDimensions,
|
useWindowDimensions,
|
||||||
LayoutAnimation,
|
LayoutAnimation,
|
||||||
} from "react-native";
|
} from "react-native";
|
||||||
import Constants from "expo-constants";
|
import Constants from "expo-constants";
|
||||||
import { Ionicons } from "@expo/vector-icons";
|
|
||||||
import * as Updates from "expo-updates";
|
import * as Updates from "expo-updates";
|
||||||
|
|
||||||
import { AS, ASCore } from "../storageControl";
|
import { lineList } from "../lib/getStationList";
|
||||||
import { news } from "../config/newsUpdate";
|
|
||||||
import { getStationList, lineList } from "../lib/getStationList";
|
|
||||||
import { injectJavascriptData } from "../lib/webViewInjectjavascript";
|
|
||||||
import { useCurrentTrain } from "../stateBox/useCurrentTrain";
|
import { useCurrentTrain } from "../stateBox/useCurrentTrain";
|
||||||
import { useDeviceOrientationChange } from "../stateBox/useDeviceOrientationChange";
|
import { useDeviceOrientationChange } from "../stateBox/useDeviceOrientationChange";
|
||||||
import { SheetManager } from "react-native-actions-sheet";
|
import { SheetManager } from "react-native-actions-sheet";
|
||||||
@ -28,7 +22,6 @@ import { NewMenu } from "./Apps/NewMenu";
|
|||||||
import { MapsButton } from "./Apps/MapsButton";
|
import { MapsButton } from "./Apps/MapsButton";
|
||||||
import { ReloadButton } from "./Apps/ReloadButton";
|
import { ReloadButton } from "./Apps/ReloadButton";
|
||||||
import { LandscapeBackButton } from "./Apps/LandscapeBackButton";
|
import { LandscapeBackButton } from "./Apps/LandscapeBackButton";
|
||||||
import { useStationList } from "../stateBox/useStationList";
|
|
||||||
/*
|
/*
|
||||||
import StatusbarDetect from '../StatusbarDetect';
|
import StatusbarDetect from '../StatusbarDetect';
|
||||||
var Status = StatusbarDetect(); */
|
var Status = StatusbarDetect(); */
|
||||||
@ -143,7 +136,7 @@ export default function Apps() {
|
|||||||
right={isLandscape && trainInfo.trainNum ? (width / 100) * 40 : 0}
|
right={isLandscape && trainInfo.trainNum ? (width / 100) * 40 : 0}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<NewMenu/>
|
<NewMenu />
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user