mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
cold boot uni link mobile
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
@@ -1803,6 +1803,10 @@ Future<bool> initUniLinks() async {
|
||||
if (initialLink == null) {
|
||||
return false;
|
||||
}
|
||||
if (isMobile){
|
||||
handleUriLinkMobile(initialLink);
|
||||
return true;
|
||||
}
|
||||
return handleUriLink(uriString: initialLink);
|
||||
} catch (err) {
|
||||
debugPrintStack(label: "$err");
|
||||
|
||||
@@ -156,6 +156,7 @@ void runMobileApp() async {
|
||||
await Future.wait([gFFI.abModel.loadCache(), gFFI.groupModel.loadCache()]);
|
||||
gFFI.userModel.refreshCurrentUser();
|
||||
runApp(App());
|
||||
await initUniLinks();
|
||||
}
|
||||
|
||||
void runMultiWindow(
|
||||
|
||||
Reference in New Issue
Block a user