Browse Source

neon: Fix adding another account

pull/53/head
jld3103 2 years ago
parent
commit
d336beb04c
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 6
      packages/neon/lib/src/pages/login/login.dart

6
packages/neon/lib/src/pages/login/login.dart

@ -50,7 +50,11 @@ class _LoginPageState extends State<LoginPage> {
serverURL: result.server!,
username: result.loginName!,
appPassword: result.appPassword!,
);
)..setupClient(await PackageInfo.fromPlatform());
if (!mounted) {
return;
}
final accountsBloc = RxBlocProvider.of<AccountsBloc>(context);
if (widget.serverURL != null) {

Loading…
Cancel
Save