mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 09:14:58 +03:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user