ctrl+v
This commit is contained in:
parent
46e239dabe
commit
0704cc8ee4
@ -49,7 +49,7 @@ class _HomePageState extends State<HomePage> {
|
||||
position: RelativeRect.fromLTRB(3000, 70, 3000, 70),
|
||||
items: [
|
||||
PopupMenuItem<String>(
|
||||
child: Text(translate('ID/Relay Server')),
|
||||
child: Text(translate('ID Server')),
|
||||
value: 'server'),
|
||||
PopupMenuItem<String>(
|
||||
child: Text(translate('About') + ' RustDesk'),
|
||||
@ -266,7 +266,7 @@ void showServer(BuildContext context) {
|
||||
showAlertDialog(
|
||||
context,
|
||||
(setState) => Tuple3(
|
||||
Text(translate('ID/Relay Server')),
|
||||
Text(translate('ID Server')),
|
||||
Form(
|
||||
key: formKey,
|
||||
child:
|
||||
@ -281,6 +281,7 @@ void showServer(BuildContext context) {
|
||||
id = value.trim();
|
||||
},
|
||||
),
|
||||
/*
|
||||
TextFormField(
|
||||
initialValue: relay0,
|
||||
decoration: InputDecoration(
|
||||
@ -291,6 +292,7 @@ void showServer(BuildContext context) {
|
||||
relay = value.trim();
|
||||
},
|
||||
),
|
||||
*/
|
||||
TextFormField(
|
||||
initialValue: key0,
|
||||
decoration: InputDecoration(
|
||||
|
@ -490,6 +490,14 @@ class _RemotePageState extends State<RemotePage> {
|
||||
);
|
||||
FFI.ctrl = old;
|
||||
}),
|
||||
wrap('Ctrl+V', () {
|
||||
var old = FFI.ctrl;
|
||||
FFI.ctrl = true;
|
||||
FFI.inputKey(
|
||||
'VK_V',
|
||||
);
|
||||
FFI.ctrl = old;
|
||||
}),
|
||||
wrap('Ctrl+S', () {
|
||||
var old = FFI.ctrl;
|
||||
FFI.ctrl = true;
|
||||
@ -867,8 +875,7 @@ void showSetOSPassword(BuildContext context, bool login) {
|
||||
'{"name": "os-password", "value": "${text}"}');
|
||||
FFI.setByName('peer_option',
|
||||
'{"name": "auto-login", "value": "${autoLogin ? 'Y' : ''}"}');
|
||||
print(text);
|
||||
if (text != "") {
|
||||
if (text != "" && login) {
|
||||
FFI.setByName('input_os_password', text);
|
||||
}
|
||||
Navigator.pop(context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user