@fto-consult/expo-ui 8.14.4 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "8.14.4",
3
+ "version": "8.14.5",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -33,13 +33,15 @@ 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";
40
40
  import useContext from "$econtext/hooks";
41
41
  import { StyleSheet } from "react-native";
42
+ import Logo from "$ecomponents/Logo";
42
43
  import AppEntryRootView from "./RootView";
44
+ import View from "$ecomponents/View";
43
45
  import { SafeAreaProvider } from 'react-native-safe-area-context';
44
46
 
45
47
  let MAX_BACK_COUNT = 1;
@@ -252,7 +254,9 @@ function App({init:initApp,initialRouteName:appInitialRouteName,children}) {
252
254
  containerProps.onStateChange(state,...rest);
253
255
  }
254
256
  }}
255
- fallback = {React.isValidElement(containerProps.fallback) ? containerProps.fallback : null}
257
+ fallback = {React.isValidElement(containerProps.fallback) ? containerProps.fallback : <View style={[mainTheme.styles.flex1,mainTheme.styles.justifyContentCenter,mainTheme.styles.alignItemsCenter]}>
258
+ <Logo.Progress/>
259
+ </View>}
256
260
  >
257
261
  <Navigation
258
262
  initialRouteName = {defaultStr(hasGetStarted ? appInitialRouteName : getStartedRouteName,"Home")}