handle boot args if initialLink is empty (#7537)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
6e689400b6
commit
cc30f7aa02
@ -1863,7 +1863,8 @@ Future<bool> initUniLinks() async {
|
||||
// check cold boot
|
||||
try {
|
||||
final initialLink = await getInitialLink();
|
||||
if (initialLink == null) {
|
||||
print("initialLink: $initialLink");
|
||||
if (initialLink == null || initialLink.isEmpty) {
|
||||
return false;
|
||||
}
|
||||
return handleUriLink(uriString: initialLink);
|
||||
|
Loading…
Reference in New Issue
Block a user