diff --git a/app/(application)/(user)/profile/[id]/blocked-list.tsx b/app/(application)/(user)/profile/[id]/blocked-list.tsx
index b1c0658..a853787 100644
--- a/app/(application)/(user)/profile/[id]/blocked-list.tsx
+++ b/app/(application)/(user)/profile/[id]/blocked-list.tsx
@@ -9,7 +9,7 @@ import {
import ListEmptyComponent from "@/components/_ShareComponent/ListEmptyComponent";
import ListLoaderFooterComponent from "@/components/_ShareComponent/ListLoaderFooterComponent";
import ListSkeletonComponent from "@/components/_ShareComponent/ListSkeletonComponent";
-import NewWrapper from "@/components/_ShareComponent/NewWrapper";
+import { NewWrapper_V2 } from "@/components";
import { MainColor } from "@/constants/color-palet";
import { useAuth } from "@/hooks/use-auth";
import { usePaginatedApi } from "@/hooks/use-paginated-api";
@@ -120,7 +120,7 @@ export default function ProfileBlockedList() {
return (
<>
-
-
-
+
>
);
}
diff --git a/app/(application)/(user)/profile/[id]/edit.tsx b/app/(application)/(user)/profile/[id]/edit.tsx
index 9526117..fb9419b 100644
--- a/app/(application)/(user)/profile/[id]/edit.tsx
+++ b/app/(application)/(user)/profile/[id]/edit.tsx
@@ -1,15 +1,16 @@
import {
ButtonCustom,
+ NewWrapper_V2,
SelectCustom,
StackCustom,
TextInputCustom,
- ViewWrapper,
} from "@/components";
import BoxButtonOnFooter from "@/components/Box/BoxButtonOnFooter";
import { apiProfile, apiUpdateProfile } from "@/service/api-client/api-profile";
import { IProfile } from "@/types/Type-Profile";
import { router, useLocalSearchParams } from "expo-router";
import { useEffect, useState } from "react";
+import { View } from "react-native";
import Toast from "react-native-toast-message";
export default function ProfileEdit() {
@@ -70,7 +71,9 @@ export default function ProfileEdit() {
};
return (
-
@@ -80,45 +83,53 @@ export default function ProfileEdit() {
}
>
- {
- setData({ ...data, name: text });
- }}
- required
- />
- {
- setData({ ...data, email: text });
- }}
- required
- />
- {
- setData({ ...data, alamat: text });
- }}
- required
- />
- {
- setData({ ...(data as any), jenisKelamin: value });
- }}
- />
+ true}>
+ {
+ setData({ ...data, name: text });
+ }}
+ required
+ />
+
+ true}>
+ {
+ setData({ ...data, email: text });
+ }}
+ required
+ />
+
+ true}>
+ {
+ setData({ ...data, alamat: text });
+ }}
+ required
+ />
+
+ true}>
+ {
+ setData({ ...(data as any), jenisKelamin: value });
+ }}
+ />
+
-
+
);
}
diff --git a/app/(application)/(user)/profile/[id]/index.tsx b/app/(application)/(user)/profile/[id]/index.tsx
index c552806..f0b4988 100644
--- a/app/(application)/(user)/profile/[id]/index.tsx
+++ b/app/(application)/(user)/profile/[id]/index.tsx
@@ -1,5 +1,5 @@
/* eslint-disable react-hooks/exhaustive-deps */
-import { NewWrapper, StackCustom } from "@/components";
+import { NewWrapper_V2, StackCustom } from "@/components";
import AppHeader from "@/components/_ShareComponent/AppHeader";
import CustomSkeleton from "@/components/_ShareComponent/SkeletonCustom";
import LeftButtonCustom from "@/components/Button/BackButton";
@@ -119,7 +119,7 @@ export default function Profile() {
}}
/>
{/* Main View */}
-
>
)}
-
+
{/* Drawer Komponen Eksternal */}
+
@@ -144,6 +147,6 @@ export default function UpdateBackgroundProfile() {
>
Update
-
+
);
}
diff --git a/app/(application)/(user)/profile/[id]/update-photo.tsx b/app/(application)/(user)/profile/[id]/update-photo.tsx
index e753875..a372d98 100644
--- a/app/(application)/(user)/profile/[id]/update-photo.tsx
+++ b/app/(application)/(user)/profile/[id]/update-photo.tsx
@@ -3,8 +3,8 @@ import {
BoxButtonOnFooter,
ButtonCenteredOnly,
ButtonCustom,
+ NewWrapper_V2,
} from "@/components";
-import ViewWrapper from "@/components/_ShareComponent/ViewWrapper";
import API_STRORAGE from "@/constants/base-url-api-strorage";
import DIRECTORY_ID from "@/constants/directory-id";
import DUMMY_IMAGE from "@/constants/dummy-image-value";
@@ -125,7 +125,10 @@ export default function UpdatePhotoProfile() {
);
return (
-
+
@@ -143,6 +146,6 @@ export default function UpdatePhotoProfile() {
>
Upload
-
+
);
}
diff --git a/app/(application)/(user)/profile/create.tsx b/app/(application)/(user)/profile/create.tsx
index 9bdb9b8..86590bd 100644
--- a/app/(application)/(user)/profile/create.tsx
+++ b/app/(application)/(user)/profile/create.tsx
@@ -2,11 +2,11 @@ import {
BaseBox,
ButtonCenteredOnly,
ButtonCustom,
+ NewWrapper_V2,
SelectCustom,
Spacing,
StackCustom,
TextInputCustom,
- ViewWrapper,
} from "@/components";
import BoxButtonOnFooter from "@/components/Box/BoxButtonOnFooter";
import InformationBox from "@/components/Box/InformationBox";
@@ -155,7 +155,11 @@ export default function CreateProfile() {
);
return (
-
+
@@ -204,43 +208,51 @@ export default function CreateProfile() {
- setData({ ...data, name: text })}
- />
- setData({ ...data, email: text })}
- />
- setData({ ...data, alamat: text })}
- />
-
- setData({ ...(data as any), jenisKelamin: value })
- }
- />
+ true}>
+ setData({ ...data, name: text })}
+ />
+
+ true}>
+ setData({ ...data, email: text })}
+ />
+
+ true}>
+ setData({ ...data, alamat: text })}
+ />
+
+ true}>
+
+ setData({ ...(data as any), jenisKelamin: value })
+ }
+ />
+
-
+
);
}