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:
@@ -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'],
|
||||||
|
|||||||
Reference in New Issue
Block a user