esoftplay 0.0.123-u → 0.0.123-v
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/bin/build.js +9 -3
- package/modules/user/index.tsx +0 -2
- package/package.json +1 -1
package/bin/build.js
CHANGED
|
@@ -252,13 +252,14 @@ import { LibNotification } from 'esoftplay/cache/lib/notification/import';
|
|
|
252
252
|
import { UserIndex } from 'esoftplay/cache/user/index/import';
|
|
253
253
|
import * as ErrorReport from 'esoftplay/error';
|
|
254
254
|
import { globalIdx } from 'esoftplay/global';
|
|
255
|
+
import Worker from 'esoftplay/libs/worker';
|
|
255
256
|
import * as Notifications from 'expo-notifications';
|
|
256
257
|
import React, { useEffect } from 'react';
|
|
257
258
|
import { /* enableFreeze, */ enableScreens } from 'react-native-screens';
|
|
258
|
-
|
|
259
|
+
|
|
259
260
|
/* enableFreeze() */
|
|
260
261
|
enableScreens()
|
|
261
|
-
|
|
262
|
+
|
|
262
263
|
Notifications.addNotificationResponseReceivedListener(x => LibNotification.onAction(x));
|
|
263
264
|
Notifications.addNotificationReceivedListener(x => LibNotification.onAction(x));
|
|
264
265
|
|
|
@@ -268,7 +269,12 @@ export default function App() {
|
|
|
268
269
|
ErrorReport.getError()
|
|
269
270
|
}, [])
|
|
270
271
|
|
|
271
|
-
return (
|
|
272
|
+
return (
|
|
273
|
+
<>
|
|
274
|
+
<Worker.View />
|
|
275
|
+
<UserIndex />
|
|
276
|
+
</>
|
|
277
|
+
)
|
|
272
278
|
}`;
|
|
273
279
|
let expoLib = [
|
|
274
280
|
'@expo/vector-icons',
|
package/modules/user/index.tsx
CHANGED
|
@@ -18,7 +18,6 @@ import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
|
18
18
|
import { UserLoading } from 'esoftplay/cache/user/loading/import';
|
|
19
19
|
import { UserRoutes } from 'esoftplay/cache/user/routes/import';
|
|
20
20
|
import useGlobalState from 'esoftplay/global';
|
|
21
|
-
import Worker from 'esoftplay/libs/worker';
|
|
22
21
|
import _global from 'esoftplay/_global';
|
|
23
22
|
import * as Font from "expo-font";
|
|
24
23
|
import React, { useEffect, useLayoutEffect } from 'react';
|
|
@@ -130,7 +129,6 @@ export default function m(props: UserIndexProps): any {
|
|
|
130
129
|
return (
|
|
131
130
|
<GestureHandlerRootView style={{ flex: 1 }}>
|
|
132
131
|
<View style={{ flex: 1 }}>
|
|
133
|
-
<Worker.View />
|
|
134
132
|
{
|
|
135
133
|
loading ?
|
|
136
134
|
<UserLoading />
|