From ac453d5485a01d4d9f11a55bc7e7c6b32d1dbb8c Mon Sep 17 00:00:00 2001 From: rhunk <101876869+rhunk@users.noreply.github.com> Date: Fri, 23 Aug 2024 16:04:54 +0200 Subject: [PATCH] fix(composer): opera download button --- composer/src/main/ts/modules/operaDownloadButton.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/composer/src/main/ts/modules/operaDownloadButton.ts b/composer/src/main/ts/modules/operaDownloadButton.ts index 697cd966..ba6f94dc 100644 --- a/composer/src/main/ts/modules/operaDownloadButton.ts +++ b/composer/src/main/ts/modules/operaDownloadButton.ts @@ -20,10 +20,8 @@ export default defineModule({ marginTop: 4, marginLeft: 8, marginRight: 12, - objectFit: "contain", - tint: "white" })) - jsx.setAttribute("src", assetCatalog.loadCatalog("share_sheet/res").downloadIcon) + jsx.setAttribute("src", assetCatalog.loadCatalog("share_sheet/res").download) jsx.setAttributeFunction("onTap", () => downloadLastOperaMedia(false)) jsx.setAttributeFunction("onLongPress", () => downloadLastOperaMedia(true)) jsx.endRender()