diff --git a/native/account/logged-out-modal.react.js b/native/account/logged-out-modal.react.js --- a/native/account/logged-out-modal.react.js +++ b/native/account/logged-out-modal.react.js @@ -504,12 +504,12 @@ [styles.buttonContainer, buttonsViewOpacity], ); const buttons = React.useMemo(() => { - if (mode.curMode !== 'prompt') { + if (mode.curMode !== 'prompt' && mode.curMode !== 'restore') { return null; } const signInButtons = []; - if (!usingRestoreFlow) { + if (!usingRestoreFlow || mode.curMode === 'restore') { signInButtons.push( , ); } - if (__DEV__ || usingRestoreFlow) { + if ((__DEV__ || usingRestoreFlow) && mode.curMode === 'prompt') { signInButtons.push( - - {siweSection} - {restoreButton} - {signInButtons} + let registerButtons = null; + if (mode.curMode === 'prompt') { + registerButtons = ( Register + ); + } + + let loggedOutStaffInfo = null; + if (mode.curMode === 'prompt') { + loggedOutStaffInfo = ; + } + + return ( + + {loggedOutStaffInfo} + {siweSection} + {restoreButton} + {signInButtons} + {registerButtons} ); }, [