@fto-consult/expo-ui 8.14.3 → 8.14.5
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 +1 -1
- package/src/AppEntry/index.js +5 -2
package/package.json
CHANGED
package/src/AppEntry/index.js
CHANGED
@@ -33,7 +33,7 @@ import notify, {notificationRef} from "$notify";
|
|
33
33
|
import DropdownAlert from '$ecomponents/Dialog/DropdownAlert';
|
34
34
|
import { PreferencesContext } from '../Preferences';
|
35
35
|
import ErrorBoundary from "$ecomponents/ErrorBoundary";
|
36
|
-
import {updateTheme,defaultTheme} from "$theme";
|
36
|
+
import mainTheme, {updateTheme,defaultTheme} from "$theme";
|
37
37
|
import StatusBar from "$ecomponents/StatusBar";
|
38
38
|
import {Provider as PaperProvider,Portal } from 'react-native-paper';
|
39
39
|
import FontIcon from "$ecomponents/Icon/Font";
|
@@ -41,6 +41,7 @@ import useContext from "$econtext/hooks";
|
|
41
41
|
import { StyleSheet } from "react-native";
|
42
42
|
import Logo from "$ecomponents/Logo";
|
43
43
|
import AppEntryRootView from "./RootView";
|
44
|
+
import View from "$ecomponents/View";
|
44
45
|
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
45
46
|
|
46
47
|
let MAX_BACK_COUNT = 1;
|
@@ -253,7 +254,9 @@ function App({init:initApp,initialRouteName:appInitialRouteName,children}) {
|
|
253
254
|
containerProps.onStateChange(state,...rest);
|
254
255
|
}
|
255
256
|
}}
|
256
|
-
fallback = {React.isValidElement(containerProps.fallback) ? containerProps.fallback : <
|
257
|
+
fallback = {React.isValidElement(containerProps.fallback) ? containerProps.fallback : <View style={[mainTheme.styles.flex1,mainTheme.styles.justifyContentCenter,mainTheme.styles.alignItemsCenter]}>
|
258
|
+
<Logo.Progress/>
|
259
|
+
</View>}
|
257
260
|
>
|
258
261
|
<Navigation
|
259
262
|
initialRouteName = {defaultStr(hasGetStarted ? appInitialRouteName : getStartedRouteName,"Home")}
|