Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix lint

Neeraj Gupta5fd176f05e5e
diff --git a/mobile/apps/photos/lib/ui/tools/editor/export_video_service.dart b/mobile/apps/photos/lib/ui/tools/editor/export_video_service.dart
index 18e2410f3f..92ded1b497 100644
--- a/mobile/apps/photos/lib/ui/tools/editor/export_video_service.dart
+++ b/mobile/apps/photos/lib/ui/tools/editor/export_video_service.dart
@@ -86,9 +86,7 @@ class ExportService {
final state = await activeSession.getState();
final statisticsList = await activeSession.getStatistics();
- if (statisticsList != null &&
- statisticsList.isNotEmpty &&
- onProgress != null) {
+ if (statisticsList.isNotEmpty && onProgress != null) {
final statistics = statisticsList.last;
onProgress(statistics);
}