From 05cea0fc6966d9d5f3571c2ee662afd133649718 Mon Sep 17 00:00:00 2001
From: Sam Debruyn <sam@debruyn.dev>
Date: Sat, 28 Dec 2024 02:45:23 +1100
Subject: [PATCH] chore(mobile): remove duplicate settingsservice (#14946)

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,