mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 06:55:12 +00:00
fix: null for real
This commit is contained in:
parent
5214210754
commit
0eea6f9055
1 changed files with 1 additions and 1 deletions
|
@ -140,10 +140,10 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
|||
.where((l) => l == LoginState.loggedIn)
|
||||
.first
|
||||
.then((_) {
|
||||
_loginClientCandidate = null;
|
||||
widget.clients.add(_loginClientCandidate);
|
||||
ClientManager.addClientNameToStore(_loginClientCandidate.clientName);
|
||||
_registerSubs(_loginClientCandidate.clientName);
|
||||
_loginClientCandidate = null;
|
||||
widget.router.currentState.to('/rooms');
|
||||
});
|
||||
return _loginClientCandidate;
|
||||
|
|
Loading…
Reference in a new issue