diff --git a/packages/neon/neon/lib/src/blocs/capabilities.dart b/packages/neon/neon/lib/src/blocs/capabilities.dart index de91d45c..32fa1767 100644 --- a/packages/neon/neon/lib/src/blocs/capabilities.dart +++ b/packages/neon/neon/lib/src/blocs/capabilities.dart @@ -15,7 +15,7 @@ class CapabilitiesBloc extends InteractiveBloc implements CapabilitiesBlocEvents this._client, ) { capabilities.listen((final value) { - themeNotifier.value = value.data!.capabilities.theming; + themeNotifier.value = value.data?.capabilities.theming; }); unawaited(refresh());