1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

task.run ffimage init

This commit is contained in:
Kyle Spearrin
2019-04-26 10:58:41 -04:00
parent 7613f4191b
commit dc0f9847c6

View File

@@ -39,7 +39,8 @@ namespace Bit.Droid
private void RegisterLocalServices()
{
FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true);
// Note: This might cause a race condition. Investigate more.
Task.Run(() => FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true));
var preferencesStorage = new PreferencesStorageService(null);
var documentsPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);