feat: 深色模式完善 + UP主主页 + 缓存管理

- 深色模式:补全 settings 页选项按钮、退出登录按钮主题色
- UP主主页:新增 /creator/[mid] 路由,展示 UP 主信息、粉丝数、视频列表
  - bilibili.ts 新增 getUploaderInfo / getUploaderVideos API
  - 视频详情页 UP 主行可点击跳转主页
- 缓存管理:settings 页新增「存储」分区,显示缓存大小并支持一键清除
  - 新增 utils/cache.ts(计算大小 + 清除 expo-image/文件系统缓存)
This commit is contained in:
Developer
2026-03-26 00:06:41 +08:00
parent 8a45211fd6
commit 8f733b6c34
7 changed files with 502 additions and 27 deletions

View File

@@ -85,6 +85,14 @@ function RootLayout() {
gestureDirection: "horizontal",
}}
/>
<Stack.Screen
name="creator"
options={{
animation: "slide_from_right",
gestureEnabled: true,
gestureDirection: "horizontal",
}}
/>
</Stack>
</ErrorBoundary>
<MiniPlayer />