From 423ec44edd5e2b21791c881524c9a3dd7952b828 Mon Sep 17 00:00:00 2001 From: Jon Petersson Date: Mon, 9 Oct 2023 13:12:19 +0200 Subject: [PATCH] Synchronise presentations for settings and account modals --- ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift b/ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift index 12c4e00478ee..3de34f1515a2 100644 --- a/ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift +++ b/ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift @@ -728,11 +728,7 @@ final class ApplicationCoordinator: Coordinator, Presenting, RootContainerViewCo animated: animated, configuration: ModalPresentationConfiguration( preferredContentSize: UIMetrics.preferredFormSheetContentSize, - modalPresentationStyle: .custom, - transitioningDelegate: FormSheetTransitioningDelegate(options: FormSheetPresentationOptions( - useFullScreenPresentationInCompactWidth: true, - adjustViewWhenKeyboardAppears: false - )) + modalPresentationStyle: .formSheet ) ) { [weak self] in completion(coordinator)