From 4aae7f94e7a8615b7b79c2e8bb24c64afb6a44a0 Mon Sep 17 00:00:00 2001 From: ice-alcides <171546305+ice-alcides@users.noreply.github.com> Date: Thu, 26 Dec 2024 13:58:53 +0200 Subject: [PATCH] chore: format code --- lib/app/features/gallery/data/models/album_data.c.dart | 7 +++---- .../gallery/views/components/shimmer_loading_cell.dart | 2 +- lib/app/router/feed_routes.dart | 3 ++- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/app/features/gallery/data/models/album_data.c.dart b/lib/app/features/gallery/data/models/album_data.c.dart index 52b66feb0..8abc9c7a6 100644 --- a/lib/app/features/gallery/data/models/album_data.c.dart +++ b/lib/app/features/gallery/data/models/album_data.c.dart @@ -6,10 +6,9 @@ part 'album_data.c.freezed.dart'; @freezed class AlbumData with _$AlbumData { const factory AlbumData({ - required String id, - required String name, - required int assetCount, + required String id, + required String name, + required int assetCount, @Default(false) bool isAll, }) = _AlbumData; - } diff --git a/lib/app/features/gallery/views/components/shimmer_loading_cell.dart b/lib/app/features/gallery/views/components/shimmer_loading_cell.dart index 6b1c1e39b..170c0c7eb 100644 --- a/lib/app/features/gallery/views/components/shimmer_loading_cell.dart +++ b/lib/app/features/gallery/views/components/shimmer_loading_cell.dart @@ -6,7 +6,7 @@ import 'package:ion/app/extensions/extensions.dart'; class ShimmerLoadingCell extends StatelessWidget { const ShimmerLoadingCell({super.key, this.dimension}); - + final double? dimension; @override diff --git a/lib/app/router/feed_routes.dart b/lib/app/router/feed_routes.dart index fbdcc4fe9..389bb9e9c 100644 --- a/lib/app/router/feed_routes.dart +++ b/lib/app/router/feed_routes.dart @@ -22,7 +22,8 @@ class FeedRoutes { TypedGoRoute(path: 'share-post/:postId'), TypedGoRoute(path: 'create-post'), TypedGoRoute(path: 'create-article'), - TypedGoRoute(path: 'media-picker', + TypedGoRoute( + path: 'media-picker', routes: [ TypedGoRoute(path: 'album-selection'), ],