Merge pull request #2829 from krille-chan/dependabot/pub/file_picker-11.0.2
build: (deps): bump file_picker from 10.3.10 to 11.0.2
This commit is contained in:
commit
03dd397052
4 changed files with 5 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ Future<List<XFile>> selectFiles(
|
|||
final result = await AppLock.of(context).pauseWhile(
|
||||
showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => FilePicker.platform.pickFiles(
|
||||
future: () => FilePicker.pickFiles(
|
||||
compressionQuality: 0,
|
||||
allowMultiple: allowMultiple,
|
||||
type: type,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extension MatrixFileExtension on MatrixFile {
|
|||
Future<void> save(BuildContext context) async {
|
||||
final scaffoldMessenger = ScaffoldMessenger.of(context);
|
||||
final l10n = L10n.of(context);
|
||||
final downloadPath = await FilePicker.platform.saveFile(
|
||||
final downloadPath = await FilePicker.saveFile(
|
||||
dialogTitle: l10n.saveFile,
|
||||
fileName: name,
|
||||
type: filePickerFileType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue