Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

show logout button

ammarahm-ed6221ef596371
diff --git a/apps/mobile/src/components/LoginDialog/index.js b/apps/mobile/src/components/LoginDialog/index.js
index cc2319557..6618ef6b6 100644
--- a/apps/mobile/src/components/LoginDialog/index.js
+++ b/apps/mobile/src/components/LoginDialog/index.js
@@ -730,7 +730,7 @@ const LoginDialog = () => {
height={50}
/>
- {current.buttonAlt && MODES.sessionExpired !== mode && (
+ {current.buttonAlt ? (
<Button
title={current.buttonAlt}
onPress={current.buttonAltFunc}
@@ -742,7 +742,7 @@ const LoginDialog = () => {
}}
height={50}
/>
- )}
+ ) : null}
</View>
<View