diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_block_component.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_block_component.dart index 7077352c59..f0af6e77ea 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_block_component.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_block_component.dart @@ -323,8 +323,7 @@ class FileBlockComponentState extends State 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);