mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore(mobile): Run dart analyze in CI (#1425)
* Run dart analyze in CI * Add pub get * Fix linter errors in mobile code
This commit is contained in:
parent
b1311547b2
commit
bcb0056b55
17 changed files with 87 additions and 44 deletions
|
|
@ -42,8 +42,13 @@ class _AssetGroupsToRenderListComputeParameters {
|
|||
final Map<String, List<Asset>> groups;
|
||||
final int perRow;
|
||||
|
||||
_AssetGroupsToRenderListComputeParameters(this.monthFormat, this.dayFormat,
|
||||
this.dayFormatYear, this.groups, this.perRow);
|
||||
_AssetGroupsToRenderListComputeParameters(
|
||||
this.monthFormat,
|
||||
this.dayFormat,
|
||||
this.dayFormatYear,
|
||||
this.groups,
|
||||
this.perRow,
|
||||
);
|
||||
}
|
||||
|
||||
class RenderList {
|
||||
|
|
@ -52,7 +57,8 @@ class RenderList {
|
|||
RenderList(this.elements);
|
||||
|
||||
static Future<RenderList> _processAssetGroupData(
|
||||
_AssetGroupsToRenderListComputeParameters data) async {
|
||||
_AssetGroupsToRenderListComputeParameters data,
|
||||
) async {
|
||||
final monthFormat = DateFormat(data.monthFormat);
|
||||
final dayFormatSameYear = DateFormat(data.dayFormat);
|
||||
final dayFormatOtherYear = DateFormat(data.dayFormatYear);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import 'package:easy_localization/easy_localization.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue