mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-06-20 23:14:28 +08:00
[🛠️ Fix] Direct unlock not show when !showTypeList.includes("direct")
This commit is contained in:
6
src/aura/jsRewrite/vendor/screenLock.js
vendored
6
src/aura/jsRewrite/vendor/screenLock.js
vendored
@@ -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 ### //
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user