Add album management and trailer upload to Assets module.

Wire home routing for album_list and album_trailer, add a DEBUG home menu preview in Profile, and expand Assets tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-24 09:43:46 +08:00
parent a48eb76ba4
commit 607130ade0
17 changed files with 2018 additions and 26 deletions

View File

@ -322,6 +322,20 @@ struct ProfileView: View {
}
}
.buttonStyle(.plain)
#if DEBUG
divider
Button {
router.navigate(to: .profile(.debugHomeMenus))
} label: {
infoRow(title: "首页调试") {
statusBadge(text: "DEBUG", icon: "hammer.fill", foreground: AppDesign.primary, background: AppDesign.primarySoft)
rowChevron
}
}
.buttonStyle(.plain)
#endif
}
.padding(.horizontal, 24)
.padding(.vertical, 4)