ef45d4f4bb
Layout fix: WebView as a sibling in the root layout breaks flex geometry even with position:absolute. Moving it inside the Import tab screen (which Expo Router keeps mounted after first visit) eliminates the issue entirely and restores the original simple root layout. micropip fix: blob: URLs are not a recognised scheme in micropip — they are parsed as package requirement strings, producing InvalidRequirement. Write the wheel bytes to Pyodide's Emscripten FS (/tmp/bincio.whl) and install via emfs:/// instead.
14 lines
396 B
TypeScript
14 lines
396 B
TypeScript
import { Stack } from 'expo-router';
|
|
import { SQLiteProvider } from 'expo-sqlite';
|
|
import { StatusBar } from 'expo-status-bar';
|
|
import { migrateDb } from '@/db';
|
|
|
|
export default function RootLayout() {
|
|
return (
|
|
<SQLiteProvider databaseName="bincio.db" onInit={migrateDb}>
|
|
<StatusBar style="light" />
|
|
<Stack screenOptions={{ headerShown: false }} />
|
|
</SQLiteProvider>
|
|
);
|
|
}
|