partial default theme safeguard

This commit is contained in:
SpikeHD
2022-06-03 16:59:37 -07:00
parent 8d8b617198
commit 1ac4fd5a63

View File

@@ -85,7 +85,7 @@ class App extends React.Component<IProps, IState> {
// Load a theme if it exists
const theme = await getConfigOption('theme')
if (theme) {
if (theme && theme !== 'default') {
const themeObj = await getTheme(theme)
loadTheme(themeObj, document)
}