mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
refactor(backup): Remove broken sources from backup
Doesn't seem to be used, relic from the past?
This commit is contained in:
parent
193d50d0d6
commit
5160fabfde
2 changed files with 3 additions and 4 deletions
|
@ -78,7 +78,6 @@ class BackupCreator(
|
|||
val backup = Backup(
|
||||
backupManga = backupManga,
|
||||
backupCategories = categoriesBackupCreator(options),
|
||||
backupBrokenSources = emptyList(),
|
||||
backupSources = sourcesBackupCreator(backupManga),
|
||||
backupPreferences = preferenceBackupCreator.backupAppPreferences(options),
|
||||
backupSourcePreferences = preferenceBackupCreator.backupSourcePreferences(options),
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
package eu.kanade.tachiyomi.data.backup.models
|
||||
|
||||
import eu.kanade.tachiyomi.BuildConfig
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Date
|
||||
import java.util.Locale
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
|
||||
@Serializable
|
||||
data class Backup(
|
||||
@ProtoNumber(1) val backupManga: List<BackupManga>,
|
||||
@ProtoNumber(2) var backupCategories: List<BackupCategory> = emptyList(),
|
||||
@ProtoNumber(100) var backupBrokenSources: List<BrokenBackupSource> = emptyList(),
|
||||
//@ProtoNumber(100) var backupBrokenSources: List<BrokenBackupSource> = emptyList(),
|
||||
@ProtoNumber(101) var backupSources: List<BackupSource> = emptyList(),
|
||||
@ProtoNumber(104) var backupPreferences: List<BackupPreference> = emptyList(),
|
||||
@ProtoNumber(105) var backupSourcePreferences: List<BackupSourcePreferences> = emptyList(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue