From 424e75a922668de8c8322e1d59df314a24cbea68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8E=86=E5=86=B0=E9=83=81-hermes=E7=89=88?= Date: Fri, 8 May 2026 12:23:37 +0800 Subject: [PATCH] feat: add feedback shortcut to profile tab --- src/components/rpg-entry/RpgEntryHomeView.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/rpg-entry/RpgEntryHomeView.tsx b/src/components/rpg-entry/RpgEntryHomeView.tsx index dedfad73..f844bb81 100644 --- a/src/components/rpg-entry/RpgEntryHomeView.tsx +++ b/src/components/rpg-entry/RpgEntryHomeView.tsx @@ -134,6 +134,7 @@ export interface RpgEntryHomeViewProps { profilePlayStatsError?: string | null; onCloseProfilePlayStats?: () => void; onOpenPlayedWork?: (work: ProfilePlayedWorkSummary) => void; + onOpenFeedback?: () => void; onRechargeSuccess?: () => void | Promise; createTabContent?: ReactNode; } @@ -2679,6 +2680,7 @@ export function RpgEntryHomeView({ profilePlayStatsError = null, onCloseProfilePlayStats, onOpenPlayedWork, + onOpenFeedback, onRechargeSuccess, createTabContent, }: RpgEntryHomeViewProps) { @@ -3996,6 +3998,12 @@ export function RpgEntryHomeView({ icon={MessageCircle} onClick={() => openProfilePopupPanel('community')} /> +