mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-29 01:29:02 +03:00
fix restoring backups from tachiyomi (that don't...
have any anime)
This commit is contained in:
parent
45a50a7e91
commit
66a376a3a4
1 changed files with 2 additions and 2 deletions
|
@ -5,9 +5,9 @@ import kotlinx.serialization.protobuf.ProtoNumber
|
|||
|
||||
@Serializable
|
||||
data class Backup(
|
||||
@ProtoNumber(1) val backupManga: List<BackupManga>,
|
||||
@ProtoNumber(1) val backupManga: List<BackupManga> = emptyList(),
|
||||
@ProtoNumber(2) var backupCategories: List<BackupCategory> = emptyList(),
|
||||
@ProtoNumber(3) val backupAnime: List<BackupAnime>,
|
||||
@ProtoNumber(3) val backupAnime: List<BackupAnime> = emptyList(),
|
||||
@ProtoNumber(4) var backupCategoriesAnime: List<BackupCategory> = emptyList(),
|
||||
// Bump by 100 to specify this is a 0.x value
|
||||
@ProtoNumber(100) var backupSources: List<BackupSource> = emptyList(),
|
||||
|
|
Loading…
Reference in a new issue