This commit is contained in:
Thibault Deckers 2021-09-09 18:03:25 +09:00
parent 766b723405
commit 04bf332b83
4 changed files with 5 additions and 5 deletions

View file

@ -133,7 +133,7 @@ class CollectionSearchDelegate {
)) ))
.where((filter) => containQuery(filter.displayName ?? filter.album)) .where((filter) => containQuery(filter.displayName ?? filter.album))
.toList() .toList()
..sort(); ..sort();
return _buildFilterRow( return _buildFilterRow(
context: context, context: context,
title: context.l10n.searchSectionAlbums, title: context.l10n.searchSectionAlbums,

View file

@ -70,7 +70,7 @@ class XmpNamespace extends Equatable {
}) })
.whereNotNull() .whereNotNull()
.toList() .toList()
..sort((a, b) => compareAsciiUpperCaseNatural(a.displayKey, b.displayKey)); ..sort((a, b) => compareAsciiUpperCaseNatural(a.displayKey, b.displayKey));
final content = [ final content = [
if (props.isNotEmpty) if (props.isNotEmpty)

View file

@ -12,14 +12,14 @@ class FakeStorageService extends Fake implements StorageService {
@override @override
Future<Set<StorageVolume>> getStorageVolumes() => SynchronousFuture({ Future<Set<StorageVolume>> getStorageVolumes() => SynchronousFuture({
const StorageVolume( const StorageVolume(
path: primaryPath, path: primaryPath,
description: primaryDescription, description: primaryDescription,
isPrimary: true, isPrimary: true,
isRemovable: false, isRemovable: false,
state: 'fake', state: 'fake',
), ),
const StorageVolume( const StorageVolume(
path: removablePath, path: removablePath,
description: removableDescription, description: removableDescription,
isPrimary: false, isPrimary: false,

View file

@ -1,3 +1,3 @@
const sourcePicturesDir = 'test_driver/assets/'; const sourcePicturesDir = 'test_driver/assets/';
const targetPicturesDir = '/sdcard/Pictures/Aves Test Driver/'; const targetPicturesDir = '/sdcard/Pictures/Aves Test Driver/';
const targetPicturesDirEmulated = '/storage/emulated/0/Pictures/Aves Test Driver'; const targetPicturesDirEmulated = '/storage/emulated/0/Pictures/Aves Test Driver';