Skip to content

Commit

Permalink
Add loading text
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexei Vinokur committed Jun 21, 2022
1 parent 7ca4e89 commit 1307cc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/cloudipsp-webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ export class CloudipspWebView extends React.Component {

render() {
if (this.state.baseUrl === undefined) {
return (<View/>);
return (
<View style={{ flex: 1 }}>
<Text>Loading...</Text>
</View>);
} else {
return (
<WebView
Expand Down

0 comments on commit 1307cc2

Please sign in to comment.