new set title api with title secret

This commit is contained in:
2022-09-26 00:22:37 +08:00
parent f586337f78
commit 30006ca528
3 changed files with 12 additions and 1 deletions

View File

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