fix icon and statusbar bug

This commit is contained in:
harukin-DeskMini
2022-06-29 21:43:00 +09:00
parent 71eed8cafd
commit db29f4c15d
4 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
import React, { useEffect, useRef, useState } from 'react';
import {View, Platform, ToastAndroid} from 'react-native';
import {View, Platform,ToastAndroid} from 'react-native';
import {WebView} from 'react-native-webview';
import Constants from 'expo-constants';
import AsyncStorage from '@react-native-async-storage/async-storage';
@@ -716,7 +716,7 @@ const injectJavascriptData = bootData+trainIconMaker+textInsert;
},[])
return (
<View style={{height:"100%",paddingTop: Constants.statusBarHeight,}}>
<View style={{height:"100%",paddingTop: Platform.OS == "ios" ? Constants.statusBarHeight: 0,}}>
{/* {Status} */}
<WebView
useWebKit={true}