Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Commit

Permalink
Increase profile image size (#92)
Browse files Browse the repository at this point in the history
* Increase profile image size
* Update snapshot
  • Loading branch information
hyochan authored Jan 14, 2020
1 parent 55442fc commit 1c1e681
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/components/screen/ProfileUpdate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import styled from 'styled-components/native';
import { useActionSheet } from '@expo/react-native-action-sheet';
import { useThemeContext } from '@dooboo-ui/native-theme';

// import { CommonActions } from '@react-navigation/core';

const BUTTON_INDEX_LAUNCH_CAMERA = 0;
const BUTTON_INDEX_LAUNCH_IMAGE_LIBLARY = 1;
const BUTTON_INDEX_CANCEL = 2;
Expand Down Expand Up @@ -149,7 +147,7 @@ function Screen(props: Props): React.ReactElement {
onPress={onPressImg}
>
{!profilePath ? (
<SvgNoProfile width={60} height={60} fill={theme.fontColor} />
<SvgNoProfile width={80} height={80} fill={theme.fontColor} />
) : (
<ProfileImage
testID="profile-image"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ exports[`rendering test renders as expected 1`] = `
>
<SvgMock
fill="#151A25"
height={60}
width={60}
height={80}
width={80}
/>
</TouchableOpacity>
<View
Expand Down

0 comments on commit 1c1e681

Please sign in to comment.