Fix Apple Reject:

Add:
- app/(application)/(user)/forum/terms.tsx

Fix:
- app/(application)/(user)/_layout.tsx
- app/(application)/(user)/home.tsx
- screens/Home/tabsList.ts
- service/api-client/api-user.ts

### No Issue
This commit is contained in:
2025-12-08 16:34:33 +08:00
parent 624bd49f69
commit 0f5862ce70
5 changed files with 256 additions and 20 deletions

View File

@@ -1,12 +1,12 @@
import { ITabs } from "@/components/_Interface/types";
export const tabsHome: any = (profileId: string) => [
export const tabsHome: any = ({acceptedForumTermsAt, profileId}: {acceptedForumTermsAt: Date, profileId: string}) => [
{
id: "forum",
icon: "chatbubble-ellipses-outline",
activeIcon: "chatbubble-ellipses",
label: "Forum",
path: "/forum",
path: acceptedForumTermsAt ? "/forum" : "/forum/terms",
isActive: true,
disabled: false,
},