fix(mobile): ui over lapping
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 3m1s
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 3m1s
the ui elements would over lap and cause visual issues with the scanning and seeing the old labels closes #25
This commit is contained in:
3
lstMobile/src/app/(tabs)/logout.tsx
Normal file
3
lstMobile/src/app/(tabs)/logout.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function LogoutScreen() {
|
||||
return null;
|
||||
}
|
||||
@@ -5,12 +5,15 @@ import "../../global.css";
|
||||
import { useEffect } from "react";
|
||||
import Toast from "react-native-toast-message";
|
||||
import useDeviceLock from "../hooks/useDeviceCheck";
|
||||
import { connectSocket } from "../lib/socket.io";
|
||||
import { zebraScanner } from "../lib/ZebraScanner";
|
||||
|
||||
export default function RootLayout() {
|
||||
useDeviceLock();
|
||||
|
||||
useEffect(() => {
|
||||
zebraScanner.ensureProfile();
|
||||
connectSocket();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user