Skip to content

Commit ffc92ac

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 7603325 commit ffc92ac

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
@@ -726,7 +726,7 @@ class UpdateMachine {
726726
updateMachine.poll();
727727
// TODO do registerNotificationToken before registerQueue:
728728
// https://github.com/zulip/zulip-flutter/pull/325#discussion_r1365982807
729-
updateMachine.registerNotificationToken();
729+
unawaited(updateMachine.registerNotificationToken());
730730
return updateMachine;
731731
}
732732

0 commit comments

Comments
 (0)