mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 20:51:52 +01:00
Added manga sort to backup in categories
This commit is contained in:
parent
92af8d508e
commit
adf11063b7
@ -12,12 +12,16 @@ class BackupCategory(
|
|||||||
// @ProtoNumber(3) val updateInterval: Int = 0, 1.x value not used in 0.x
|
// @ProtoNumber(3) val updateInterval: Int = 0, 1.x value not used in 0.x
|
||||||
// Bump by 100 to specify this is a 0.x value
|
// Bump by 100 to specify this is a 0.x value
|
||||||
@ProtoNumber(100) var flags: Int = 0,
|
@ProtoNumber(100) var flags: Int = 0,
|
||||||
|
|
||||||
|
// J2K Specific values
|
||||||
|
@ProtoNumber(800) var mangaSort: Char?,
|
||||||
) {
|
) {
|
||||||
fun getCategoryImpl(): CategoryImpl {
|
fun getCategoryImpl(): CategoryImpl {
|
||||||
return CategoryImpl().apply {
|
return CategoryImpl().apply {
|
||||||
name = this@BackupCategory.name
|
name = this@BackupCategory.name
|
||||||
flags = this@BackupCategory.flags
|
flags = this@BackupCategory.flags
|
||||||
order = this@BackupCategory.order
|
order = this@BackupCategory.order
|
||||||
|
mangaSort = this@BackupCategory.mangaSort
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -26,7 +30,8 @@ class BackupCategory(
|
|||||||
return BackupCategory(
|
return BackupCategory(
|
||||||
name = category.name,
|
name = category.name,
|
||||||
order = category.order,
|
order = category.order,
|
||||||
flags = category.flags
|
flags = category.flags,
|
||||||
|
mangaSort = category.mangaSort
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user