mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
fix: whisper mid
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user