Skip to content

Commit

Permalink
Log ongoing engagement event in Entry Widget
Browse files Browse the repository at this point in the history
Both platforms now also log when ongoing engagement

MOB-3909
  • Loading branch information
rasmustautsglia authored and Egor Egorov committed Dec 31, 2024
1 parent 7ad0d5b commit bbfbd7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GliaWidgets/Sources/EntryWidget/EntryWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ private extension EntryWidget {
unreadSecureMessagesCount: Int?
) {
if let ongoingEngagement {
environment.log.info("Preparing items based on ongoing engagement")
if ongoingEngagement.source == .callVisualizer {
viewState = .ongoingEngagement(.callVisualizer)
} else if ongoingEngagement.source == .coreEngagement {
Expand Down

0 comments on commit bbfbd7b

Please sign in to comment.