format & fixed static analysis issue

This commit is contained in:
Thibault Deckers 2020-08-08 22:14:24 +09:00
parent 121dfe98d3
commit b98f4d4e1d
4 changed files with 3 additions and 3 deletions

View file

@ -48,6 +48,7 @@ class MetadataService {
}
return null;
}
return background
? servicePolicy.call(
call,

View file

@ -86,8 +86,7 @@ class SectionHeader extends StatelessWidget {
// force a higher first line to match leading icon/selector dimension
style: TextStyle(height: 2.3 * textScaleFactor),
), // 23 hair spaces match a width of 40.0
if (hasTrailing)
TextSpan(text: '\u200A' * 17),
if (hasTrailing) TextSpan(text: '\u200A' * 17),
TextSpan(
text: text,
style: Constants.titleTextStyle,

View file

@ -8,7 +8,6 @@ import 'package:aves/model/source/collection_lens.dart';
import 'package:aves/model/source/collection_source.dart';
import 'package:aves/services/android_app_service.dart';
import 'package:aves/services/image_file_service.dart';
import 'package:aves/utils/constants.dart';
import 'package:aves/utils/durations.dart';
import 'package:aves/widgets/album/app_bar.dart';
import 'package:aves/widgets/album/empty.dart';

View file

@ -56,6 +56,7 @@ class MediaStoreSource extends CollectionSource {
addAll(pendingNewEntries);
pendingNewEntries.clear();
}
ImageFileService.getImageEntries(knownEntryMap).listen(
(entry) {
pendingNewEntries.add(entry);