fix: Clear logs on clear()
This commit is contained in:
parent
27dd05e1dd
commit
dacd007780
|
|
@ -807,6 +807,7 @@ class Client extends MatrixApi {
|
||||||
|
|
||||||
/// Resets all settings and stops the synchronisation.
|
/// Resets all settings and stops the synchronisation.
|
||||||
void clear() {
|
void clear() {
|
||||||
|
Logs().outputEvents.clear();
|
||||||
database?.clear(id);
|
database?.clear(id);
|
||||||
_id = accessToken =
|
_id = accessToken =
|
||||||
homeserver = _userID = _deviceID = _deviceName = prevBatch = null;
|
homeserver = _userID = _deviceID = _deviceName = prevBatch = null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue