Browse Source

neon: Supress error when setting null active app

pull/378/head
jld3103 1 year ago
parent
commit
db2d61f0c4
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      packages/neon/neon/lib/src/blocs/apps.dart

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

@ -133,7 +133,7 @@ class AppsBloc extends InteractiveBloc implements AppsBlocEvents, AppsBlocStates
}
} else if (appID == 'notifications') {
openNotifications.add(null);
} else {
} else if (appID != null) {
throw Exception('App $appID not found');
}
}

Loading…
Cancel
Save