Skip to content

Commit a540f73

Browse files
authored
Merge branch 'main' into main
2 parents 32afd92 + a600ce4 commit a540f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/taro-h5/src/api/base/weapp/app-event.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const unhandledRejectionListener = (res: PromiseRejectionEvent) => {
1919
let themeMatchMedia: MediaQueryList | null = null
2020
const themeChangeListener = (res: MediaQueryListEvent) => {
2121
themeChangeCallbackManager.trigger({
22-
theme: res.matches ? 'dark' : 'light'
22+
theme: res.matches ? 'light' : 'dark'
2323
})
2424
}
2525

0 commit comments

Comments
 (0)