Changeset View
Changeset View
Standalone View
Standalone View
native/root.react.js
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
import { MessageSearchProvider } from './search/search-provider.react.js'; | import { MessageSearchProvider } from './search/search-provider.react.js'; | ||||
import Socket from './socket.react.js'; | import Socket from './socket.react.js'; | ||||
import { StaffContextProvider } from './staff/staff-context.provider.react.js'; | import { StaffContextProvider } from './staff/staff-context.provider.react.js'; | ||||
import { useLoadCommFonts } from './themes/fonts.js'; | import { useLoadCommFonts } from './themes/fonts.js'; | ||||
import { DarkTheme, LightTheme } from './themes/navigation.js'; | import { DarkTheme, LightTheme } from './themes/navigation.js'; | ||||
import ThemeHandler from './themes/theme-handler.react.js'; | import ThemeHandler from './themes/theme-handler.react.js'; | ||||
import { provider } from './utils/ethers-utils.js'; | import { provider } from './utils/ethers-utils.js'; | ||||
// Add custom items to expo-dev-menu | |||||
import './dev-menu.js'; | |||||
if (Platform.OS === 'android') { | if (Platform.OS === 'android') { | ||||
UIManager.setLayoutAnimationEnabledExperimental && | UIManager.setLayoutAnimationEnabledExperimental && | ||||
UIManager.setLayoutAnimationEnabledExperimental(true); | UIManager.setLayoutAnimationEnabledExperimental(true); | ||||
} | } | ||||
const navInitAction = Object.freeze({ type: 'NAV/@@INIT' }); | const navInitAction = Object.freeze({ type: 'NAV/@@INIT' }); | ||||
const navUnknownAction = Object.freeze({ type: 'NAV/@@UNKNOWN' }); | const navUnknownAction = Object.freeze({ type: 'NAV/@@UNKNOWN' }); | ||||
▲ Show 20 Lines • Show All 246 Lines • Show Last 20 Lines |