diff --git a/mobile/app/_layout.tsx b/mobile/app/_layout.tsx index 45b3f75..120bdd0 100644 --- a/mobile/app/_layout.tsx +++ b/mobile/app/_layout.tsx @@ -1,12 +1,13 @@ import { Stack } from 'expo-router'; import { SQLiteProvider } from 'expo-sqlite'; import { StatusBar } from 'expo-status-bar'; +import { StyleSheet, View } from 'react-native'; import { migrateDb } from '@/db'; import { PyodideWebView } from '@/extraction/PyodideWebView'; export default function RootLayout() { return ( - <> + {/* Hidden WebView: starts loading Pyodide immediately so the runtime is warm by the time the user opens the Import tab. */} @@ -14,6 +15,10 @@ export default function RootLayout() { - + ); } + +const styles = StyleSheet.create({ + root: { flex: 1 }, +});