保存关注到本地,时间线分子模式

This commit is contained in:
2021-12-17 00:07:29 +08:00
parent be55d3686a
commit a93e59069a
6 changed files with 166 additions and 37 deletions

View File

@@ -5,6 +5,7 @@ import { Sidebar } from './Sidebar';
import { PressureHelper } from './PressureHelper';
import { TokenCtx } from './UserAction';
import { load_config, bgimg_style } from './Config';
import { load_attentions } from './Attention.js';
import { listen_darkmode } from './infrastructure/functions';
import { LoginPopup, TitleLine } from './infrastructure/widgets';
@@ -18,6 +19,7 @@ class App extends Component {
constructor(props) {
super(props);
load_config();
load_attentions();
listen_darkmode(
{ default: undefined, light: false, dark: true }[
window.config.color_scheme