shared address book (#7229)

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2024-03-20 15:05:54 +08:00
committed by GitHub
parent ecb70b43df
commit 41da6d552f
73 changed files with 4714 additions and 866 deletions

View File

@@ -355,10 +355,8 @@ class FfiModel with ChangeNotifier {
final id = evt['id'];
final password = evt['password'];
if (id != null && password != null) {
if (gFFI.abModel
.changePassword(id.toString(), password.toString())) {
gFFI.abModel.pushAb(toastIfFail: false, toastIfSucc: false);
}
gFFI.abModel
.changePersonalHashPassword(id.toString(), password.toString());
}
}
} else if (name == "cm_file_transfer_log") {
@@ -2179,6 +2177,7 @@ class FFI {
bool isRdp = false,
String? switchUuid,
String? password,
bool? isSharedPassword,
bool? forceRelay,
int? tabWindowId,
int? display,
@@ -2212,6 +2211,7 @@ class FFI {
switchUuid: switchUuid ?? '',
forceRelay: forceRelay ?? false,
password: password ?? '',
isSharedPassword: isSharedPassword ?? false,
);
} else if (display != null) {
if (displays == null) {