diff --git a/native/account/qr-code-screen.react.js b/native/account/qr-code-screen.react.js --- a/native/account/qr-code-screen.react.js +++ b/native/account/qr-code-screen.react.js @@ -9,6 +9,8 @@ import { platformToIdentityDeviceType } from 'lib/types/identity-service-types.js'; import { getConfig } from 'lib/utils/config.js'; +import RegistrationContainer from './registration/registration-container.react.js'; +import RegistrationContentContainer from './registration/registration-content-container.react.js'; import type { SignInNavigationProp } from './sign-in-navigator.react.js'; import type { NavigationRoute } from '../navigation/route-names.js'; import { useStyles } from '../themes/colors.js'; @@ -38,56 +40,61 @@ const styles = useStyles(unboundStyles); return ( - - Log in to Comm - - Open the Comm app on your logged-in phone and scan the QR code below - - - - - - How to find the scanner: - - Go to - Profile - - - Select - Linked devices - - - Click - Add - on the top right - - - + + + + Log in to Comm + + Open the Comm app on your logged-in phone and scan the QR code below + + + + + + + How to find the scanner: + + + Go to + Profile + + + Select + Linked devices + + + Click + Add + on the top right + + + + + ); } const unboundStyles = { container: { flex: 1, - alignItems: 'center', - marginTop: 125, + backgroundColor: 'panelBackground', }, heading: { fontSize: 24, color: 'panelForegroundLabel', - paddingBottom: 12, + paddingBottom: 16, }, headingSubtext: { - fontSize: 12, - color: 'panelForegroundLabel', - paddingBottom: 30, - textAlign: 'center', - width: 300, + fontFamily: 'Arial', + fontSize: 15, + lineHeight: 20, + color: 'panelForegroundSecondaryLabel', + paddingBottom: 32, }, instructionsBox: { + alignSelf: 'stretch', alignItems: 'center', - width: 300, - marginTop: 40, + marginTop: 32, padding: 15, borderColor: 'panelForegroundLabel', borderWidth: 2, @@ -109,6 +116,7 @@ qrCodeContainer: { padding: 5, backgroundColor: 'panelForegroundLabel', + alignSelf: 'center', }, };