mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
@@ -125,6 +125,7 @@ class _DesktopSettingPageState extends State<DesktopSettingPage>
|
|||||||
scrollController: controller,
|
scrollController: controller,
|
||||||
child: PageView(
|
child: PageView(
|
||||||
controller: controller,
|
controller: controller,
|
||||||
|
physics: NeverScrollableScrollPhysics(),
|
||||||
children: const [
|
children: const [
|
||||||
_General(),
|
_General(),
|
||||||
_Safety(),
|
_Safety(),
|
||||||
|
|||||||
@@ -331,6 +331,7 @@ class DesktopTab extends StatelessWidget {
|
|||||||
return _buildBlock(
|
return _buildBlock(
|
||||||
child: Obx(() => PageView(
|
child: Obx(() => PageView(
|
||||||
controller: state.value.pageController,
|
controller: state.value.pageController,
|
||||||
|
physics: NeverScrollableScrollPhysics(),
|
||||||
children: state.value.tabs
|
children: state.value.tabs
|
||||||
.map((tab) => tab.page)
|
.map((tab) => tab.page)
|
||||||
.toList(growable: false))));
|
.toList(growable: false))));
|
||||||
|
|||||||
Reference in New Issue
Block a user