mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
Fixed the problem that some book sources were not edited, but the prompt "尚未保存,是否继续编辑" is displayed when exiting.
This commit is contained in:
parent
88d13d86ab
commit
c8e30b5241
@ -377,7 +377,7 @@ class BookSourceEditActivity :
|
||||
}
|
||||
infoEntities.forEach {
|
||||
when (it.key) {
|
||||
"init" -> bookInfoRule.init = it.value ?: ""
|
||||
"init" -> bookInfoRule.init = it.value
|
||||
"name" -> bookInfoRule.name = viewModel.ruleComplete(it.value, bookInfoRule.init)
|
||||
"author" -> bookInfoRule.author =
|
||||
viewModel.ruleComplete(it.value, bookInfoRule.init)
|
||||
|
Loading…
Reference in New Issue
Block a user