fix: expand room short badge area
This commit is contained in:
parent
79ec634ba0
commit
5be1f05899
@ -584,17 +584,23 @@ class _RoomUserInfoCardState extends State<RoomUserInfoCard> {
|
|||||||
SocialChatUserProfileManager ref,
|
SocialChatUserProfileManager ref,
|
||||||
SocialChatUserProfile? profile,
|
SocialChatUserProfile? profile,
|
||||||
) {
|
) {
|
||||||
return SCUserBadgeStrip(
|
return SizedBox(
|
||||||
userId: userId,
|
width: double.infinity,
|
||||||
fallbackBadges: _roomCardFallbackBadges(ref, profile),
|
child: Padding(
|
||||||
displayScope: SCUserBadgeDisplayScope.short,
|
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
||||||
height: 62.w,
|
child: SCUserBadgeStrip(
|
||||||
badgeHeight: 57.5.w,
|
userId: userId,
|
||||||
longBadgeWidth: 145.w,
|
fallbackBadges: _roomCardFallbackBadges(ref, profile),
|
||||||
spacing: 12.w,
|
displayScope: SCUserBadgeDisplayScope.short,
|
||||||
maxBadges: 12,
|
height: 62.w,
|
||||||
wrap: false,
|
badgeHeight: 57.5.w,
|
||||||
reserveSpace: false,
|
longBadgeWidth: 145.w,
|
||||||
|
spacing: 12.w,
|
||||||
|
maxBadges: 12,
|
||||||
|
wrap: false,
|
||||||
|
reserveSpace: false,
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user