fix(ui): analysis

This commit is contained in:
Salvatore Giordano
2021-10-12 14:49:57 +02:00
parent 68f6dd264e
commit 239b3ccded
@@ -146,12 +146,14 @@ class _MediaListViewState extends State<MediaListView> {
Future<void> _getMedia() async { Future<void> _getMedia() async {
final assetList = (await PhotoManager.getAssetPathList( final assetList = (await PhotoManager.getAssetPathList(
filterOption: FilterOptionGroup(orders: [ filterOption: FilterOptionGroup(
const OrderOption( orders: [
// ignore: avoid_redundant_argument_values const OrderOption(
type: OrderOptionType.createDate, // ignore: avoid_redundant_argument_values
), type: OrderOptionType.createDate,
]), ),
],
),
onlyAll: true, onlyAll: true,
)) ))
.first; .first;