Added spotify and moved away from hardcoded urls
Some checks failed
Build App / build (push) Has been cancelled
Some checks failed
Build App / build (push) Has been cancelled
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user