Commit bd26e543 authored by Trisno's avatar Trisno

matiin tombol telpon driver saat orderan selesai

parent bcfc5399
...@@ -6844,6 +6844,15 @@ ...@@ -6844,6 +6844,15 @@
"htmlparser2": "^4.0.0" "htmlparser2": "^4.0.0"
} }
}, },
"react-native-root-siblings": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/react-native-root-siblings/-/react-native-root-siblings-3.2.3.tgz",
"integrity": "sha512-wOCCtKJteaSIW3K++hzhkfdWRikTqjrG34DnhNDVSzKatuNQyFY1fPBD1YFT/3+kxOIUmNsJdiaPMao9QgoZMA==",
"requires": {
"prop-types": "^15.6.2",
"static-container": "^1.0.0"
}
},
"react-native-safe-area-context": { "react-native-safe-area-context": {
"version": "0.6.0", "version": "0.6.0",
"resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-0.6.0.tgz", "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-0.6.0.tgz",
...@@ -6923,6 +6932,28 @@ ...@@ -6923,6 +6932,28 @@
"prop-types": "^15.5.10" "prop-types": "^15.5.10"
} }
}, },
"react-native-tiny-toast": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/react-native-tiny-toast/-/react-native-tiny-toast-1.0.7.tgz",
"integrity": "sha512-nxXGE5L1N/JJCbqrICIRy5KRPISqqum7KeB8z/FDi2VYrE+6V9dfY3Cx1ovo+XPNFQiJDrZt+itIzt9xpMAoUA==",
"requires": {
"prop-types": "^15.7.2",
"react-native-iphone-x-helper": "1.2.1",
"react-native-root-siblings": "3.2.3"
},
"dependencies": {
"prop-types": {
"version": "15.7.2",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
"integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
"requires": {
"loose-envify": "^1.4.0",
"object-assign": "^4.1.1",
"react-is": "^16.8.1"
}
}
}
},
"react-native-vector-icons": { "react-native-vector-icons": {
"version": "6.6.0", "version": "6.6.0",
"resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-6.6.0.tgz", "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-6.6.0.tgz",
...@@ -7922,6 +7953,11 @@ ...@@ -7922,6 +7953,11 @@
"type-fest": "^0.7.1" "type-fest": "^0.7.1"
} }
}, },
"static-container": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/static-container/-/static-container-1.5.1.tgz",
"integrity": "sha512-OFChfLKIvSzaMA3otS5CEabJTIzHFPhMxogIT+io4F207PXTvS6woFyjXIyXyqMIYAhryePGeFZYC6uLcG1lpA=="
},
"static-extend": { "static-extend": {
"version": "0.1.2", "version": "0.1.2",
"resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
......
...@@ -327,6 +327,9 @@ class OrderDetail extends React.Component { ...@@ -327,6 +327,9 @@ class OrderDetail extends React.Component {
{ {
this.state.detail_trans.grab_driver_name == '' ? ( this.state.detail_trans.grab_driver_name == '' ? (
null null
) : (
this.state.trans_status == 4 || this.state.trans_status == -1 ? (
null
) : ( ) : (
<View style={{ flex: 0.3, justifyContent: 'space-between', alignItems: 'center', flexDirection: 'row' }}> <View style={{ flex: 0.3, justifyContent: 'space-between', alignItems: 'center', flexDirection: 'row' }}>
<View style={{ paddingLeft: 30 }}> <View style={{ paddingLeft: 30 }}>
...@@ -351,6 +354,7 @@ class OrderDetail extends React.Component { ...@@ -351,6 +354,7 @@ class OrderDetail extends React.Component {
</View> </View>
</View> </View>
) )
)
} }
</View> </View>
</View> </View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment