Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove redundant progress dialog comment

Neeraj Guptafda895a264b0
diff --git a/mobile/packages/ui/lib/components/progress_dialog.dart b/mobile/packages/ui/lib/components/progress_dialog.dart
index 4aff7bef5e..a00d1006e2 100644
--- a/mobile/packages/ui/lib/components/progress_dialog.dart
+++ b/mobile/packages/ui/lib/components/progress_dialog.dart
@@ -178,8 +178,6 @@ class ProgressDialog {
final animation = route.animation;
do {
await WidgetsBinding.instance.endOfFrame;
- // DialogRoute's first frame can be fully transparent. Let a visible
- // frame paint before callers can start synchronous work.
} while (route.isActive && animation != null && animation.value == 0);
if (_showLogs) debugPrint('ProgressDialog shown');
return true;