chore(mobile): clean up linter problems (#1000)

This commit is contained in:
Alex 2022-11-21 06:13:14 -06:00 committed by GitHub
parent bc9ee1d611
commit 39b7ab66d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 188 additions and 173 deletions

View file

@ -27,7 +27,7 @@ class BackupAlbumSelectionPage extends HookConsumerWidget {
[],
);
_buildAlbumSelectionList() {
buildAlbumSelectionList() {
if (availableAlbums.isEmpty) {
return const Center(
child: ImmichLoadingIndicator(),
@ -56,7 +56,7 @@ class BackupAlbumSelectionPage extends HookConsumerWidget {
);
}
_buildSelectedAlbumNameChip() {
buildSelectedAlbumNameChip() {
return selectedBackupAlbums.map((album) {
void removeSelection() {
if (ref.watch(backupProvider).selectedBackupAlbums.length == 1) {
@ -104,7 +104,7 @@ class BackupAlbumSelectionPage extends HookConsumerWidget {
}).toSet();
}
_buildExcludedAlbumNameChip() {
buildExcludedAlbumNameChip() {
return excludedBackupAlbums.map((album) {
void removeSelection() {
ref
@ -177,8 +177,8 @@ class BackupAlbumSelectionPage extends HookConsumerWidget {
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Wrap(
children: [
..._buildSelectedAlbumNameChip(),
..._buildExcludedAlbumNameChip()
...buildSelectedAlbumNameChip(),
...buildExcludedAlbumNameChip()
],
),
),
@ -286,7 +286,7 @@ class BackupAlbumSelectionPage extends HookConsumerWidget {
Padding(
padding: const EdgeInsets.only(bottom: 16.0),
child: _buildAlbumSelectionList(),
child: buildAlbumSelectionList(),
),
],
),