steemconnect safearea

This commit is contained in:
feruz 2020-02-03 12:02:37 +02:00
parent fbc3d3b6b2
commit 2fe1e7f8e7

View File

@ -1,5 +1,5 @@
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import { View, Alert } from 'react-native'; import { View, Alert, SafeAreaView } from 'react-native';
import { WebView } from 'react-native-webview'; import { WebView } from 'react-native-webview';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { injectIntl } from 'react-intl'; import { injectIntl } from 'react-intl';
@ -77,7 +77,7 @@ class SteemConnect extends PureComponent {
render() { render() {
return ( return (
<View style={{ flex: 1 }}> <SafeAreaView style={{ flex: 1 }}>
<WebView <WebView
source={{ source={{
uri: `${steemConnectOptions.base_url}oauth2/authorize?client_id=${ uri: `${steemConnectOptions.base_url}oauth2/authorize?client_id=${
@ -91,7 +91,7 @@ class SteemConnect extends PureComponent {
this.webview = ref; this.webview = ref;
}} }}
/> />
</View> </SafeAreaView>
); );
} }
} }