Added spotify and moved away from hardcoded urls
Some checks failed
Build App / build (push) Has been cancelled

This commit is contained in:
2026-03-01 18:30:31 +01:00
parent d29a2a565d
commit 6f66342dea
15 changed files with 516 additions and 27 deletions

View File

@@ -9,6 +9,7 @@ import { IndexPage } from "./src/pages/index";
import { SettingsPage } from "./src/pages/settings";
import { TextPage } from "./src/pages/text";
import { Route, RouterProvider, useRouter } from "./src/router";
import { InstanceUrlProvider } from "./src/instanceUrl";
interface Tab {
label: string;
route: Route;
@@ -47,15 +48,17 @@ function Screen() {
export default function App() {
return (
<RouterProvider>
<View style={styles.container}>
<StatusBar style="light" />
<View style={{ flex: 1, marginTop: 12 }}>
<Screen />
<InstanceUrlProvider>
<RouterProvider>
<View style={styles.container}>
<StatusBar style="light" />
<View style={{ flex: 1, marginTop: 12 }}>
<Screen />
</View>
<BottomNav />
</View>
<BottomNav />
</View>
</RouterProvider>
</RouterProvider>
</InstanceUrlProvider>
);
}