持久化存储是否允许搜索 等细节优化

This commit is contained in:
2021-12-22 23:03:25 +08:00
parent 9663826794
commit 6e7b86416b
5 changed files with 15 additions and 15 deletions

View File

@@ -20,6 +20,7 @@ class App extends Component {
super(props);
load_config();
load_attentions();
window.AS_BACKUP = localStorage['DEFAULT_ALLOW_SEARCH'] ? true : false;
listen_darkmode(
{ default: undefined, light: false, dark: true }[
window.config.color_scheme