mirror of
https://github.com/immich-app/immich.git
synced 2026-05-22 23:12:32 -04:00
chore(format): dart format
This commit is contained in:
committed by
Zack Pollard
parent
8b79b31ae5
commit
76abdc3c82
@@ -137,6 +137,7 @@ class GalleryViewerPage extends HookConsumerWidget {
|
||||
// swallow error silently
|
||||
debugPrint('Error precaching next image: $exception, $stackTrace');
|
||||
}
|
||||
|
||||
if (index < totalAssets.value && index >= 0) {
|
||||
final asset = loadAsset(index);
|
||||
precacheImage(
|
||||
|
||||
@@ -7,7 +7,6 @@ import 'package:isar/isar.dart';
|
||||
|
||||
/// Shows the thumbnail images in the asset grid view
|
||||
class ThumbnailImage extends StatelessWidget {
|
||||
|
||||
/// The asset to show the thumbnail image for
|
||||
final Asset asset;
|
||||
|
||||
|
||||
@@ -180,7 +180,10 @@ class MapPage extends HookConsumerWidget {
|
||||
}
|
||||
|
||||
// Since we only have a single asset, we can just show GroupAssetBy.none
|
||||
final renderList = await RenderList.fromAssets([asset], GroupAssetsBy.none,);
|
||||
final renderList = await RenderList.fromAssets(
|
||||
[asset],
|
||||
GroupAssetsBy.none,
|
||||
);
|
||||
|
||||
context.pushRoute(
|
||||
GalleryViewerRoute(
|
||||
|
||||
Reference in New Issue
Block a user