fix build

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-03-28 08:57:19 +08:00
parent 988d8dc32c
commit 461aa622f8
2 changed files with 4 additions and 4 deletions

View File

@ -506,8 +506,8 @@ _connectDialog(
final peerPassword = peerPasswordController?.text.trim() ?? ''; final peerPassword = peerPasswordController?.text.trim() ?? '';
if (peerPasswordController != null && peerPassword.isEmpty) return; if (peerPasswordController != null && peerPassword.isEmpty) return;
gFFI.login( gFFI.login(
// username, username,
// password, password,
id, id,
peerPassword, peerPassword,
remember, remember,

View File

@ -1635,8 +1635,8 @@ class FFI {
bool remember) { bool remember) {
bind.sessionLogin( bind.sessionLogin(
id: id, id: id,
os_username: osUsername, osUsername: osUsername,
os_password: osPassword, osPassword: osPassword,
password: password, password: password,
remember: remember); remember: remember);
} }