diff --git a/mobile/lib/services/background.service.dart b/mobile/lib/services/background.service.dart index 27be2c046d..c059f48f0e 100644 --- a/mobile/lib/services/background.service.dart +++ b/mobile/lib/services/background.service.dart @@ -372,7 +372,6 @@ class BackgroundService { HttpOverrides.global = HttpSSLCertOverride(); ApiService apiService = ApiService(); apiService.setAccessToken(Store.get(StoreKey.accessToken)); - AppSettingsService settingService = AppSettingsService(); AppSettingsService settingsService = AppSettingsService(); AlbumRepository albumRepository = AlbumRepository(db); AssetRepository assetRepository = AssetRepository(db); @@ -422,7 +421,7 @@ class BackgroundService { ); BackupService backupService = BackupService( apiService, - settingService, + settingsService, albumService, albumMediaRepository, fileMediaRepository,