mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-24 06:32:08 -05:00
fix(state): save state on reset
This commit is contained in:
parent
6915186738
commit
7b7f3c3af8
1 changed files with 2 additions and 0 deletions
|
@ -248,6 +248,8 @@ export default class State {
|
|||
this.settings = new Settings();
|
||||
this.sync = new Sync(this);
|
||||
|
||||
this.save();
|
||||
|
||||
this.persistent = [];
|
||||
this.register();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue