diff --git a/src/Android/MainApplication.cs b/src/Android/MainApplication.cs index 1716e0f75..7a7c3e82e 100644 --- a/src/Android/MainApplication.cs +++ b/src/Android/MainApplication.cs @@ -211,6 +211,7 @@ namespace Bit.Android .RegisterType(new ContainerControlledLifetimeManager()) .RegisterType(new ContainerControlledLifetimeManager()) .RegisterType(new ContainerControlledLifetimeManager()) + .RegisterType(new ContainerControlledLifetimeManager()) // Repositories .RegisterType(new ContainerControlledLifetimeManager()) .RegisterType(new ContainerControlledLifetimeManager()) diff --git a/src/App/Abstractions/Services/ISettingsService.cs b/src/App/Abstractions/Services/ISettingsService.cs new file mode 100644 index 000000000..49d94adc0 --- /dev/null +++ b/src/App/Abstractions/Services/ISettingsService.cs @@ -0,0 +1,6 @@ +namespace Bit.App.Abstractions +{ + public interface ISettingsService + { + } +} diff --git a/src/App/App.csproj b/src/App/App.csproj index 8a4d15fcd..d4634d884 100644 --- a/src/App/App.csproj +++ b/src/App/App.csproj @@ -38,6 +38,7 @@ + @@ -183,6 +184,7 @@ True AppResources.zh-Hans.resx + diff --git a/src/App/Services/SettingsService.cs b/src/App/Services/SettingsService.cs new file mode 100644 index 000000000..a224f4528 --- /dev/null +++ b/src/App/Services/SettingsService.cs @@ -0,0 +1,19 @@ +using Bit.App.Abstractions; +using Plugin.Settings.Abstractions; + +namespace Bit.App.Services +{ + public class SettingsService : ISettingsService + { + private readonly ISettingsRepository _settingsRepository; + private readonly ISettings _settings; + + public SettingsService( + ISettingsRepository settingsRepository, + ISettings settings) + { + _settingsRepository = settingsRepository; + _settings = settings; + } + } +} diff --git a/src/iOS.Extension/LoadingViewController.cs b/src/iOS.Extension/LoadingViewController.cs index 42ca3da49..82a3baf1d 100644 --- a/src/iOS.Extension/LoadingViewController.cs +++ b/src/iOS.Extension/LoadingViewController.cs @@ -281,6 +281,7 @@ namespace Bit.iOS.Extension .RegisterType(new ContainerControlledLifetimeManager()) .RegisterType(new ContainerControlledLifetimeManager()) .RegisterType(new ContainerControlledLifetimeManager()) + .RegisterType(new ContainerControlledLifetimeManager()) // Repositories .RegisterType(new ContainerControlledLifetimeManager()) .RegisterType(new ContainerControlledLifetimeManager()) diff --git a/src/iOS/AppDelegate.cs b/src/iOS/AppDelegate.cs index 9c339f0da..c6108600a 100644 --- a/src/iOS/AppDelegate.cs +++ b/src/iOS/AppDelegate.cs @@ -266,7 +266,7 @@ namespace Bit.iOS .RegisterType(new ContainerControlledLifetimeManager()) .RegisterType(new ContainerControlledLifetimeManager()) .RegisterType(new ContainerControlledLifetimeManager()) - // Repositories + .RegisterType(new ContainerControlledLifetimeManager()) // Repositories .RegisterType(new ContainerControlledLifetimeManager()) .RegisterType(new ContainerControlledLifetimeManager())