1
0
mirror of https://github.com/immich-app/immich.git synced 2025-01-02 12:48:35 +02:00

chore(mobile): remove duplicate settingsservice (#14946)

remove duplicate settingsservice
This commit is contained in:
Sam Debruyn 2024-12-28 02:45:23 +11:00 committed by GitHub
parent 2255f3e966
commit 05cea0fc69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,