1
0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 13:14:29 +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(); HttpOverrides.global = HttpSSLCertOverride();
ApiService apiService = ApiService(); ApiService apiService = ApiService();
apiService.setAccessToken(Store.get(StoreKey.accessToken)); apiService.setAccessToken(Store.get(StoreKey.accessToken));
AppSettingsService settingService = AppSettingsService();
AppSettingsService settingsService = AppSettingsService(); AppSettingsService settingsService = AppSettingsService();
AlbumRepository albumRepository = AlbumRepository(db); AlbumRepository albumRepository = AlbumRepository(db);
AssetRepository assetRepository = AssetRepository(db); AssetRepository assetRepository = AssetRepository(db);
@ -422,7 +421,7 @@ class BackgroundService {
); );
BackupService backupService = BackupService( BackupService backupService = BackupService(
apiService, apiService,
settingService, settingsService,
albumService, albumService,
albumMediaRepository, albumMediaRepository,
fileMediaRepository, fileMediaRepository,