1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-29 04:07:37 +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() 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 preferencesStorage = new PreferencesStorageService(null);
var documentsPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal); var documentsPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);