Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions declarations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ declare module '*.svg' {
const content: React.FC<SvgProps>;
export default content;
}
declare module '*.png' {
const value: string;
export default value;
}
Binary file removed src/assets/termsofuse/term1.png
Binary file not shown.
Binary file removed src/assets/termsofuse/term2.png
Binary file not shown.
Binary file removed src/assets/termsofuse/term3.png
Binary file not shown.
Binary file removed src/assets/termsofuse/term4.png
Binary file not shown.
Binary file removed src/assets/termsofuse/term5.png
Binary file not shown.
Binary file removed src/assets/termsofuse/term6.png
Binary file not shown.
11 changes: 0 additions & 11 deletions src/navigation/MyPageNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ import { BlockScreen } from '~screens/MyPage/Block';
import { EditDogProfile } from '~screens/MyPage/EditDogProfile';
import { ProfileEditScreen } from '~screens/MyPage/ProfileEdit';
import { SettingScreen } from '~screens/MyPage/Setting';
import { TermsOfUseScreen } from '~screens/MyPage/TermsOfUse';

export type MyPageStackProps = {
Main: undefined;
Setting: undefined;
Block: undefined;
ProfileEdit: undefined;
DogProfileEdit: { dogId: number };
TermsOfUse: undefined;
};

const Stack = createNativeStackNavigator<MyPageStackProps>();
Expand Down Expand Up @@ -57,15 +55,6 @@ export const MyPageNavigator = () => {
contentStyle: { backgroundColor: theme.colors.gc_4 },
}}
/>
<Stack.Screen
name="TermsOfUse"
component={TermsOfUseScreen}
options={{
title: '이용약관',
header: () => <Header left={<Icon.Prev />} />,
contentStyle: { backgroundColor: theme.colors.gc_4 },
}}
/>
</Stack.Navigator>
);
};
11 changes: 4 additions & 7 deletions src/screens/MyPage/Setting/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ export const SettingScreen = ({ navigation }: Props) => {

return (
<S.SettingScreen>
{/* <ToggleBox>
<ToggleBox>
<ToggleBox.Item title="강번따 허용 여부" enabled={gangbunttaNotificationAllowed === 'TRUE' ? true : false} />
</ToggleBox> */}
</ToggleBox>

{/* <ToggleBox>
<ToggleBox>
<ToggleBox.Container>
<ToggleBox.Item
title="내 산책 알림"
Expand All @@ -74,7 +74,7 @@ export const SettingScreen = ({ navigation }: Props) => {
enabled={familyNotificationAllowed === 'TRUE' ? true : false}
/>
</ToggleBox.Container>
</ToggleBox> */}
</ToggleBox>

<S.NavigationToBlockScreen paddingHorizontal={20} paddingVertical={16.5}>
<S.TypoWrapper>
Expand All @@ -94,9 +94,6 @@ export const SettingScreen = ({ navigation }: Props) => {
<S.DeleteAccountButton onPress={handleDeleteAccount}>
<S.DeleteAccountTypo fontSize={15}>탈퇴하기</S.DeleteAccountTypo>
</S.DeleteAccountButton>
<S.TermsOfUseButton onPress={() => navigation.navigate('TermsOfUse')}>
<S.TermsOfUseTypo fontSize={15}>이용약관</S.TermsOfUseTypo>
</S.TermsOfUseButton>
</S.ButtonContainer>
</S.SettingScreen>
);
Expand Down
7 changes: 0 additions & 7 deletions src/screens/MyPage/Setting/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,11 @@ export const SettingScreen = styled.View`

export const DeleteAccountButton = styled(Pressable)``;

export const TermsOfUseButton = styled(Pressable)``;

export const DeleteAccountTypo = styled(TextBold)`
text-align: center;
color: #dcccc2;
`;

export const TermsOfUseTypo = styled(TextBold)`
text-align: center;
color: #dcccc2;
`;

export const ButtonContainer = styled.View`
width: 100%;
position: absolute;
Expand Down
33 changes: 0 additions & 33 deletions src/screens/MyPage/TermsOfUse/index.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions src/screens/MyPage/TermsOfUse/styles.ts

This file was deleted.

Loading