mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Fix lint warnings
This commit is contained in:
parent
43e711274e
commit
ec8bd5bc7f
@ -153,7 +153,7 @@ Future<String> getZippedLogsFile(BuildContext? context) async {
|
||||
final encoder = ZipFileEncoder();
|
||||
encoder.create(zipFilePath);
|
||||
await encoder.addDirectory(logsDirectory);
|
||||
encoder.close();
|
||||
await encoder.close();
|
||||
if (context != null) {
|
||||
await dialog.hide();
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ Future<void> _computeZip(Map<String, dynamic> args) async {
|
||||
encoder.create(zipPath);
|
||||
await encoder.addFile(File(imagePath), "image" + extension(imagePath));
|
||||
await encoder.addFile(File(videoPath), "video" + extension(videoPath));
|
||||
encoder.close();
|
||||
await encoder.close();
|
||||
}
|
||||
|
||||
Future<void> zip({
|
||||
|
Loading…
x
Reference in New Issue
Block a user