|
@@ -8,8 +8,6 @@ import {
|
|
|
Text,
|
|
|
View,
|
|
|
} from 'react-native';
|
|
|
-import { StackScreenProps } from '@react-navigation/stack';
|
|
|
-import { MainParamList } from '@app/routes/MainParamList';
|
|
|
import { Apps, NavigationPushByName } from '@common/NavigationHelper.ts';
|
|
|
import { showMessage } from '@common/ToastHelper.ts';
|
|
|
import Alert from '@common/components/Alert.tsx';
|
|
@@ -19,9 +17,7 @@ import UpdateManager from '../../../../specs/NativeUpdateManager.ts';
|
|
|
import Spinner from '@common/components/Spinner.tsx';
|
|
|
import RNFS from 'react-native-fs';
|
|
|
|
|
|
-type Props = StackScreenProps<MainParamList, 'MainView'>;
|
|
|
-
|
|
|
-export default function WebViewScreen(props: Props) {
|
|
|
+export default function WebViewScreen() {
|
|
|
const [progress, setProgress] = useState('');
|
|
|
const [progressH, setProgressH] = useState('');
|
|
|
const [isLoading, setLoading] = useState(false);
|