Bug fixing
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user