mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 03:28:03 +00:00
update setting page, add option enable-rdp
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -428,8 +428,12 @@ class _ConnectionPageState extends State<ConnectionPage> {
|
||||
light,
|
||||
Text(translate("Service is not running")),
|
||||
TextButton(
|
||||
onPressed: () =>
|
||||
bind.mainSetOption(key: "stop-service", value: ""),
|
||||
onPressed: () async {
|
||||
bool checked = await bind.mainCheckSuperUserPermission();
|
||||
if (checked) {
|
||||
bind.mainSetOption(key: "stop-service", value: "");
|
||||
}
|
||||
},
|
||||
child: Text(translate("Start Service")))
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user