mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 15:48:05 +00:00
fix: add back redirect for startup tab
This commit is contained in:
@@ -29,7 +29,7 @@ export default function menuLinks() {
|
||||
);
|
||||
const config = response?.data;
|
||||
|
||||
if (!config && !Object.hasOwn(config, "menuLinks")) {
|
||||
if (!config || !Object.hasOwn(config, "menuLinks")) {
|
||||
console.error("Menu links not found");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ export default function TabLayout() {
|
||||
activeIndicatorColor={"#392c3b"}
|
||||
scrollEdgeAppearance='default'
|
||||
>
|
||||
<NativeTabs.Screen redirect name='index' />
|
||||
<NativeTabs.Screen
|
||||
listeners={(_e) => ({
|
||||
tabPress: (_e) => {
|
||||
|
||||
5
app/(auth)/(tabs)/index.tsx
Normal file
5
app/(auth)/(tabs)/index.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
const Index = () => {
|
||||
return null;
|
||||
};
|
||||
|
||||
export default Index;
|
||||
Reference in New Issue
Block a user