mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-22 04:39:32 +03:00
fix: Hidden categories got reset after delete/reorder (#1780)
This commit is contained in:
parent
1dd04fc5f1
commit
da558e64df
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ class AnimeCategoryRepositoryImpl(
|
|||
name = update.name,
|
||||
order = update.order,
|
||||
flags = update.flags,
|
||||
hidden = if (update.hidden == true) 1L else 0L,
|
||||
hidden = update.hidden?.let { if (it) 1L else 0L },
|
||||
categoryId = update.id,
|
||||
)
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@ class MangaCategoryRepositoryImpl(
|
|||
name = update.name,
|
||||
order = update.order,
|
||||
flags = update.flags,
|
||||
hidden = if (update.hidden == true) 1L else 0L,
|
||||
hidden = update.hidden?.let { if (it) 1L else 0L },
|
||||
categoryId = update.id,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue