A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix app lock shows on session expired sheet
Ammar Ahmed0b813b3fa1b0
diff --git a/apps/mobile/app/components/auth/session-expired.js b/apps/mobile/app/components/auth/session-expired.jsindex b8ed963b8..9111c0c13 100644--- a/apps/mobile/app/components/auth/session-expired.js+++ b/apps/mobile/app/components/auth/session-expired.js@@ -62,7 +62,7 @@ function getObfuscatedEmail(email) {export const SessionExpired = () => {const { colors } = useThemeColors();- const [visible, setVisible] = useState(false);+ const [visible, setVisible] = useState(true);const [focused, setFocused] = useState(false);const { step, password, email, passwordInputRef, loading, login } = useLogin(() => {@@ -148,6 +148,9 @@ export const SessionExpired = () => {animated={false}centered={false}onShow={async () => {+ useUserStore.setState({+ disableAppLockRequests: true+ });await sleep(300);passwordInputRef.current?.focus();setFocused(true);