From 97d7281f4d9cb3e8d71a185d0a9e829d2f31e887 Mon Sep 17 00:00:00 2001 From: otsmr Date: Thu, 16 Oct 2025 23:50:31 +0200 Subject: [PATCH] fixing flame sync issue --- lib/src/services/flame.service.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/services/flame.service.dart b/lib/src/services/flame.service.dart index 1b75eea..01edd40 100644 --- a/lib/src/services/flame.service.dart +++ b/lib/src/services/flame.service.dart @@ -27,7 +27,8 @@ Future syncFlameCounters() async { } for (final contact in contacts) { - if (contact.lastFlameCounterChange == null) continue; + if (contact.lastFlameCounterChange == null || contact.deleted) continue; + if (!isToday(contact.lastFlameCounterChange!)) continue; if (contact.lastFlameSync != null) { if (isToday(contact.lastFlameSync!)) continue; }