1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-29 22:53:34 +00:00

FFImageLoading only for main app

This commit is contained in:
Kyle Spearrin
2019-07-03 10:08:59 -04:00
parent 3e51ff46f3
commit ca8f6ee10b
2 changed files with 11 additions and 11 deletions

View File

@@ -246,6 +246,17 @@ namespace Bit.iOS
"oldSecureStorageService", new Migration.KeyChainStorageService());
}
// Note: This might cause a race condition. Investigate more.
Task.Run(() =>
{
FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
FFImageLoading.ImageService.Instance.Initialize(new FFImageLoading.Config.Configuration
{
FadeAnimationEnabled = false,
FadeAnimationForCachedImages = false
});
});
iOSCoreHelpers.RegisterLocalServices();
RegisterPush();
ServiceContainer.Init();