mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Make code more consistent
This commit is contained in:
parent
6598515c29
commit
712ed850fe
2 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ class AccountController {
|
|||
_account = account;
|
||||
_collectionsController?.dispose();
|
||||
_collectionsController = null;
|
||||
_serverController?.dispose();
|
||||
_serverController = null;
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@ class ServerController {
|
|||
required this.account,
|
||||
});
|
||||
|
||||
void dispose() {}
|
||||
|
||||
ValueStream<ServerStatus> get status {
|
||||
if (!_statusStreamContorller.hasValue) {
|
||||
unawaited(_load());
|
||||
|
|
Loading…
Reference in a new issue