mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 06:52:41 +01:00
REF: lapp browser
This commit is contained in:
parent
a1b268c1a9
commit
260b3bf3ba
1 changed files with 7 additions and 8 deletions
|
@ -224,13 +224,7 @@ export default class Browser extends Component {
|
|||
]);
|
||||
}
|
||||
}}
|
||||
onLoadStart={e => {
|
||||
this.setState({ pageIsLoading: true });
|
||||
}}
|
||||
onLoadEnd={e => {
|
||||
this.setState({ url: e.nativeEvent.url, pageIsLoading: false });
|
||||
|
||||
this.webview.injectJavaScript(`
|
||||
injectedJavaScript={`
|
||||
|
||||
// this is a storage of responses from OUTER code (react native)
|
||||
// it gets written by message bus handler callback:
|
||||
|
@ -363,7 +357,12 @@ document.addEventListener("message", function(event) {
|
|||
}
|
||||
|
||||
}, 1000);
|
||||
`);
|
||||
`}
|
||||
onLoadStart={e => {
|
||||
this.setState({ pageIsLoading: true });
|
||||
}}
|
||||
onLoadEnd={e => {
|
||||
this.setState({ url: e.nativeEvent.url, pageIsLoading: false });
|
||||
}}
|
||||
/>
|
||||
</SafeBlueArea>
|
||||
|
|
Loading…
Add table
Reference in a new issue