Browse Source

neon: Only show reload button during login when server is already set

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

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

@ -141,11 +141,13 @@ class _LoginPageState extends State<LoginPage> {
icon: const Icon(Icons.arrow_back),
),
actions: [
if (serverConnectionStateSnapshot.data != null) ...[
IconButton(
onPressed: _loginBloc.refresh,
icon: const Icon(Icons.refresh),
),
],
],
)
: null,
body: serverConnectionStateSnapshot.data == ServerConnectionState.success

Loading…
Cancel
Save