load app resources into ThemeManager before appearance adjustments (#1631)

This commit is contained in:
Jake Fink 2021-11-05 09:51:48 -04:00 committed by GitHub
parent dbf94c1b56
commit df496e39ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -414,6 +414,8 @@ namespace Bit.iOS.Extension
_initedAppCenter = true;
}
iOSCoreHelpers.Bootstrap();
var app = new App.App(new AppOptions { IosExtension = true });
ThemeManager.SetTheme(false, app.Resources);
iOSCoreHelpers.AppearanceAdjustments();
_nfcDelegate = new NFCReaderDelegate((success, message) =>
messagingService.Send("gotYubiKeyOTP", message));