diff --git a/src/screens/Login/ForgotPasswordForm.tsx b/src/screens/Login/ForgotPasswordForm.tsx
index d3b5a4f101..0a914bb759 100644
--- a/src/screens/Login/ForgotPasswordForm.tsx
+++ b/src/screens/Login/ForgotPasswordForm.tsx
@@ -1,5 +1,5 @@
import React, {useState} from 'react'
-import {ActivityIndicator, Keyboard, View} from 'react-native'
+import {Keyboard, View} from 'react-native'
import {type ComAtprotoServerDescribeServer} from '@atproto/api'
import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
@@ -8,13 +8,15 @@ import * as EmailValidator from 'email-validator'
import {isNetworkError} from '#/lib/strings/errors'
import {cleanError} from '#/lib/strings/errors'
import {logger} from '#/logger'
+import {isWeb} from '#/platform/detection'
import {Agent} from '#/state/session/agent'
-import {atoms as a, useTheme} from '#/alf'
-import {Button, ButtonText} from '#/components/Button'
+import {atoms as a, useTheme, web} from '#/alf'
+import {Button, ButtonIcon, ButtonText} from '#/components/Button'
import {FormError} from '#/components/forms/FormError'
import {HostingProvider} from '#/components/forms/HostingProvider'
import * as TextField from '#/components/forms/TextField'
import {At_Stroke2_Corner0_Rounded as At} from '#/components/icons/At'
+import {Loader} from '#/components/Loader'
import {Text} from '#/components/Typography'
import {FormContainer} from './FormContainer'
@@ -118,43 +120,51 @@ export const ForgotPasswordForm = ({
-
-
-
- {!serviceDescription || isProcessing ? (
-
+
+ {isWeb && (
+ <>
+
+
+ >
+ )}
+ {!serviceDescription ? (
+
) : (
)}
- {!serviceDescription || isProcessing ? (
-
- Processing...
-
- ) : undefined}
}) {
const {gtMobile} = useBreakpoints()
- const t = useTheme()
+ const gutter = useGutters([0, 'wide'])
+
return (
+ style={[a.gap_md, a.flex_1, !gtMobile && gutter, style]}>
{titleText && !gtMobile && (
-
- {titleText}
-
+ {titleText}
)}
{children}
diff --git a/src/screens/Login/PasswordUpdatedForm.tsx b/src/screens/Login/PasswordUpdatedForm.tsx
index 7418b6d53e..adb13a19ce 100644
--- a/src/screens/Login/PasswordUpdatedForm.tsx
+++ b/src/screens/Login/PasswordUpdatedForm.tsx
@@ -2,7 +2,7 @@ import {View} from 'react-native'
import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
-import {atoms as a, useBreakpoints} from '#/alf'
+import {atoms as a, useBreakpoints, web} from '#/alf'
import {Button, ButtonText} from '#/components/Button'
import {Text} from '#/components/Typography'
import {FormContainer} from './FormContainer'
@@ -19,13 +19,13 @@ export const PasswordUpdatedForm = ({
-
+
Password updated!
You can now sign in with your new password.
-
+
)
diff --git a/src/view/com/util/layouts/LoggedOutLayout.tsx b/src/view/com/util/layouts/LoggedOutLayout.tsx
index 2ec17799f9..58a28fc95f 100644
--- a/src/view/com/util/layouts/LoggedOutLayout.tsx
+++ b/src/view/com/util/layouts/LoggedOutLayout.tsx
@@ -42,11 +42,11 @@ export const LoggedOutLayout = ({
contentContainerStyle={[
{paddingBottom: isKeyboardVisible ? 300 : 0},
]}>
- {children}
+ {children}
)
} else {
- return {children}
+ return {children}
}
}
return (