mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -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.settings = new Settings();
|
||||||
this.sync = new Sync(this);
|
this.sync = new Sync(this);
|
||||||
|
|
||||||
|
this.save();
|
||||||
|
|
||||||
this.persistent = [];
|
this.persistent = [];
|
||||||
this.register();
|
this.register();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue