文字フォントとワンマン対応改造

This commit is contained in:
harukin-expo-dev-env
2025-01-05 10:26:19 +00:00
parent e29b4f5da3
commit d9fb24840a
7 changed files with 162 additions and 29 deletions

View File

@@ -2,11 +2,17 @@ import React from "react";
import { View } from "react-native";
import { WebView } from "react-native-webview";
import { BigButton } from "./components/atom/BigButton";
import { useNavigation } from "@react-navigation/native";
export default ({ navigation: { navigate }, route }) => {
const { info, goTo, useShow } = route.params;
const { goBack } = useNavigation();
const onExit = () => {
navigate(goTo || "Apps");
useShow && useShow();
if(goTo != "NearTrainDiagramView") {
navigate(goTo || "Apps");
useShow && useShow();
} else {
goBack();
}
};
return (
<View style={styles}>