feat(scanner): more work on the scanner and can now scan to prod no lst right now
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 2m41s

This commit is contained in:
2026-04-25 18:13:07 -05:00
parent 83a542d1b7
commit 77b4533dea
17 changed files with 615 additions and 43 deletions

View File

@@ -0,0 +1,19 @@
import { Tabs } from "expo-router";
import { useAppStore } from "../../hooks/useAppStore";
export default function TabsLayout() {
const serverPort = useAppStore((s) => s.serverPort);
return (
<Tabs
screenOptions={{
headerShown: false, // Hides the header for all screens in this navigator
}}>
<Tabs.Screen name="scanner" options={{ title: "Scan" }} />
<Tabs.Screen name="config" options={{ title: "settings" }} />
<Tabs.Screen name="logs" options={{ title: "Logs",
href: parseInt(serverPort || "0", 10) >= 50000 ? null : "/(tabs)/logs",
}}
/>
</Tabs>
);
}