Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/aeecleclair/Titan
Browse files Browse the repository at this point in the history
  • Loading branch information
Petitoto committed Oct 31, 2023
2 parents 40a7e20 + c4f063a commit 9593a67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/service/tools/setup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ void setUpNotification(WidgetRef ref) {
final now = DateTime.now();
if (firebaseTokenExpiration.userId != user.id ||
firebaseTokenExpiration.expiration != null ||
firebaseTokenExpiration.expiration!.isBefore(now) ||
firebaseTokenExpiration.expiration!.isBefore(DateTime(
2023, 10, 13)) // TODO: remove it after the october update
firebaseTokenExpiration.expiration!.isBefore(now)
) {
firebaseToken.then((value) {
messageNotifier.setFirebaseToken(value);
Expand Down

0 comments on commit 9593a67

Please sign in to comment.