fix(mobile): Refactors exif bottom sheet to use widgets and fixes slow sliding up exif bottom sheet (#7671)

* Refactors exif bottom sheet to use widgets and fixes slow sliding up experience

format

* Refactors exif bottom sheet to use widgets and fixes slow sliding up experience

format

* Fixes people

* removes wrong exif bottom sheet

format

format

* Moved more widgets out of exit bottom sheet

format

* small styling

---------

Co-authored-by: Marty Fuhry <marty@fuhry.farm>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
martyfuhry
2024-03-06 22:27:33 -05:00
committed by GitHub
parent 1ec5d612fa
commit 4323d18387
11 changed files with 643 additions and 492 deletions

View File

@@ -7,6 +7,7 @@ import 'package:immich_mobile/utils/image_url_builder.dart';
class CuratedPeopleRow extends StatelessWidget {
final List<CuratedContent> content;
final EdgeInsets? padding;
/// Callback with the content and the index when tapped
final Function(CuratedContent, int)? onTap;
@@ -16,6 +17,7 @@ class CuratedPeopleRow extends StatelessWidget {
super.key,
required this.content,
this.onTap,
this.padding,
required this.onNameTap,
});
@@ -43,6 +45,7 @@ class CuratedPeopleRow extends StatelessWidget {
}
return ListView.builder(
padding: padding,
scrollDirection: Axis.horizontal,
itemBuilder: (context, index) {
final person = content[index];