refactor: SyncManager uses them as well can't be private.

Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
KaiserBh 2023-12-28 23:10:51 +11:00
parent fbf8c46b74
commit 309bfd1733
No known key found for this signature in database
GPG Key ID: 14D73B142042BBA9

View File

@ -118,7 +118,7 @@ class BackupCreator(
} }
} }
private suspend fun backupCategories(options: Int): List<BackupCategory> { suspend fun backupCategories(options: Int): List<BackupCategory> {
if (options and BACKUP_CATEGORY != BACKUP_CATEGORY) return emptyList() if (options and BACKUP_CATEGORY != BACKUP_CATEGORY) return emptyList()
return categoriesBackupCreator.backupCategories() return categoriesBackupCreator.backupCategories()
@ -128,7 +128,7 @@ class BackupCreator(
return mangaBackupCreator.backupMangas(mangas, flags) return mangaBackupCreator.backupMangas(mangas, flags)
} }
private fun backupSources(mangas: List<Manga>): List<BackupSource> { fun backupSources(mangas: List<Manga>): List<BackupSource> {
return sourcesBackupCreator.backupSources(mangas) return sourcesBackupCreator.backupSources(mangas)
} }