#94 new: option of moving out server func btns

This commit is contained in:
lollipopkit
2023-08-20 19:07:20 +08:00
parent a59286473f
commit 46cc363413
17 changed files with 245 additions and 143 deletions

View File

@@ -169,6 +169,7 @@ class _SettingPageState extends State<SettingPage> {
Widget _buildServer() {
return Column(
children: [
_buildMoveOutServerFuncBtns(),
_buildNetViewType(),
_buildUpdateInterval(),
_buildMaxRetry(),
@@ -969,4 +970,12 @@ class _SettingPageState extends State<SettingPage> {
},
);
}
Widget _buildMoveOutServerFuncBtns() {
return ListTile(
title: Text(_s.moveOutServerFuncBtns),
subtitle: Text(_s.moveOutServerFuncBtnsHelp, style: textSize13Grey),
trailing: buildSwitch(context, _setting.moveOutServerTabFuncBtns),
);
}
}