Skip to content

Commit

Permalink
Update memory_controller.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c committed May 2, 2024
1 parent 3a4d29a commit 7f45b3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class MemoryController extends DisposableController
// [maybeLoadOfflineData] will be a noop if there is no offline data for the memory screen,
// so ensure we still call [_initializedData] if it has not been called.
assert(loaded == _dataInitialized.isCompleted);
if (!loaded) {
if (_dataInitialized.isCompleted) {
await _initializeData();
}
}
Expand Down

0 comments on commit 7f45b3a

Please sign in to comment.