[🛠️ Fix] Direct unlock not show when !showTypeList.includes("direct")

This commit is contained in:
Minoricew
2025-12-30 20:11:21 +08:00
parent 420f35a5e4
commit c5c63c6639

View File

@@ -1366,7 +1366,10 @@ const newFunction = function (e, t, n) {
style: { left: o, width: s }, style: { left: o, width: s },
}), }),
Object.keys(Me).map(function (e, t) { Object.keys(Me).map(function (e, t) {
return r.includes(e) // ### BOR ### //
const showDirectCondition =
__config.showDirectUnlock && e === "direct";
return r.includes(e) || showDirectCondition
? p.a.createElement( ? p.a.createElement(
"div", "div",
{ {
@@ -1381,6 +1384,7 @@ const newFunction = function (e, t, n) {
m m
) )
: null; : null;
// ### EOR ### //
}) })
) )
) )