Skip to content

Commit

Permalink
Merge branch 'development' of github.com:andrew-bierman/PackRat into …
Browse files Browse the repository at this point in the history
…development
  • Loading branch information
taronaleksanian committed Jan 6, 2025
2 parents 0df0527 + 098c6c1 commit c1ea72b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/app/modules/user/screens/SettingsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
import { Platform, View } from 'react-native';
import { useNavigate } from 'app/hooks/navigation';
import { SettingsForm } from 'app/components/settings';
import Layout from 'app/components/layout/Layout';

const weatherOptions = ['celsius', 'fahrenheit'].map((key) => ({
label: key,
Expand All @@ -46,21 +47,18 @@ export function SettingsScreen() {
const navigate = useNavigate();

return user ? (
<RScrollView style={{ backgroundColor: isDark ? '#1A1A1D' : 'white' }}>
<Layout customStyle={{ backgroundColor: isDark ? '#1A1A1D' : '#f6f6f6' }}>
<RStack
// gap={8}
width="fit-content"
maw="100%"
style={{
paddingTop: 10,
paddingBottom: 100,
paddingLeft: 20,
paddingRight: 20,
}}
marginHorizontal="auto"
marginVertical="auto"
>

{/* <RStack
style={{
display: 'flex',
Expand All @@ -87,7 +85,7 @@ export function SettingsScreen() {
/>
<RH2>Profile</RH2>
</RStack> */}
<SettingsForm/>
<SettingsForm />
{/* <Form
validationSchema={userSettingsSchema}
defaultValues={{ ...user, profileImage: user.profileImage || '' }}
Expand Down Expand Up @@ -218,6 +216,6 @@ export function SettingsScreen() {
</RStack>
</Form> */}
</RStack>
</RScrollView>
</Layout>
) : null;
}

0 comments on commit c1ea72b

Please sign in to comment.