Bug fixing

This commit is contained in:
John Lyon-Smith
2018-04-23 14:01:52 -07:00
parent 5cb13f7498
commit 9730c83c9c
26 changed files with 121 additions and 147 deletions

View File

@@ -1,7 +1,7 @@
import React, { Component } from "react"
import Modal from "react-native-modal"
import PropTypes from "prop-types"
import { View, ActivityIndicator } from "react-native"
import { View, Text, ActivityIndicator } from "react-native"
export class WaitModal extends Component {
static propTypes = {
@@ -18,10 +18,18 @@ export class WaitModal extends Component {
style={{
flexDirection: "column",
justifyContent: "center",
backgroundColor: "#FFFFFF",
backgroundColor: "transparent",
}}>
<ActivityIndicator size="large" color="#0000FF" />
<Text style={{ marginTop: 5, fontSize: 18 }}>{message}</Text>
<Text
style={{
marginTop: 15,
fontSize: 18,
alignSelf: "center",
color: "#FFFFFF",
}}>
{message}
</Text>
</View>
</Modal>
)