Fix build breakage (#1456)

pull/1457/head
Brett Morgan 2 years ago committed by GitHub
parent b9db6c879b
commit c0ca55e872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,7 +51,7 @@ class _UnsplashSearchContentState extends State<UnsplashSearchContent> {
final path = await getSavePath( final path = await getSavePath(
suggestedName: '${photo.id}.jpg', suggestedName: '${photo.id}.jpg',
acceptedTypeGroups: [ acceptedTypeGroups: [
XTypeGroup( const XTypeGroup(
label: 'JPG', label: 'JPG',
extensions: ['jpg'], extensions: ['jpg'],
mimeTypes: ['image/jpeg'], mimeTypes: ['image/jpeg'],

@ -53,7 +53,7 @@ class _UnsplashSearchContentState extends State<UnsplashSearchContent> {
final path = await getSavePath( final path = await getSavePath(
suggestedName: '${photo.id}.jpg', suggestedName: '${photo.id}.jpg',
acceptedTypeGroups: [ acceptedTypeGroups: [
XTypeGroup( const XTypeGroup(
label: 'JPG', label: 'JPG',
extensions: ['jpg'], extensions: ['jpg'],
mimeTypes: ['image/jpeg'], mimeTypes: ['image/jpeg'],

Loading…
Cancel
Save