Simplify the check for account configuration

This commit is contained in:
Vishnu Mohandas 2020-11-14 15:18:59 +05:30
parent 18712f03de
commit 5d0060031a

View file

@ -231,6 +231,6 @@ class Configuration {
}
bool hasConfiguredAccount() {
return getToken() != null && getKey() != null;
return getToken() != null && _key != null;
}
}