|
@@ -127,7 +127,7 @@ function onRuntimeMsg() {
|
|
|
styleHandler(req.data);
|
|
|
break;
|
|
|
case 'CONTENT_SYS_THEME_CHANGE':
|
|
|
- checkPageThemeStyle(req.data);
|
|
|
+ setPageThemeStyle(req.data);
|
|
|
break;
|
|
|
}
|
|
|
})
|
|
@@ -253,7 +253,7 @@ const initData = () => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-const checkPageThemeStyle = (params) => {
|
|
|
+const setPageThemeStyle = (params) => {
|
|
|
let {twitterTheme, theme} = params;
|
|
|
|
|
|
if(twitterTheme == 'light') {
|