Fixが起動している間は画面を消さないように変更
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { useCurrentTrain } from "@/stateBox/useCurrentTrain";
|
||||
import { View, Platform } from "react-native";
|
||||
import { useKeepAwake } from "expo-keep-awake";
|
||||
import Constants from "expo-constants";
|
||||
import { FixedTrain } from "./FixedPositionBox/FixedTrainBox";
|
||||
import { FixedStation } from "./FixedPositionBox/FixedStationBox";
|
||||
@@ -9,6 +10,7 @@ export const FixedPositionBox = () => {
|
||||
const { fixedPosition, setFixedPosition } = useCurrentTrain();
|
||||
const [displaySize, setDisplaySize] = useState(76);
|
||||
|
||||
useKeepAwake();
|
||||
return (
|
||||
<View
|
||||
style={{
|
||||
|
Reference in New Issue
Block a user