mirror of
https://github.com/ente-io/ente.git
synced 2025-08-09 07:48:52 +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();
|
final encoder = ZipFileEncoder();
|
||||||
encoder.create(zipFilePath);
|
encoder.create(zipFilePath);
|
||||||
await encoder.addDirectory(logsDirectory);
|
await encoder.addDirectory(logsDirectory);
|
||||||
encoder.close();
|
await encoder.close();
|
||||||
if (context != null) {
|
if (context != null) {
|
||||||
await dialog.hide();
|
await dialog.hide();
|
||||||
}
|
}
|
||||||
|
@ -185,7 +185,7 @@ Future<void> _computeZip(Map<String, dynamic> args) async {
|
|||||||
encoder.create(zipPath);
|
encoder.create(zipPath);
|
||||||
await encoder.addFile(File(imagePath), "image" + extension(imagePath));
|
await encoder.addFile(File(imagePath), "image" + extension(imagePath));
|
||||||
await encoder.addFile(File(videoPath), "video" + extension(videoPath));
|
await encoder.addFile(File(videoPath), "video" + extension(videoPath));
|
||||||
encoder.close();
|
await encoder.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> zip({
|
Future<void> zip({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user