new: setting of doubleColumn on Desktop
This commit is contained in:
@@ -204,6 +204,7 @@ class _SettingPageState extends State<SettingPage> {
|
||||
_buildMaxRetry(),
|
||||
_buildDiskIgnorePath(),
|
||||
_buildDeleteServers(),
|
||||
if (isDesktop) _buildDoubleColumnServersPage(),
|
||||
].map((e) => RoundRectCard(e)).toList(),
|
||||
);
|
||||
}
|
||||
@@ -1057,4 +1058,11 @@ class _SettingPageState extends State<SettingPage> {
|
||||
trailing: buildSwitch(context, _setting.sftpRmrfDir),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildDoubleColumnServersPage() {
|
||||
return ListTile(
|
||||
title: Text(_s.doubleColumnMode),
|
||||
trailing: buildSwitch(context, _setting.doubleColumnServersPage),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user