diff --git a/lib/notifications.dart b/lib/notifications.dart index cb6f57275f7..ca63b860235 100644 --- a/lib/notifications.dart +++ b/lib/notifications.dart @@ -18,7 +18,7 @@ class NotificationService { @visibleForTesting static void debugReset() { instance.token.dispose(); - instance.token = ValueNotifier(null); + _instance = null; } /// The FCM registration token for this install of the app.