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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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