diff --git a/lib/ui/sharing/album_participants_page.dart b/lib/ui/sharing/album_participants_page.dart index bf7b79908..ec9b9b410 100644 --- a/lib/ui/sharing/album_participants_page.dart +++ b/lib/ui/sharing/album_participants_page.dart @@ -139,6 +139,8 @@ class _AlbumParticipantsPageState extends State { final currentUser = collaborators[listIndex]; final isSameAsLoggedInUser = currentUserID == currentUser.id; + final isLastItem = + !isOwner && index == collaborators.length; return Column( children: [ MenuItemWidget( @@ -165,13 +167,15 @@ class _AlbumParticipantsPageState extends State { } : null, isTopBorderRadiusRemoved: listIndex > 0, - isBottomBorderRadiusRemoved: true, + isBottomBorderRadiusRemoved: !isLastItem, singleBorderRadius: 8, ), - DividerWidget( - dividerType: DividerType.menu, - bgColor: getEnteColorScheme(context).blurStrokeFaint, - ), + isLastItem + ? const SizedBox.shrink() + : DividerWidget( + dividerType: DividerType.menu, + bgColor: getEnteColorScheme(context).fillFaint, + ), ], ); } else if (index == (1 + collaborators.length) && isOwner) { @@ -234,7 +238,7 @@ class _AlbumParticipantsPageState extends State { onTap: isOwner ? () async { if (isOwner) { - await _navigateToManageUser(currentUser); + _navigateToManageUser(currentUser); } } : null, diff --git a/lib/ui/viewer/file/file_info_widget.dart b/lib/ui/viewer/file/file_info_widget.dart index e40c1c165..4435a37c6 100644 --- a/lib/ui/viewer/file/file_info_widget.dart +++ b/lib/ui/viewer/file/file_info_widget.dart @@ -160,7 +160,7 @@ class _FileInfoWidgetState extends State { path.basenameWithoutExtension(file.displayName) + path.extension(file.displayName).toUpperCase(), ), - subtitle: Row( + subtitle: Wrap( children: [ showDimension ? Text( @@ -193,7 +193,7 @@ class _FileInfoWidgetState extends State { horizontalTitleGap: 2, leading: const Icon(Icons.camera_rounded), title: Text(_exifData["takenOnDevice"] ?? "--"), - subtitle: Row( + subtitle: Wrap( children: [ _exifData["fNumber"] != null ? Padding(