From 7c5b8c0e9ff18acb98a40b2b64b0c4df18b5695c Mon Sep 17 00:00:00 2001 From: kspearrin Date: Mon, 30 Sep 2019 21:17:53 -0400 Subject: [PATCH] modal full screen --- src/iOS.Autofill/CredentialProviderViewController.cs | 4 +++- src/iOS.Core/Controllers/ExtendedUITableViewController.cs | 4 +++- src/iOS.Core/Controllers/ExtendedUIViewController.cs | 4 +++- src/iOS.Extension/SetupViewController.cs | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/iOS.Autofill/CredentialProviderViewController.cs b/src/iOS.Autofill/CredentialProviderViewController.cs index baebc1a56..9ed85cd6b 100644 --- a/src/iOS.Autofill/CredentialProviderViewController.cs +++ b/src/iOS.Autofill/CredentialProviderViewController.cs @@ -19,7 +19,9 @@ namespace Bit.iOS.Autofill public CredentialProviderViewController(IntPtr handle) : base(handle) - { } + { + ModalPresentationStyle = UIModalPresentationStyle.FullScreen; + } public override void ViewDidLoad() { diff --git a/src/iOS.Core/Controllers/ExtendedUITableViewController.cs b/src/iOS.Core/Controllers/ExtendedUITableViewController.cs index c5d1922ca..afaa46ec9 100644 --- a/src/iOS.Core/Controllers/ExtendedUITableViewController.cs +++ b/src/iOS.Core/Controllers/ExtendedUITableViewController.cs @@ -8,7 +8,9 @@ namespace Bit.iOS.Core.Controllers { public ExtendedUITableViewController(IntPtr handle) : base(handle) - { } + { + ModalPresentationStyle = UIModalPresentationStyle.FullScreen; + } public override void ViewWillAppear(bool animated) { diff --git a/src/iOS.Core/Controllers/ExtendedUIViewController.cs b/src/iOS.Core/Controllers/ExtendedUIViewController.cs index 3714464ad..78bbef018 100644 --- a/src/iOS.Core/Controllers/ExtendedUIViewController.cs +++ b/src/iOS.Core/Controllers/ExtendedUIViewController.cs @@ -8,7 +8,9 @@ namespace Bit.iOS.Core.Controllers { public ExtendedUIViewController(IntPtr handle) : base(handle) - { } + { + ModalPresentationStyle = UIModalPresentationStyle.FullScreen; + } public override void ViewWillAppear(bool animated) { diff --git a/src/iOS.Extension/SetupViewController.cs b/src/iOS.Extension/SetupViewController.cs index cc0211d9b..b15df213b 100644 --- a/src/iOS.Extension/SetupViewController.cs +++ b/src/iOS.Extension/SetupViewController.cs @@ -11,7 +11,9 @@ namespace Bit.iOS.Extension { public SetupViewController(IntPtr handle) : base(handle) - { } + { + ModalPresentationStyle = UIModalPresentationStyle.FullScreen; + } public Context Context { get; set; } public LoadingViewController LoadingController { get; set; }