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

@@ -1475,6 +1475,13 @@ class SubFlow extends PureComponent {
}
window.TITLE = json.custom_title;
window.AUTO_BLCOK = json.auto_block_rank;
if (
json.custom_title &&
window.TITLE_SECRET !== json.title_secret
) {
window.TITLE_SECRET = json.title_secret;
localStorage['TITLE_SECRET'] = json.title_secret;
}
json.data.forEach((x) => {
if (x.comments) {
let comment_json = {