opt: func

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-07 14:41:25 +08:00
parent 286193f08f
commit dd6ff101d1
63 changed files with 181 additions and 180 deletions

View File

@@ -44,7 +44,7 @@ class PiliScheme {
} else if (RegExp(r'^\S+://').hasMatch(url).not) {
url = 'https://$url';
}
return await routePush(
return routePush(
Uri.parse(url),
selfHandle: selfHandle,
off: off,
@@ -454,7 +454,7 @@ class PiliScheme {
return false;
}
case 'http' || 'https':
return await _fullPathPush(
return _fullPathPush(
uri,
selfHandle: selfHandle,
off: off,