diff --git a/lib/widgets/search/search_delegate.dart b/lib/widgets/search/search_delegate.dart index 2e5e8c438..fe79bce05 100644 --- a/lib/widgets/search/search_delegate.dart +++ b/lib/widgets/search/search_delegate.dart @@ -133,7 +133,7 @@ class CollectionSearchDelegate { )) .where((filter) => containQuery(filter.displayName ?? filter.album)) .toList() - ..sort(); + ..sort(); return _buildFilterRow( context: context, title: context.l10n.searchSectionAlbums, diff --git a/lib/widgets/viewer/info/metadata/xmp_namespaces.dart b/lib/widgets/viewer/info/metadata/xmp_namespaces.dart index 9beea2310..965cad733 100644 --- a/lib/widgets/viewer/info/metadata/xmp_namespaces.dart +++ b/lib/widgets/viewer/info/metadata/xmp_namespaces.dart @@ -70,7 +70,7 @@ class XmpNamespace extends Equatable { }) .whereNotNull() .toList() - ..sort((a, b) => compareAsciiUpperCaseNatural(a.displayKey, b.displayKey)); + ..sort((a, b) => compareAsciiUpperCaseNatural(a.displayKey, b.displayKey)); final content = [ if (props.isNotEmpty) diff --git a/test/fake/storage_service.dart b/test/fake/storage_service.dart index e92b3460f..754860374 100644 --- a/test/fake/storage_service.dart +++ b/test/fake/storage_service.dart @@ -12,14 +12,14 @@ class FakeStorageService extends Fake implements StorageService { @override Future> getStorageVolumes() => SynchronousFuture({ - const StorageVolume( + const StorageVolume( path: primaryPath, description: primaryDescription, isPrimary: true, isRemovable: false, state: 'fake', ), - const StorageVolume( + const StorageVolume( path: removablePath, description: removableDescription, isPrimary: false, diff --git a/test_driver/constants.dart b/test_driver/constants.dart index a75c344a8..7454317a9 100644 --- a/test_driver/constants.dart +++ b/test_driver/constants.dart @@ -1,3 +1,3 @@ const sourcePicturesDir = 'test_driver/assets/'; const targetPicturesDir = '/sdcard/Pictures/Aves Test Driver/'; -const targetPicturesDirEmulated = '/storage/emulated/0/Pictures/Aves Test Driver'; \ No newline at end of file +const targetPicturesDirEmulated = '/storage/emulated/0/Pictures/Aves Test Driver';