From c0ca55e872943988205945a651bca498aa9ebd67 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Tue, 4 Oct 2022 11:55:00 +1000 Subject: [PATCH] Fix build breakage (#1456) --- .../fluent_ui/lib/src/widgets/unsplash_search_content.dart | 2 +- .../material/lib/src/widgets/unsplash_search_content.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart index e5ddb7386..8461f97f0 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart @@ -51,7 +51,7 @@ class _UnsplashSearchContentState extends State { final path = await getSavePath( suggestedName: '${photo.id}.jpg', acceptedTypeGroups: [ - XTypeGroup( + const XTypeGroup( label: 'JPG', extensions: ['jpg'], mimeTypes: ['image/jpeg'], diff --git a/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart b/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart index 7d244b876..aab3deaef 100644 --- a/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart +++ b/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart @@ -53,7 +53,7 @@ class _UnsplashSearchContentState extends State { final path = await getSavePath( suggestedName: '${photo.id}.jpg', acceptedTypeGroups: [ - XTypeGroup( + const XTypeGroup( label: 'JPG', extensions: ['jpg'], mimeTypes: ['image/jpeg'],