diff --git a/lib/views/group_screen.dart b/lib/views/group_screen.dart index f5649a44..5b62a19e 100644 --- a/lib/views/group_screen.dart +++ b/lib/views/group_screen.dart @@ -233,7 +233,7 @@ class _GroupScreenState extends State controller: tabController, onTap: (index) { setState(() { - tabControllerStorage.tabIndex = index; + tabControllerStorage.setIndex = index; }); }, ), @@ -514,7 +514,7 @@ class TabControllerStorage { static int _tabIndex = 0; int get tabIndex => _tabIndex; - set tabIndex(int index) { + set setIndex(int index) { _tabIndex = index; }