git ssb

16+

Dominic / patchbay



Commit 98875334dade3d82e196503d21dae241058b2a35

persist "none" theme if set

Dominic Tarr committed on 10/25/2016, 1:15:53 PM
Parent: 1695b03758638d03b6a1920872fefb8315120b24

Files changed

modules/theme.jschanged
modules/theme.jsView
@@ -29,9 +29,10 @@
2929 })
3030 }
3131
3232 function useSavedTheme() {
33- useTheme(localStorage.themeId || defaultTheme.id)
33 + //enable setting "NONE" as your theme, and having that persist.
34 + useTheme(localStorage.themeId == null ? defaultTheme.id : localStorage.themeId)
3435 }
3536
3637 next(useSavedTheme)
3738

Built with git-ssb-web