1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-06-28 10:54:59 +02: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);