Skip to content

Commit 6cfe900

Browse files
committed
store [nfc]: Comment in _PerAccountStoreWidgetState.didChangeDependencies
1 parent 18914a4 commit 6cfe900

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/widgets/store.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ class _PerAccountStoreWidgetState extends State<PerAccountStoreWidget> {
202202
_setStore(store);
203203
} else {
204204
// If we don't already have data, request it.
205+
206+
// If this succeeds, globalStore will notify listeners, and
207+
// [didChangeDependencies] will run again, this time in the
208+
// `store != null` case above.
205209
globalStore.perAccount(widget.accountId);
206210
}
207211
}

0 commit comments

Comments
 (0)