mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-19 14:31:58 +08:00
fix:reset and save the devIconOptions
This commit is contained in:
parent
ea121e45dc
commit
ecb040a906
@ -54,7 +54,10 @@ class Editor extends React.Component {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
handleReset = () => {
|
handleReset = () => {
|
||||||
this.setState(defaultSettings);
|
this.setState({
|
||||||
|
...defaultSettings,
|
||||||
|
devIconOptions: this.state.devIconOptions,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
getRandomTheme = (theme, Pattern) => {
|
getRandomTheme = (theme, Pattern) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user