From 15af86276b88480ab2b259cc0fb8f10827598358 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 6 Dec 2023 15:57:57 -0600 Subject: [PATCH] fix init backup service --- .../modules/backup/background_service/background.service.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile/lib/modules/backup/background_service/background.service.dart b/mobile/lib/modules/backup/background_service/background.service.dart index f31d0898e..ad795a6f5 100644 --- a/mobile/lib/modules/backup/background_service/background.service.dart +++ b/mobile/lib/modules/backup/background_service/background.service.dart @@ -342,7 +342,8 @@ class BackgroundService { ApiService apiService = ApiService(); apiService.setAccessToken(Store.get(StoreKey.accessToken)); - BackupService backupService = BackupService(apiService, db); + AppSettingsService settingService = AppSettingsService(); + BackupService backupService = BackupService(apiService, db, settingService); AppSettingsService settingsService = AppSettingsService(); final selectedAlbums = backupService.selectedAlbumsQuery().findAllSync();