fix: port forward & RDP check

This commit is contained in:
Kingtous
2023-05-15 00:18:40 +08:00
parent 6af19262e8
commit 56f1b75b52
6 changed files with 25 additions and 9 deletions

View File

@@ -49,7 +49,10 @@ class _PortForwardPageState extends State<PortForwardPage>
void initState() {
super.initState();
_ffi = FFI();
_ffi.start(widget.id, isPortForward: true, forceRelay: widget.forceRelay);
_ffi.start(widget.id,
isPortForward: true,
forceRelay: widget.forceRelay,
isRdp: widget.isRDP);
Get.put(_ffi, tag: 'pf_${widget.id}');
if (!Platform.isLinux) {
Wakelock.enable();