add password handling in uni links handler
Signed-off-by: unglazed <130832733+unglazed@users.noreply.github.com>
This commit is contained in:
parent
573417dc17
commit
ca97065eb6
@ -1599,8 +1599,9 @@ bool callUniLinksUriHandler(Uri uri) {
|
|||||||
final peerId = uri.path.substring("/new/".length);
|
final peerId = uri.path.substring("/new/".length);
|
||||||
var param = uri.queryParameters;
|
var param = uri.queryParameters;
|
||||||
String? switch_uuid = param["switch_uuid"];
|
String? switch_uuid = param["switch_uuid"];
|
||||||
|
String? password = param["password"];
|
||||||
Future.delayed(Duration.zero, () {
|
Future.delayed(Duration.zero, () {
|
||||||
rustDeskWinManager.newRemoteDesktop(peerId, switch_uuid: switch_uuid);
|
rustDeskWinManager.newRemoteDesktop(peerId, password: password, switch_uuid: switch_uuid);
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user