fix icon and statusbar bug
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import React, { Component } from 'react';
|
||||
import { StatusBar,View,Linking,Text} from 'react-native';
|
||||
import { StatusBar,View,Linking,Platform,Text} from 'react-native';
|
||||
import {WebView} from 'react-native-webview';
|
||||
import Constants from 'expo-constants';
|
||||
import { TouchableOpacity } from 'react-native-gesture-handler';
|
||||
export default function tndView () {
|
||||
return (
|
||||
<View style={{backgroundColor: '#309AC3', height:"100%",paddingTop: Constants.statusBarHeight,}}>
|
||||
<View style={{backgroundColor: '#309AC3', height:"100%",paddingTop: Platform.OS == "ios" ? Constants.statusBarHeight: 0,}}>
|
||||
<WebView
|
||||
useWebKit={true}
|
||||
source={{uri: 'https://www.jr-shikoku.co.jp/info/'}}
|
||||
|
Reference in New Issue
Block a user