Browse Source

Fix dark mode image setting (#923)

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
Andrew Molyuk 1 năm trước cách đây
mục cha
commit
2b47657a12
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      assets/scripts/features/darkmode/index.js

+ 1 - 1
assets/scripts/features/darkmode/index.js

@@ -40,7 +40,7 @@ window.addEventListener('load', async () => {
     // save preference to local storage
     saveScheme(newScheme)
 
-    setImages(newScheme)
+    setImages(theme)
   }
 
   setScheme(loadScheme())