整理
This commit is contained in:
parent
54170c0dfd
commit
a9b7f3901e
@ -9,27 +9,10 @@ import {
|
|||||||
Platform,
|
Platform,
|
||||||
} from "react-native";
|
} from "react-native";
|
||||||
import * as Updates from "expo-updates";
|
import * as Updates from "expo-updates";
|
||||||
import { SwitchArea } from "../atom/SwitchArea";
|
|
||||||
import { useWindowDimensions } from "react-native";
|
import { useWindowDimensions } from "react-native";
|
||||||
import { ListItem } from "native-base";
|
import { ListItem } from "native-base";
|
||||||
|
|
||||||
export const SettingTopPage = ({
|
export const SettingTopPage = ({ navigate, testNFC, updateAndReload }) => {
|
||||||
navigate,
|
|
||||||
iconSetting,
|
|
||||||
setIconSetting,
|
|
||||||
mapSwitch,
|
|
||||||
setMapSwitch,
|
|
||||||
stationMenu,
|
|
||||||
setStationMenu,
|
|
||||||
usePDFView,
|
|
||||||
setUsePDFView,
|
|
||||||
trainMenu,
|
|
||||||
setTrainMenu,
|
|
||||||
trainPosition,
|
|
||||||
setTrainPosition,
|
|
||||||
testNFC,
|
|
||||||
updateAndReload,
|
|
||||||
}) => {
|
|
||||||
const { width } = useWindowDimensions();
|
const { width } = useWindowDimensions();
|
||||||
return (
|
return (
|
||||||
<View style={{ height: "100%", backgroundColor: "#0099CC" }}>
|
<View style={{ height: "100%", backgroundColor: "#0099CC" }}>
|
||||||
|
Loading…
Reference in New Issue
Block a user