mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 15:44:35 +01:00
partial default theme safeguard
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user