fix: 简化配置层级

This commit is contained in:
amzxyz
2026-01-05 10:58:50 +08:00
parent 7cb2c03c27
commit 4c80136e57
3 changed files with 3 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ function P.init(env)
local context = engine.context
env.page_size = config:get_int("menu/page_size") or 6
local m = config:get_string("kp_number/kp_number_mode") or "auto"
local m = config:get_string("kp_number_mode") or "auto"
if m ~= "auto" and m ~= "compose" then m = "auto" end
env.kp_mode = m