diff --git a/packages/app-desktop/gui/JoplinCloudLoginScreen.tsx b/packages/app-desktop/gui/JoplinCloudLoginScreen.tsx index 752fc8b39d..0f4d6c21fc 100644 --- a/packages/app-desktop/gui/JoplinCloudLoginScreen.tsx +++ b/packages/app-desktop/gui/JoplinCloudLoginScreen.tsx @@ -1,4 +1,4 @@ -import { useEffect, useMemo, useReducer, useState } from 'react'; +import { Fragment, useEffect, useMemo, useReducer, useState } from 'react'; import ButtonBar from './ConfigScreen/ButtonBar'; import { _ } from '@joplin/lib/locale'; import { clipboard } from 'electron'; @@ -77,22 +77,26 @@ const JoplinCloudScreenComponent = (props: Props) => { return (
-

{_('To allow Joplin to synchronise with Joplin Cloud, please login using this URL:')}

-
-
+
+ + ) : null}

{state.message()} {state.active === 'ERROR' ? ( {state.errorMessage} diff --git a/packages/app-mobile/components/screens/JoplinCloudLoginScreen.tsx b/packages/app-mobile/components/screens/JoplinCloudLoginScreen.tsx index f38bdf42ef..1521b1cc65 100644 --- a/packages/app-mobile/components/screens/JoplinCloudLoginScreen.tsx +++ b/packages/app-mobile/components/screens/JoplinCloudLoginScreen.tsx @@ -145,28 +145,32 @@ const JoplinCloudScreenComponent = (props: Props) => { - - {_('To allow Joplin to synchronise with Joplin Cloud, please login using this URL:')} - - - - - - Or - - - + { state.active !== 'COMPLETED' ? + + + {_('To allow Joplin to synchronise with Joplin Cloud, please login using this URL:')} + + + + + + {_('Or')} + + + + : null + } {state.message()} {state.active === 'ERROR' ? ( {state.errorMessage}