Browse Source

neon: Fix null theme

pull/313/head
jld3103 2 years ago
parent
commit
0caa00b3e2
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      packages/neon/neon/lib/src/blocs/capabilities.dart

2
packages/neon/neon/lib/src/blocs/capabilities.dart

@ -15,7 +15,7 @@ class CapabilitiesBloc extends InteractiveBloc implements CapabilitiesBlocEvents
this._client, this._client,
) { ) {
capabilities.listen((final value) { capabilities.listen((final value) {
themeNotifier.value = value.data!.capabilities.theming; themeNotifier.value = value.data?.capabilities.theming;
}); });
unawaited(refresh()); unawaited(refresh());

Loading…
Cancel
Save