1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 05:43:30 +00:00

PM-8051 Fix 2FA launch from iOS autofill, was missing passing appOptions to the App (#3244)

This commit is contained in:
Federico Maccaroni
2024-05-15 13:25:27 -03:00
committed by GitHub
parent 8566f5c00a
commit c8d0db9f31

View File

@@ -699,7 +699,7 @@ namespace Bit.iOS.Autofill
{ {
var appOptions = new AppOptions { IosExtension = true }; var appOptions = new AppOptions { IosExtension = true };
var twoFactorPage = new TwoFactorPage(authingWithSso, appOptions); var twoFactorPage = new TwoFactorPage(authingWithSso, appOptions);
var app = new App.App(); var app = new App.App(appOptions);
ThemeManager.SetTheme(app.Resources); ThemeManager.SetTheme(app.Resources);
ThemeManager.ApplyResourcesTo(twoFactorPage); ThemeManager.ApplyResourcesTo(twoFactorPage);
if (twoFactorPage.BindingContext is TwoFactorPageViewModel vm) if (twoFactorPage.BindingContext is TwoFactorPageViewModel vm)