From efa1cb257aebe7b554f1702dc9c5fc88d3952613 Mon Sep 17 00:00:00 2001 From: Sam Debruyn Date: Fri, 27 Dec 2024 15:54:37 +1100 Subject: [PATCH] remove duplicate settingsservice --- mobile/lib/services/background.service.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,