Fixed accountData state not being populated when not logged in

This commit is contained in:
2023-06-13 22:26:39 +02:00
parent 222321de4e
commit 1c6d062f2d
4 changed files with 11 additions and 16 deletions

View File

@ -58,8 +58,8 @@ class AccountData {
if(storage.containsKey(_usernameField) && storage.containsKey(_passwordField)) {
_username = storage.getString(_usernameField);
_password = storage.getString(_passwordField);
_populated.complete();
}
_populated.complete();
}
Future<bool> waitForPopulation() async {