opt.: display server func btns' name

This commit is contained in:
lollipopkit
2023-11-01 00:53:11 -06:00
parent 3d47390bf1
commit a363e97dd4
13 changed files with 138 additions and 36 deletions

View File

@@ -927,10 +927,20 @@ class _SettingPageState extends State<SettingPage> {
}
Widget _buildMoveOutServerFuncBtns() {
return ListTile(
title: Text(l10n.moveOutServerFuncBtns),
subtitle: Text(l10n.moveOutServerFuncBtnsHelp, style: UIs.textSize13Grey),
trailing: StoreSwitch(prop: _setting.moveOutServerTabFuncBtns),
return ExpandTile(
title: Text(l10n.serverFuncBtns),
children: [
ListTile(
title: Text(l10n.location),
subtitle:
Text(l10n.moveOutServerFuncBtnsHelp, style: UIs.textSize13Grey),
trailing: StoreSwitch(prop: _setting.moveOutServerTabFuncBtns),
),
ListTile(
title: Text(l10n.displayName),
trailing: StoreSwitch(prop: _setting.serverFuncBtnsDisplayName),
),
],
);
}