Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-21 14:26:29 +08:00
parent 0b1f6c4d0e
commit 7a65b777c9
21 changed files with 486 additions and 507 deletions

View File

@@ -134,10 +134,10 @@ class WhisperDetailController extends CommonListController<RspSessionMsg, Msg> {
Future<LoadingState> onReport(Msg item, int reasonType, String reasonDesc) {
return MsgHttp.imMsgReport(
accusedUid: item.senderUid,
accusedUid: item.senderUid.toInt(),
reasonType: reasonType,
reasonDesc: reasonDesc,
comment: {'group_id': 0, 'msg_key': item.msgKey},
comment: {'group_id': 0, 'msg_key': item.msgKey.toString()},
extra: {"msg_keys": []},
);
}

View File

@@ -435,7 +435,8 @@ class ChatItem extends StatelessWidget {
NetworkImgLayer(
type: ImageType.emote,
width: constrains.maxWidth,
height: constrains.maxWidth * 9 / 16,
height:
constrains.maxWidth / StyleString.aspectRatio16x9,
src: content['cover'],
),
PBadge(