diff --git a/packages/neon/neon/lib/src/widgets/drawer.dart b/packages/neon/neon/lib/src/widgets/drawer.dart index 2cf034b4..9e6d458e 100644 --- a/packages/neon/neon/lib/src/widgets/drawer.dart +++ b/packages/neon/neon/lib/src/widgets/drawer.dart @@ -45,8 +45,7 @@ class _NeonDrawer extends StatefulWidget { State<_NeonDrawer> createState() => __NeonDrawerState(); } -class __NeonDrawerState extends State<_NeonDrawer> with SingleTickerProviderStateMixin { - late TabController _tabController; +class __NeonDrawerState extends State<_NeonDrawer> { late AccountsBloc _accountsBloc; late AppsBloc _appsBloc; late List _apps; @@ -62,17 +61,6 @@ class __NeonDrawerState extends State<_NeonDrawer> with SingleTickerProviderStat _apps = widget.apps.toList(); _activeApp = _apps.indexWhere((final app) => app.id == _appsBloc.activeApp.valueOrNull?.id); - - _tabController = TabController( - vsync: this, - length: widget.apps.length, - ); - } - - @override - void dispose() { - _tabController.dispose(); - super.dispose(); } void onAppChange(final int index) {