Skip to content

Commit

Permalink
clearTemporaryFiles() has not been implemented.
Browse files Browse the repository at this point in the history
  • Loading branch information
TaYaKi71751 committed Dec 11, 2023
1 parent a23d8a5 commit b4a33c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pages/settings/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,8 @@ class _SettingsPageState extends State<SettingsPage>
title: Text(Translations.of(context).trans('importingbookmark')),
trailing: const Icon(Icons.keyboard_arrow_right),
onTap: () async {
await FilePicker.platform.clearTemporaryFiles();
// clearTemporaryFiles() has not been implemented.
if(Platform.isAndroid || Platform.isIOS) await FilePicker.platform.clearTemporaryFiles();
final filePickerResult = await FilePicker.platform.pickFiles();
final pickedFilePath = filePickerResult?.files.singleOrNull?.path;

Expand Down

0 comments on commit b4a33c8

Please sign in to comment.