Skip to content

Commit a034763

Browse files
committed
store [nfc]: Mark unawaited future from registerNotificationToken
The called method returns a not so useful future that is used for testing. See also: zulip#325 (comment) Signed-off-by: Zixuan James Li <[email protected]>
1 parent b19ea61 commit a034763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model/store.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ class UpdateMachine {
748748
updateMachine.poll();
749749
// TODO do registerNotificationToken before registerQueue:
750750
// https://github.com/zulip/zulip-flutter/pull/325#discussion_r1365982807
751-
updateMachine.registerNotificationToken();
751+
unawaited(updateMachine.registerNotificationToken());
752752
return updateMachine;
753753
}
754754

0 commit comments

Comments
 (0)