From 5665dc88ba0fd0d44056810f7d5b6595814120d7 Mon Sep 17 00:00:00 2001 From: bagasbanuna Date: Thu, 22 Jan 2026 17:54:33 +0800 Subject: [PATCH] Notification investasi done ### No Isssue --- .../(user)/investment/[id]/(news)/add-news.tsx | 6 +++++- app/(application)/(user)/investment/[id]/edit.tsx | 10 ++++------ app/(application)/(user)/investment/create.tsx | 3 ++- app/(application)/(user)/profile/_layout.tsx | 2 +- hipmi-note.md | 2 +- screens/Profile/ListPage.tsx | 2 +- 6 files changed, 14 insertions(+), 11 deletions(-) diff --git a/app/(application)/(user)/investment/[id]/(news)/add-news.tsx b/app/(application)/(user)/investment/[id]/(news)/add-news.tsx index a8ed1d9..e3aed31 100644 --- a/app/(application)/(user)/investment/[id]/(news)/add-news.tsx +++ b/app/(application)/(user)/investment/[id]/(news)/add-news.tsx @@ -115,7 +115,11 @@ export default function InvestmentAddNews() { onChangeText={(value) => setData({ ...data, deskripsi: value })} /> - + Simpan diff --git a/app/(application)/(user)/investment/[id]/edit.tsx b/app/(application)/(user)/investment/[id]/edit.tsx index 3475d27..c199030 100644 --- a/app/(application)/(user)/investment/[id]/edit.tsx +++ b/app/(application)/(user)/investment/[id]/edit.tsx @@ -18,10 +18,7 @@ import { apiInvestmentUpdateData, } from "@/service/api-client/api-investment"; import { apiMasterInvestment } from "@/service/api-client/api-master"; -import { - deleteFileService, - uploadFileService, -} from "@/service/upload-service"; +import { deleteFileService, uploadFileService } from "@/service/upload-service"; import { formatCurrencyDisplay } from "@/utils/formatCurrencyDisplay"; import pickFile from "@/utils/pickFile"; import { router, useFocusEffect, useLocalSearchParams } from "expo-router"; @@ -70,7 +67,7 @@ export default function InvestmentEdit() { useCallback(() => { onLoadMaster(); onLoadData(); - }, [id]) + }, [id]), ); const onLoadMaster = async () => { @@ -178,7 +175,7 @@ export default function InvestmentEdit() { const responseUpdate = await apiInvestmentUpdateData({ id: id as string, data: newData, - category: "data" + category: "data", }); if (responseUpdate.success) { @@ -256,6 +253,7 @@ export default function InvestmentEdit() { /> { onLoadMaster(); - }, []) + }, []), ); const onLoadMaster = async () => { @@ -264,6 +264,7 @@ export default function InvestmentCreate() { }} + options={{ title: "Daftar Blokir", headerLeft: () => }} /> install android/app/build/outputs/apk/debug/app-debug.apk diff --git a/screens/Profile/ListPage.tsx b/screens/Profile/ListPage.tsx index 2a0eb0a..dbe3139 100644 --- a/screens/Profile/ListPage.tsx +++ b/screens/Profile/ListPage.tsx @@ -70,7 +70,7 @@ export const drawerItemsProfile = ({ color={AccentColor.white} /> ), - label: "Blocked List", + label: "Daftar Blokir", path: `/(application)/profile/${id}/blocked-list`, value: "blocked-list", },