mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-13 08:41:40 +08:00
fix: linux link issue
This commit is contained in:
@@ -38,6 +38,11 @@ Future<bool> afLaunchUri(
|
||||
);
|
||||
}
|
||||
|
||||
// on Linux, add http scheme to the url if it is not present
|
||||
if (isURL(url, {'require_protocol': true})) {
|
||||
uri = Uri.parse('https://$url');
|
||||
}
|
||||
|
||||
// try to launch the uri directly
|
||||
bool result;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user