Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions server/src/main/java/org/ezbook/server/routes/JsRoute.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ class JsRoute(private val session: ApplicationCall, private val context: Context
}



/**
* 主函数,负责账单分析的整体流程。
* 包括接收参数、数据解析、分析、分类处理以及最终结果的返回。
Expand Down Expand Up @@ -285,8 +284,9 @@ class JsRoute(private val session: ApplicationCall, private val context: Context
userAction: Boolean
) {
if (!billInfoModel.auto) {
val showInLandScape =
Db.get().settingDao().query(Setting.LANDSCAPE_DND)?.value != "false"
val landscapeDnd =
Db.get().settingDao().query(Setting.LANDSCAPE_DND)?.value != "true"
val showInLandScape = !landscapeDnd
withContext(Dispatchers.Main) {
runCatching {
startAutoPanel(billInfoModel, parent, showInLandScape)
Expand Down