Skip to content

Commit ae62328

Browse files
committed
remove comments app start tracker
1 parent 852684d commit ae62328

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

flutter/lib/src/integrations/app_start/app_start_tracker.dart

-4
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,17 @@ class AppStartTracker {
2727
void setAppStartInfo(AppStartInfo? appStartInfo) {
2828
_appStartInfo = appStartInfo;
2929
if (!_appStartCompleter.isCompleted) {
30-
// Complete the completer with the app start info when it becomes available
3130
_appStartCompleter.complete(appStartInfo);
3231
} else {
33-
// If setAppStartInfo is called again, reset the completer with new app start info
3432
_appStartCompleter = Completer<AppStartInfo?>();
3533
_appStartCompleter.complete(appStartInfo);
3634
}
3735
}
3836

3937
Future<AppStartInfo?> getAppStartInfo() {
40-
// If the app start info is already set, return it immediately
4138
if (_appStartInfo != null) {
4239
return Future.value(_appStartInfo);
4340
}
44-
// Otherwise, return the future that will complete when the app start info is set
4541
return _appStartCompleter.future;
4642
}
4743
}

0 commit comments

Comments
 (0)