From 0caa00b3e212d3bfebbc6faee92b2c382684fb1b Mon Sep 17 00:00:00 2001 From: jld3103 Date: Fri, 12 May 2023 16:45:26 +0200 Subject: [PATCH] neon: Fix null theme --- packages/neon/neon/lib/src/blocs/capabilities.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());