1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-29 12:45:20 +01:00

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

View File

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