update setting page, add option enable-rdp

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-09-08 21:40:43 +08:00
parent f5dba0f7aa
commit 302a43d68c
29 changed files with 956 additions and 420 deletions

View File

@@ -282,8 +282,8 @@ class _PortForwardPageState extends State<PortForwardPage>
}
buildRdp(BuildContext context) {
text1(String lable) =>
Expanded(child: Text(lable).marginOnly(left: _kTextLeftMargin));
text1(String lable) => Expanded(
child: Text(translate(lable)).marginOnly(left: _kTextLeftMargin));
text2(String lable) => Expanded(
child: Text(
lable,