Skip to content

Commit 7e99846

Browse files
style(mobile): format visible-thread alert grouping
1 parent 8cf80a0 commit 7e99846

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • apps/mobile/modules/t3-agent-notifications/android/src/main/java/expo/modules/t3agentnotifications

‎apps/mobile/modules/t3-agent-notifications/android/src/main/java/expo/modules/t3agentnotifications/AgentNotifications.kt‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ object AgentNotifications {
143143
?: prefs.getStringSet("seenAlerts", emptySet()).orEmpty().toList()
144144
if (alertId != null && alertId !in seen) {
145145
// Consume suppressed alerts so retries cannot resurface them later.
146-
val resumed = ProcessLifecycleOwner.get().lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED)
146+
val resumed = ProcessLifecycleOwner.get().lifecycle.currentState.isAtLeast(
147+
Lifecycle.State.RESUMED
148+
)
147149
val visibleThread = threadOnScreen
148150
val onScreen = resumed && visibleThread != null && data["alert_path"] == visibleThread
149151
if (!onScreen) {

0 commit comments

Comments
 (0)