@eohjsc/react-native-smart-city 0.2.76 → 0.2.77

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/utils/Utils.js +0 -12
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.2.76",
4
+ "version": "0.2.77",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -72,10 +72,6 @@ export const openMapDirection = (item) => () => {
72
72
 
73
73
  export const ToastBottomHelper = {
74
74
  success: (msg, line2) => {
75
- if (!Toast._ref) {
76
- return;
77
- }
78
-
79
75
  Toast.show({
80
76
  type: 'success',
81
77
  position: 'bottom',
@@ -85,10 +81,6 @@ export const ToastBottomHelper = {
85
81
  });
86
82
  },
87
83
  error: (msg, line2) => {
88
- if (!Toast._ref) {
89
- return;
90
- }
91
-
92
84
  Toast.show({
93
85
  type: 'error',
94
86
  position: 'bottom',
@@ -98,10 +90,6 @@ export const ToastBottomHelper = {
98
90
  });
99
91
  },
100
92
  info: (msg, line2) => {
101
- if (!Toast._ref) {
102
- return;
103
- }
104
-
105
93
  Toast.show({
106
94
  type: 'info',
107
95
  position: 'bottom',