From f86429233b59058e4cfd20f9a45c68a0df10867e Mon Sep 17 00:00:00 2001 From: Jacek Krasiukianis Date: Wed, 22 May 2024 11:18:02 +0200 Subject: [PATCH] Enable RSVP M2 --- .../APP_share/UserInfo/UserInfo+LocalFeatureFlags.swift | 4 ---- .../Children/Attachment/AttachmentViewModel.swift | 1 - 2 files changed, 5 deletions(-) diff --git a/ProtonMail/ProtonMail/Extension/ProtonCore/APP_share/UserInfo/UserInfo+LocalFeatureFlags.swift b/ProtonMail/ProtonMail/Extension/ProtonCore/APP_share/UserInfo/UserInfo+LocalFeatureFlags.swift index fc69ae359..fdc64556a 100644 --- a/ProtonMail/ProtonMail/Extension/ProtonCore/APP_share/UserInfo/UserInfo+LocalFeatureFlags.swift +++ b/ProtonMail/ProtonMail/Extension/ProtonCore/APP_share/UserInfo/UserInfo+LocalFeatureFlags.swift @@ -24,10 +24,6 @@ extension UserInfo { false } - static var isRSVPMilestoneTwoEnabled: Bool { - Application.isDebugOrEnterprise - } - static var isUpsellButtonEnabled: Bool { Application.isDebugOrEnterprise } diff --git a/ProtonMail/ProtonMail/ViewControllers/APP/SingleMessage/Children/Attachment/AttachmentViewModel.swift b/ProtonMail/ProtonMail/ViewControllers/APP/SingleMessage/Children/Attachment/AttachmentViewModel.swift index 7432feeed..2f1e88aab 100644 --- a/ProtonMail/ProtonMail/ViewControllers/APP/SingleMessage/Children/Attachment/AttachmentViewModel.swift +++ b/ProtonMail/ProtonMail/ViewControllers/APP/SingleMessage/Children/Attachment/AttachmentViewModel.swift @@ -214,7 +214,6 @@ final class AttachmentViewModel { private func updateRespondingOptions(eventDetails: EventDetails) { guard - UserInfo.isRSVPMilestoneTwoEnabled, dependencies.featureFlagProvider.isEnabled(.answerInvitation, reloadValue: true), eventDetails.status != .cancelled, let currentUserAmongInvitees = eventDetails.currentUserAmongInvitees