forked from Nexus/nexus
Verify state on login
This fixes "already logged in errors" if you started logging in before cancelling, and then trying again.
This commit is contained in:
parent
4e208764f5
commit
51430d2830
3 changed files with 17 additions and 7 deletions
|
|
@ -23,10 +23,8 @@ class AuthUrlController extends AsyncNotifier<OAuthAuthCodeResponse> {
|
|||
),
|
||||
);
|
||||
|
||||
static final provider =
|
||||
AsyncNotifierProvider.family<
|
||||
AuthUrlController,
|
||||
OAuthAuthCodeResponse,
|
||||
Uri
|
||||
>(AuthUrlController.new);
|
||||
static final provider = AsyncNotifierProvider.family
|
||||
.autoDispose<AuthUrlController, OAuthAuthCodeResponse, Uri>(
|
||||
AuthUrlController.new,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue