ordering-ui-react-native 0.18.82 → 0.18.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.18.82",
3
+ "version": "0.18.83",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -220,6 +220,16 @@ const MultiCheckoutUI = (props: any) => {
220
220
  }
221
221
  }, [cartUuid])
222
222
 
223
+ useEffect(() => {
224
+ if(paymethodSelected?.gateway === 'global_google_pay'){
225
+ setMethodPaySupported({
226
+ enabled: true,
227
+ loading: false,
228
+ message: null
229
+ })
230
+ }
231
+ }, [paymethodSelected])
232
+
223
233
  return (
224
234
  <>
225
235
  <Container noPadding>