diff --git a/packages/neon/neon/lib/src/app.dart b/packages/neon/neon/lib/src/app.dart index 4018c94d..29e8a5f7 100644 --- a/packages/neon/neon/lib/src/app.dart +++ b/packages/neon/neon/lib/src/app.dart @@ -283,7 +283,7 @@ class _NeonAppState extends State with WidgetsBindingObserver, tray.Tra stream: _accountsBloc.activeAccount, builder: (final context, final activeAccountSnapshot) { FlutterNativeSplash.remove(); - return ResultBuilder.behaviorSubject( + return ResultBuilder.behaviorSubject( stream: activeAccountSnapshot.hasData ? _accountsBloc.getCapabilitiesBlocFor(activeAccountSnapshot.data!).capabilities : null, diff --git a/packages/neon/neon/lib/src/blocs/apps.dart b/packages/neon/neon/lib/src/blocs/apps.dart index 5b40c9b2..bf7cd847 100644 --- a/packages/neon/neon/lib/src/blocs/apps.dart +++ b/packages/neon/neon/lib/src/blocs/apps.dart @@ -190,7 +190,7 @@ class AppsBloc extends InteractiveBloc implements AppsBlocEvents, AppsBlocStates @override Future refresh() async { await RequestManager.instance - .wrapNextcloud, CoreNavigationGetAppsNavigationResponse200ApplicationJson>( + .wrapNextcloud, CoreNavigationGetAppsNavigationResponseApplicationJson>( _account.id, 'apps-apps', apps, diff --git a/packages/neon/neon/lib/src/blocs/capabilities.dart b/packages/neon/neon/lib/src/blocs/capabilities.dart index 9bd04931..e77eeeb0 100644 --- a/packages/neon/neon/lib/src/blocs/capabilities.dart +++ b/packages/neon/neon/lib/src/blocs/capabilities.dart @@ -11,7 +11,7 @@ import 'package:rxdart/rxdart.dart'; abstract class CapabilitiesBlocEvents {} abstract class CapabilitiesBlocStates { - BehaviorSubject> get capabilities; + BehaviorSubject> get capabilities; } @internal @@ -31,13 +31,13 @@ class CapabilitiesBloc extends InteractiveBloc implements CapabilitiesBlocEvents } @override - BehaviorSubject> capabilities = - BehaviorSubject>(); + BehaviorSubject> capabilities = + BehaviorSubject>(); @override Future refresh() async { - await RequestManager.instance.wrapNextcloud( + await RequestManager.instance.wrapNextcloud( _account.id, 'capabilities', capabilities, diff --git a/packages/neon/neon/lib/src/blocs/user_details.dart b/packages/neon/neon/lib/src/blocs/user_details.dart index 1111bfeb..6df57f3c 100644 --- a/packages/neon/neon/lib/src/blocs/user_details.dart +++ b/packages/neon/neon/lib/src/blocs/user_details.dart @@ -37,7 +37,7 @@ class UserDetailsBloc extends InteractiveBloc implements UserDetailsBlocEvents, @override Future refresh() async { await RequestManager.instance - .wrapNextcloud( + .wrapNextcloud( _account.id, 'user-details', userDetails, diff --git a/packages/neon/neon/lib/src/widgets/drawer.dart b/packages/neon/neon/lib/src/widgets/drawer.dart index b6d0f419..367f5e66 100644 --- a/packages/neon/neon/lib/src/widgets/drawer.dart +++ b/packages/neon/neon/lib/src/widgets/drawer.dart @@ -121,7 +121,7 @@ class NeonDrawerHeader extends StatelessWidget { final accountsBloc = Provider.of(context, listen: false); final capabilitiesBloc = accountsBloc.activeCapabilitiesBloc; - final branding = ResultBuilder.behaviorSubject( + final branding = ResultBuilder.behaviorSubject( stream: capabilitiesBloc.capabilities, builder: (final context, final capabilities) { if (!capabilities.hasData) {