Skip to content

Commit

Permalink
feat: set settings foreground_service
Browse files Browse the repository at this point in the history
  • Loading branch information
csvwolf committed Aug 10, 2021
1 parent 60231e6 commit e857055
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ ui.layout(
</drawer>
);

// 不开报了奇怪的 error
$settings.setEnabled('foreground_service', true);

activity.setSupportActionBar(ui.toolbar)

ui.apple.checked = storage.get("apple") || false
Expand Down
2 changes: 1 addition & 1 deletion project.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
},
"scripts": {},
"versionCode": 1,
"versionName": "0.0.7"
"versionName": "0.0.8"
}

0 comments on commit e857055

Please sign in to comment.