Skip to content

Commit

Permalink
fix(mobile): thumbnail not filled area on tablet (#13808)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 authored Oct 29, 2024
1 parent f776e04 commit a39a1cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mobile/lib/widgets/asset_grid/thumbnail_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ class ThumbnailImage extends ConsumerWidget {
}

Widget buildImage() {
final image = SizedBox(
width: 300,
height: 300,
final image = SizedBox.expand(
child: Hero(
tag: isFromDto
? '${asset.remoteId}-$heroOffset'
Expand Down

0 comments on commit a39a1cf

Please sign in to comment.