diff --git a/packages/neon/lib/src/pages/login/login.dart b/packages/neon/lib/src/pages/login/login.dart index f864f33b..fd558de6 100644 --- a/packages/neon/lib/src/pages/login/login.dart +++ b/packages/neon/lib/src/pages/login/login.dart @@ -50,7 +50,11 @@ class _LoginPageState extends State { serverURL: result.server!, username: result.loginName!, appPassword: result.appPassword!, - ); + )..setupClient(await PackageInfo.fromPlatform()); + + if (!mounted) { + return; + } final accountsBloc = RxBlocProvider.of(context); if (widget.serverURL != null) {