mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 21:01:31 +03:00
steemconnect safearea
This commit is contained in:
parent
fbc3d3b6b2
commit
2fe1e7f8e7
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user