feat: 从对话详情打开用户详情

This commit is contained in:
CrescentLeaf
2025-10-04 15:49:19 +08:00
parent 1fa91279e2
commit a77e22a3ea
6 changed files with 84 additions and 19 deletions

View File

@@ -156,6 +156,15 @@ export default function AppMobile() {
loginInputAccountRef={loginInputAccountRef}
loginInputPasswordRef={loginInputPasswordRef} />
<ChatInfoDialog
chatInfoDialogRef={chatInfoDialogRef as any}
openUserInfoDialog={openUserInfoDialog}
openChatFragment={(id) => {
setCurrentChatId(id)
setIsShowChatFragment(true)
}}
chat={chatInfo} />
<MyProfileDialog
myProfileDialogRef={myProfileDialogRef as any}
user={myUserProfileCache} />
@@ -164,14 +173,6 @@ export default function AppMobile() {
openChatFragment={openChatFragment}
user={userInfo} />
<ChatInfoDialog
chatInfoDialogRef={chatInfoDialogRef as any}
openChatFragment={(id) => {
setCurrentChatId(id)
setIsShowChatFragment(true)
}}
chat={chatInfo} />
<AddContactDialog
addContactDialogRef={addContactDialogRef} />