We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 32afd92 + a600ce4 commit a540f73Copy full SHA for a540f73
packages/taro-h5/src/api/base/weapp/app-event.ts
@@ -19,7 +19,7 @@ const unhandledRejectionListener = (res: PromiseRejectionEvent) => {
19
let themeMatchMedia: MediaQueryList | null = null
20
const themeChangeListener = (res: MediaQueryListEvent) => {
21
themeChangeCallbackManager.trigger({
22
- theme: res.matches ? 'dark' : 'light'
+ theme: res.matches ? 'light' : 'dark'
23
})
24
}
25
0 commit comments