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,
|
||||
SocialChatUserProfile? profile,
|
||||
) {
|
||||
return SCUserBadgeStrip(
|
||||
userId: userId,
|
||||
fallbackBadges: _roomCardFallbackBadges(ref, profile),
|
||||
displayScope: SCUserBadgeDisplayScope.short,
|
||||
height: 62.w,
|
||||
badgeHeight: 57.5.w,
|
||||
longBadgeWidth: 145.w,
|
||||
spacing: 12.w,
|
||||
maxBadges: 12,
|
||||
wrap: false,
|
||||
reserveSpace: false,
|
||||
return SizedBox(
|
||||
width: double.infinity,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
||||
child: SCUserBadgeStrip(
|
||||
userId: userId,
|
||||
fallbackBadges: _roomCardFallbackBadges(ref, profile),
|
||||
displayScope: SCUserBadgeDisplayScope.short,
|
||||
height: 62.w,
|
||||
badgeHeight: 57.5.w,
|
||||
longBadgeWidth: 145.w,
|
||||
spacing: 12.w,
|
||||
maxBadges: 12,
|
||||
wrap: false,
|
||||
reserveSpace: false,
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user