Fixed the problem that some book sources were not edited, but the prompt "尚未保存,是否继续编辑" is displayed when exiting.
This commit is contained in:
1 parent
a23ff3c362
commit
58512d1b60
1 file changed
+1
-1
@@ -377,7 +377,7 @@ class BookSourceEditActivity :
|
|||||||
}
|
}
|
||||||
infoEntities.forEach {
|
infoEntities.forEach {
|
||||||
when (it.key) {
|
when (it.key) {
|
||||||
"init" -> bookInfoRule.init = it.value ?: ""
|
"init" -> bookInfoRule.init = it.value
|
||||||
"name" -> bookInfoRule.name = viewModel.ruleComplete(it.value, bookInfoRule.init)
|
"name" -> bookInfoRule.name = viewModel.ruleComplete(it.value, bookInfoRule.init)
|
||||||
"author" -> bookInfoRule.author =
|
"author" -> bookInfoRule.author =
|
||||||
viewModel.ruleComplete(it.value, bookInfoRule.init)
|
viewModel.ruleComplete(it.value, bookInfoRule.init)
|
||||||
|
|||||||
Reference in new issue
Block a user