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
@@ -1,4 +1,4 @@
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:hooks_riverpod/legacy.dart';
|
||||
|
||||
import '../../../common/domain/metal_type.dart';
|
||||
import '../data/profile_models.dart';
|
||||
|
||||
@@ -18,11 +18,11 @@ class ProfilePage extends ConsumerWidget {
|
||||
final settings = ref.watch(profileSettingsControllerProvider);
|
||||
final auth = ref.watch(authProvider);
|
||||
final cs = ShadTheme.of(context).colorScheme;
|
||||
final loggedIn = auth.valueOrNull is LoggedInAuthState;
|
||||
final loggedIn = auth.value is LoggedInAuthState;
|
||||
final authLoading = auth.isLoading;
|
||||
final authFailed = auth.hasError;
|
||||
final currentUser = auth.valueOrNull is LoggedInAuthState
|
||||
? (auth.valueOrNull as LoggedInAuthState).user
|
||||
final currentUser = auth.value is LoggedInAuthState
|
||||
? (auth.value as LoggedInAuthState).user
|
||||
: null;
|
||||
|
||||
return SafeArea(
|
||||
|
||||
Reference in new issue
Block a user