文字フォントとワンマン対応改造
This commit is contained in:
10
howto.js
10
howto.js
@@ -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}>
|
||||
|
Reference in New Issue
Block a user