1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Fix build breakage (#1456)

This commit is contained in:
Brett Morgan
2022-10-04 11:55:00 +10:00
committed by GitHub
parent b9db6c879b
commit c0ca55e872
2 changed files with 2 additions and 2 deletions

View File

@@ -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'],

View File

@@ -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'],