Update login_page.dart

This commit is contained in:
jyuesong
2022-01-24 14:59:35 +08:00
parent d0ee140a44
commit 490bc0f597

View File

@@ -371,7 +371,9 @@ class _LoginPageState extends ConsumerState<LoginPage> {
), ),
Positioned( Positioned(
bottom: 10, bottom: 10,
child: SizedBox( child: (getIt<UserInfoViewModel>().historyAccounts.isEmpty)
? const SizedBox.shrink()
: SizedBox(
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
child: Center( child: Center(
child: Material( child: Material(