fix:升级 Flutter 3.44.9级相关插件
This commit is contained in:
1 parent
d364c6d908
commit
a1819348d5
26 files changed
+305
-318
No files matched your search
@@ -84,8 +84,8 @@ class _MallWebHostState extends ConsumerState<MallWebHost>
|
||||
next.whenData(_callH5Handler);
|
||||
});
|
||||
ref.listenManual<AsyncValue<AuthState>>(authProvider, (previous, next) {
|
||||
final previousAuth = previous?.valueOrNull;
|
||||
final nextAuth = next.valueOrNull;
|
||||
final previousAuth = previous?.value;
|
||||
final nextAuth = next.value;
|
||||
final wasLogged = previousAuth is LoggedInAuthState;
|
||||
final logged = nextAuth is LoggedInAuthState;
|
||||
final tokenChanged =
|
||||
@@ -550,8 +550,7 @@ class _MallWebHostState extends ConsumerState<MallWebHost>
|
||||
}
|
||||
}
|
||||
|
||||
bool get _isLoggedIn =>
|
||||
ref.read(authProvider).valueOrNull is LoggedInAuthState;
|
||||
bool get _isLoggedIn => ref.read(authProvider).value is LoggedInAuthState;
|
||||
|
||||
Future<void> _notifyH5LoggedOut() async {
|
||||
_isHandlingLoginRequest = false;
|
||||
|
||||
Reference in new issue
Block a user