Skip to content

Commit fec269b

Browse files
ABTastyAdelCopilot
andauthored
Update lib/visitor.dart
Co-authored-by: Copilot <[email protected]>
1 parent 9f90059 commit fec269b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/visitor.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,11 @@ class Visitor with EmotionAiDelegate {
329329
if (idToLookup != null) {
330330
await _visitorDelegate
331331
.lookupVisitor(idToLookup)
332-
.then((isLoadedFromCache) => {
332+
.then((isLoadedFromCache) {
333333
this._fetchReasons = isLoadedFromCache
334334
? FetchFlagsRequiredStatusReason.FLAGS_FETCHED_FROM_CACHE
335-
: FetchFlagsRequiredStatusReason.FLAGS_NEVER_FETCHED,
336-
this._needLookupVisitor = false
335+
: FetchFlagsRequiredStatusReason.FLAGS_NEVER_FETCHED;
336+
this._needLookupVisitor = false;
337337
});
338338
} else {
339339
// No existing visitor found, set appropriate fetch reason

0 commit comments

Comments
 (0)