refactor(mobile): valildation of server after each scan
Some checks failed
Build and Push LST Docker Image / docker (push) Failing after 3m40s

This commit is contained in:
2026-05-06 12:10:14 -05:00
parent 12412536d1
commit 4ca74de279
2 changed files with 68 additions and 34 deletions

View File

@@ -19,7 +19,11 @@ export default function useDeviceLock() {
nextAppState === "background" || nextAppState === "inactive";
if (wasActive && isNowInactive) {
useMobileAuthStore.getState().lock();
const auth = useMobileAuthStore.getState();
if (auth.shouldLockForIdle()) {
auth.lock();
}
}
appStateRef.current = nextAppState;