mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Fix the issue where cache files are not deleted.
This commit is contained in:
@@ -118,6 +118,7 @@ class DataSync with ChangeNotifier {
|
||||
await client.remove(files.first.name!);
|
||||
}
|
||||
await client.write(filename, await data.readAsBytes());
|
||||
data.deleteIgnoreError();
|
||||
Log.info("Upload Data", "Data uploaded successfully");
|
||||
return const Res(true);
|
||||
} catch (e, s) {
|
||||
|
Reference in New Issue
Block a user