1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-12 14:23:26 +00:00

check app options ios extension on nfc check (#933)

This commit is contained in:
Kyle Spearrin
2020-05-29 15:25:06 -04:00
committed by GitHub
parent 6da0f82ddd
commit fbf3d97d57
5 changed files with 12 additions and 8 deletions

View File

@@ -291,7 +291,7 @@ namespace Bit.iOS.Autofill
private void LaunchLoginFlow()
{
var loginPage = new LoginPage();
var app = new App.App(new AppOptions { EmptyApp = true });
var app = new App.App(new AppOptions { IosExtension = true });
ThemeManager.SetTheme(false, app.Resources);
ThemeManager.ApplyResourcesToPage(loginPage);
if (loginPage.BindingContext is LoginPageViewModel vm)
@@ -311,7 +311,7 @@ namespace Bit.iOS.Autofill
private void LaunchTwoFactorFlow()
{
var twoFactorPage = new TwoFactorPage();
var app = new App.App(new AppOptions { EmptyApp = true });
var app = new App.App(new AppOptions { IosExtension = true });
ThemeManager.SetTheme(false, app.Resources);
ThemeManager.ApplyResourcesToPage(twoFactorPage);
if (twoFactorPage.BindingContext is TwoFactorPageViewModel vm)