fix(metadata): restore cover artwork autofill

This commit is contained in:
zarzet committed 2026-09-26 11:45:45 +07:00
1 parent 725e1ccbeb
commit 0f5439e22a
3 files changed
+275 -14

No files matched your search

+6 -4
View File
@@ -1065,10 +1065,12 @@ class PlatformBridge {
String outputPath, {
int maxDimension = 0,
}) {
return _invokeMap('downloadCoverToFile', {
'cover_url': coverUrl,
'output_path': outputPath,
'max_dimension': maxDimension,
return _withMediaFileAccess([outputPath], () {
return _invokeMap('downloadCoverToFile', {
'cover_url': coverUrl,
'output_path': outputPath,
'max_dimension': maxDimension,
});
});
}