diff --git a/lib/pages/home/home.dart b/lib/pages/home/home.dart index 7f01284..c9ce74d 100644 --- a/lib/pages/home/home.dart +++ b/lib/pages/home/home.dart @@ -36,22 +36,19 @@ class _HomeState extends State with SingleTickerProviderStateMixin { @override Widget build(BuildContext context) { return Scaffold( - body: DefaultTabController( - length: 5, - child: TabBarView( - physics: const BouncingScrollPhysics(), - controller: _tabController, - children: [ - const News(), - const Statictics(), - ChangeNotifierProvider( - create: (context) => RadarState(), - child: const Radar(), - ), - const Studio(), - const Profile(), - ], - ), + body: TabBarView( + physics: const NeverScrollableScrollPhysics(), + controller: _tabController, + children: [ + const News(), + const Statictics(), + ChangeNotifierProvider( + create: (context) => RadarState(), + child: const Radar(), + ), + const Studio(), + const Profile(), + ], ), bottomNavigationBar: Consumer( builder: (context, state, child) => DidvanBNB(