👽 Support use realm alias instead of id
This commit is contained in:
@ -38,7 +38,7 @@ class _AttachmentAttrEditorDialogState
|
||||
isMature: _isMature,
|
||||
);
|
||||
|
||||
Get.find<AttachmentProvider>().clearCache(id: widget.item.id);
|
||||
Get.find<AttachmentProvider>().clearCache(id: widget.item.rid);
|
||||
|
||||
setState(() => _isBusy = false);
|
||||
return Attachment.fromJson(resp.body);
|
||||
|
@ -70,7 +70,6 @@ class _AttachmentFullScreenState extends State<AttachmentFullScreen> {
|
||||
'/attachments/${widget.item.rid}',
|
||||
);
|
||||
|
||||
print(url);
|
||||
if (PlatformInfo.isWeb || PlatformInfo.isDesktop) {
|
||||
await launchUrlString(url);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user