From c2753d5dc4960aeacdb4c798e7273ca86c08881d Mon Sep 17 00:00:00 2001 From: mpbw2 <59324545+mpbw2@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:44:05 -0500 Subject: [PATCH] restrict workaround to Android --- src/Core/Pages/Accounts/TwoFactorPageViewModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Core/Pages/Accounts/TwoFactorPageViewModel.cs b/src/Core/Pages/Accounts/TwoFactorPageViewModel.cs index fbdd5eec5..58eec75e7 100644 --- a/src/Core/Pages/Accounts/TwoFactorPageViewModel.cs +++ b/src/Core/Pages/Accounts/TwoFactorPageViewModel.cs @@ -179,7 +179,9 @@ namespace Bit.App.Pages break; case TwoFactorProviderType.Duo: case TwoFactorProviderType.OrganizationDuo: +#if ANDROID SetDuoWebViewHeight(); +#endif var host = WebUtility.UrlEncode(providerData["Host"] as string); var req = WebUtility.UrlEncode(providerData["Signature"] as string); page.DuoWebView.Uri = $"{_webVaultUrl}/duo-connector.html?host={host}&request={req}";