update FFImageLoading and disable gifs on ios

This commit is contained in:
Kyle Spearrin 2018-01-04 12:46:14 -05:00
parent c3570dd07a
commit c60a112039
2 changed files with 5 additions and 1 deletions

View file

@ -25,7 +25,7 @@
<PackageReference Include="System.Net.Http" Version="4.3.3" />
<PackageReference Include="Xam.Plugin.Connectivity" Version="3.0.3" />
<PackageReference Include="Xam.Plugins.Settings" Version="3.1.1" />
<PackageReference Include="Xamarin.FFImageLoading.Forms" Version="2.2.9" />
<PackageReference Include="Xamarin.FFImageLoading.Forms" Version="2.3.3" />
<PackageReference Include="Xamarin.Forms" Version="2.5.0.121934" />
<PackageReference Include="XLabs.IoC" Version="2.0.5782" />
<PackageReference Include="ZXing.Net.Mobile.Forms" Version="2.1.47" />

View file

@ -287,6 +287,10 @@ namespace Bit.iOS
container.RegisterSingleton<IPushNotificationListener, PushNotificationListener>();
container.RegisterSingleton<IPushNotificationService, iOSPushNotificationService>();
FFImageLoading.ImageService.Instance.Initialize(new FFImageLoading.Config.Configuration
{
AnimateGifs = false
});
CachedImageRenderer.Init();
Resolver.SetResolver(new SimpleInjectorResolver(container));
}