fix init backup service
This commit is contained in:
parent
fdc5349059
commit
15af86276b
1 changed files with 2 additions and 1 deletions
|
@ -342,7 +342,8 @@ class BackgroundService {
|
||||||
|
|
||||||
ApiService apiService = ApiService();
|
ApiService apiService = ApiService();
|
||||||
apiService.setAccessToken(Store.get(StoreKey.accessToken));
|
apiService.setAccessToken(Store.get(StoreKey.accessToken));
|
||||||
BackupService backupService = BackupService(apiService, db);
|
AppSettingsService settingService = AppSettingsService();
|
||||||
|
BackupService backupService = BackupService(apiService, db, settingService);
|
||||||
AppSettingsService settingsService = AppSettingsService();
|
AppSettingsService settingsService = AppSettingsService();
|
||||||
|
|
||||||
final selectedAlbums = backupService.selectedAlbumsQuery().findAllSync();
|
final selectedAlbums = backupService.selectedAlbumsQuery().findAllSync();
|
||||||
|
|
Loading…
Reference in a new issue