mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-19 06:21:56 +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 = () => {
|
||||
this.setState(defaultSettings);
|
||||
this.setState({
|
||||
...defaultSettings,
|
||||
devIconOptions: this.state.devIconOptions,
|
||||
});
|
||||
};
|
||||
|
||||
getRandomTheme = (theme, Pattern) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user