From ca1ab9f264ab026e434e1b0b4a1fba46c5d8b8ea Mon Sep 17 00:00:00 2001 From: Rasmus Tauts Date: Mon, 2 Oct 2023 15:14:08 +0300 Subject: [PATCH] fixup! Display Live Observation alert before normal engagement This PR displays Live Observation confirmation alert before normal engagement. This alert can't be skipped and needs visitor's manual confirmation to enqueue. MOB-2678 --- .../Common/LiveObservationConfirmationPresenter.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GliaWidgets/Sources/ViewController/Common/LiveObservationConfirmationPresenter.swift b/GliaWidgets/Sources/ViewController/Common/LiveObservationConfirmationPresenter.swift index 964deec31..4463dea17 100644 --- a/GliaWidgets/Sources/ViewController/Common/LiveObservationConfirmationPresenter.swift +++ b/GliaWidgets/Sources/ViewController/Common/LiveObservationConfirmationPresenter.swift @@ -3,8 +3,8 @@ import UIKit protocol LiveObservationConfirmationPresenter: DismissalAndPresentationController where Self: UIViewController { var viewFactory: ViewFactory { get } - func offerScreenShare( - with conf: ScreenShareOfferAlertConfiguration, + func showLiveObservationConfirmationAlert( + with conf: ConfirmationAlertConfiguration, accepted: @escaping () -> Void, declined: @escaping () -> Void )