mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-21 15:07:13 +00:00
fix web and multi platform adaptation
This commit is contained in:
1 parent
98d8689d7b
commit
8736d37605
7 files changed
+53
-28
No files matched your search
@@ -1,7 +1,6 @@
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_hbb/models/native_model.dart';
|
||||
import '../common.dart';
|
||||
import '../pages/server_page.dart';
|
||||
import 'model.dart';
|
||||
@@ -71,7 +70,7 @@ class ServerModel with ChangeNotifier {
|
||||
|
||||
toggleInput(){
|
||||
if(_inputOk){
|
||||
PlatformFFI.invokeMethod("stop_input");
|
||||
FFI.invokeMethod("stop_input");
|
||||
}else{
|
||||
showInputWarnAlert();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user