ordering-ui-react-native 0.19.0-test → 0.19.0-testing

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.19.0-test",
3
+ "version": "0.19.0-testing",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -118,6 +118,7 @@ const NewOrderNotificationUI = (props: any) => {
118
118
  }, [])
119
119
 
120
120
  useEffect(() => {
121
+ handlePlayNotificationSound()
121
122
  return () => handleCloseEvents()
122
123
  }, [])
123
124
 
@@ -126,7 +127,7 @@ const NewOrderNotificationUI = (props: any) => {
126
127
  <Modal
127
128
  animationType='slide'
128
129
  transparent={true}
129
- visible={!!currentEvent?.orderId}
130
+ visible={true ?? !!currentEvent?.orderId}
130
131
  >
131
132
  <NotificationContainer>
132
133
  <View style={styles.modalView}>