From c53f560e2d04d3d6de5929fc2f47b4f0a43cd170 Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Fri, 2 Oct 2026 18:42:00 +0400 Subject: [PATCH] presentUnfinished comment --- apps/ios/Shared/Views/Badges/BadgeStore.swift | 2 +- .../kotlin/chat/simplex/common/views/badges/BadgeStore.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ios/Shared/Views/Badges/BadgeStore.swift b/apps/ios/Shared/Views/Badges/BadgeStore.swift index 5346f8e914..7b3c38533a 100644 --- a/apps/ios/Shared/Views/Badges/BadgeStore.swift +++ b/apps/ios/Shared/Views/Badges/BadgeStore.swift @@ -268,7 +268,7 @@ final class BadgeStore: ObservableObject { } } - // at launch and on return to the foreground, never on a timer + // at launch, on return to the foreground and on a profile switch, never on a timer func presentUnfinished() async { await listenForTransactions() var held: Set = [] diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt index 2458d119b2..8a760f0e41 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt @@ -317,7 +317,7 @@ object BadgeStore { } } - // at launch and on return to the foreground, never on a timer + // at launch, on return to the foreground and on a profile switch, never on a timer suspend fun presentUnfinished() { try { if (useBadgeTestProducts || !platform.androidHasPlatformStore) return