remove is_rdp_service_open judgement for option share rdp (#7257)

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2024-02-25 20:09:30 +08:00
committed by GitHub
parent 4c8c2aa323
commit b511a52e09
6 changed files with 7 additions and 21 deletions

View File

@@ -318,7 +318,7 @@ class MyIdMenu: Reactor.Component {
<li #socks5-server>{translate('Socks5 Proxy')}</li>
<div .separator />
<li #stop-service class={service_stopped ? "line-through" : "selected"}><span>{svg_checkmark}</span>{translate("Enable service")}</li>
{handler.is_rdp_service_open() ? <ShareRdp /> : ""}
{is_win && handler.is_installed() ? <ShareRdp /> : ""}
<DirectServer />
{false && handler.using_public_server() && <li #allow-always-relay><span>{svg_checkmark}</span>{translate('Always connect via relay')}</li>}
{handler.is_ok_change_id() ? <div .separator /> : ""}