🐛 Fix desktop panic when download things
This commit is contained in:
parent
8283272a3b
commit
0b2309816f
@ -70,7 +70,7 @@ class _AttachmentFullScreenState extends State<AttachmentFullScreen> {
|
||||
'/attachments/${widget.item.id}',
|
||||
);
|
||||
|
||||
if (PlatformInfo.isWeb) {
|
||||
if (PlatformInfo.isWeb || PlatformInfo.isDesktop) {
|
||||
await launchUrlString(url);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user