Skip to content

Commit

Permalink
chore: spaces changes
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak committed Nov 19, 2024
1 parent 39c4d65 commit c05cd40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/containers/TextInput/FormTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const styles = StyleSheet.create({
paddingHorizontal: 16,
paddingVertical: 10,
borderWidth: 1,
borderRadius: 2
borderRadius: 4
},
inputIconLeft: {
paddingLeft: 45
Expand Down
7 changes: 4 additions & 3 deletions app/views/ChangeAvatarView/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useLayoutEffect, useReducer, useRef, useState } from 'react';
import { ScrollView, View } from 'react-native';
import { ScrollView, TextInput, View } from 'react-native';
import { RouteProp, useNavigation, useRoute } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { shallowEqual } from 'react-redux';
Expand Down Expand Up @@ -64,6 +64,7 @@ function reducer(state: IState, action: IReducerAction) {

const ChangeAvatarView = () => {
const [state, dispatch] = useReducer(reducer, initialState);
const [url, setUrl] = useState('');
const [saving, setSaving] = useState(false);
const { colors } = useTheme();
const { userId, username, server } = useAppSelector(
Expand Down Expand Up @@ -212,9 +213,9 @@ const ChangeAvatarView = () => {
type='secondary'
disabled={saving}
backgroundColor={colors.buttonBackgroundSecondaryDefault}
onPress={() => pickImage(true)}
onPress={() => console.log()}
testID='change-avatar-view-take-a-photo'
style={{ marginTop: 36 }}
style={{ marginTop: 36, marginBottom: 0 }}
/>

<List.Separator style={styles.separator} />
Expand Down
2 changes: 1 addition & 1 deletion app/views/ChangeAvatarView/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default StyleSheet.create({
marginBottom: 16
},
separator: {
marginVertical: 16
marginVertical: 24
},
itemLabel: {
marginBottom: 12,
Expand Down

0 comments on commit c05cd40

Please sign in to comment.