feat: support announcement

This commit is contained in:
2022-08-29 23:47:40 +08:00
parent e6140c32a8
commit 99b703017b
3 changed files with 54 additions and 3 deletions

View File

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