new instance of deviceservice

This commit is contained in:
kspearrin 2018-12-10 11:56:07 -05:00
parent 3b9f4433ad
commit ff776e485a

View file

@ -344,7 +344,7 @@ namespace Bit.iOS
container.RegisterSingleton<ILockService, LockService>(); container.RegisterSingleton<ILockService, LockService>();
container.RegisterSingleton<IAppInfoService, AppInfoService>(); container.RegisterSingleton<IAppInfoService, AppInfoService>();
container.RegisterSingleton<IGoogleAnalyticsService, GoogleAnalyticsService>(); container.RegisterSingleton<IGoogleAnalyticsService, GoogleAnalyticsService>();
container.RegisterSingleton<IDeviceInfoService, DeviceInfoService>(); container.RegisterInstance<IDeviceInfoService>(new DeviceInfoService());
container.RegisterSingleton<ILocalizeService, LocalizeService>(); container.RegisterSingleton<ILocalizeService, LocalizeService>();
container.RegisterSingleton<ILogService, LogService>(); container.RegisterSingleton<ILogService, LogService>();
container.RegisterSingleton<IHttpService, HttpService>(); container.RegisterSingleton<IHttpService, HttpService>();