mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-09-19 05:27:31 +00:00
fix: macOS error 50 on uploading files (#6853)
This commit is contained in:
parent
f013bb9d6e
commit
2ad2a79bd0
@ -323,8 +323,7 @@ class FileBlockComponentState extends State<FileBlockComponent>
|
||||
FileUrlType urlType,
|
||||
String url,
|
||||
) async {
|
||||
if ([FileUrlType.cloud, FileUrlType.network].contains(urlType) ||
|
||||
UniversalPlatform.isDesktopOrWeb) {
|
||||
if ([FileUrlType.cloud, FileUrlType.network].contains(urlType)) {
|
||||
await afLaunchUrlString(url);
|
||||
} else {
|
||||
final result = await OpenFilex.open(url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user