Skip to content

Commit

Permalink
在通知中运行
Browse files Browse the repository at this point in the history
  • Loading branch information
ipuppet committed Aug 16, 2024
1 parent f040a39 commit adcc4c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ switch ($app.env) {
AppInstance = require("./scripts/app-main")
break
case $env.today:
case $env.notification:
case $env.keyboard:
case $env.siri:
AppInstance = require("./scripts/app-lite")
Expand Down
2 changes: 1 addition & 1 deletion scripts/app-lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module.exports = {
//AppUI.renderKeyboardUI();return
//AppUI.renderTodayUI();return

if ($app.env === $env.today) {
if ($app.env === $env.today || $app.env === $env.notification) {
AppUI.renderTodayUI()
} else if ($app.env === $env.keyboard) {
AppUI.renderKeyboardUI()
Expand Down

0 comments on commit adcc4c3

Please sign in to comment.