changed api endpoints to refilc api

This commit is contained in:
Kima
2023-05-28 17:32:38 +02:00
parent ebdac408b0
commit e75112b043
2 changed files with 8 additions and 6 deletions

View File

@@ -285,10 +285,11 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
.clamp(-1.0, 1.0);
} else if (notification is ScrollEndNotification) {
_tabController.index = _pageController.page!.round();
if (!_tabController.indexIsChanging)
if (!_tabController.indexIsChanging) {
_tabController.offset =
(_pageController.page! - _tabController.index)
.clamp(-1.0, 1.0);
}
}
return false;
},