fix: whisper mid

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-13 18:16:51 +08:00
parent 39a355ab4c
commit 9b8b699ace

View File

@@ -341,13 +341,14 @@ class UserInfoCard extends StatelessWidget {
IconButton.outlined( IconButton.outlined(
onPressed: () { onPressed: () {
if (GStorage.userInfo.get('userInfoCache') != null) { if (GStorage.userInfo.get('userInfoCache') != null) {
int mid = int.parse(card.mid!);
Get.toNamed( Get.toNamed(
'/whisperDetail', '/whisperDetail',
arguments: { arguments: {
'talkerId': int.parse(card.mid!), 'talkerId': mid,
'name': card.name, 'name': card.name,
'face': card.face, 'face': card.face,
'mid': card.mid, 'mid': mid,
}, },
); );
} }